This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Uart using mode 3

Hellow

I have a project now, using Atmel's AT89C51RE2 as MCU.
I've already checked each UART(UART0, UART1) worked alone in mode 1, but I need 2 uarts works simultaneously.
I heard for both uarts working, each uart configuration has different baud rate, and different mode, is it correct?
anyway, I tried to make uart work in mode 3, but I failed.
Could you give me any advice ?? (or eg?)

thank you.

Parents
  • but, if both two uarts(uart0/uart1) operate, it happens that uart1 is dead.
    say again, after power on the board before using uart0, uart1 seems to be working good, but once I using uart0 with hyper-terminal program, uart1 doesn't work any more.

    nothing to do with UART mode
    if you follow the direction above "Place source code source code between ....." that is properly formatted and commented it is likely that someone will point you in the right direction.

    Erik

Reply
  • but, if both two uarts(uart0/uart1) operate, it happens that uart1 is dead.
    say again, after power on the board before using uart0, uart1 seems to be working good, but once I using uart0 with hyper-terminal program, uart1 doesn't work any more.

    nothing to do with UART mode
    if you follow the direction above "Place source code source code between ....." that is properly formatted and commented it is likely that someone will point you in the right direction.

    Erik

Children
No data