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

AT89C51ED2 UART not work?

I downloaded AT89C51ED2 UART source code from ATMEL web.
when I connected from PC COM1 to AT89C51ED2 and sended a byte data, it sended a wrong byte data back.

Have some solutions about this @@?

Parents
  • PCON?
    It is not setting in source code.
    Should I set it a value?

    the other end....
    I use PC COM1 with
    Windows hyperTerminal
    (C:\Program Files\Windows NT\hypertrm.exe)

    the setting is 9600 / 8 / N / 1 / N(flow control?)

    PS. I use the windowsXP which is Non-English version.
    so, I am not sure it is "flow control".

    Regasrd.

Reply
  • PCON?
    It is not setting in source code.
    Should I set it a value?

    the other end....
    I use PC COM1 with
    Windows hyperTerminal
    (C:\Program Files\Windows NT\hypertrm.exe)

    the setting is 9600 / 8 / N / 1 / N(flow control?)

    PS. I use the windowsXP which is Non-English version.
    so, I am not sure it is "flow control".

    Regasrd.

Children
No data