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 of AT89C51 is not working ?

I am using Keil uv2 to program my AT89C51 and although the UART is working just fine in Simulation but in real circuit its not working i donno why .... cuz there are just ASCII code in the Hyper term but it was suppose to be "Hello to MCU " so could any one plese help me ..... any help is appreciable well my id is sirfrajput@hotmail.com

Parents
  • Well i know that i cannot communicate MCU without MAX232, and i have little knowledge about the MCUs cuz i have built one AT89C4051 with successful UART . but dont know the problem .. well as its my own created circuit so there might be problem and one thing that where do i send the Schimitics ?

    and there is a garbage on the Hyper terminal....
    and one more problem is that when ever i give power to my circuit all the LED's connected to my MCu are ON but they might have to be OFF cuz i have programmed them to be OFF until communication over UART .........
    ant Garbage is comming when ever u RST the MCU.

Reply
  • Well i know that i cannot communicate MCU without MAX232, and i have little knowledge about the MCUs cuz i have built one AT89C4051 with successful UART . but dont know the problem .. well as its my own created circuit so there might be problem and one thing that where do i send the Schimitics ?

    and there is a garbage on the Hyper terminal....
    and one more problem is that when ever i give power to my circuit all the LED's connected to my MCu are ON but they might have to be OFF cuz i have programmed them to be OFF until communication over UART .........
    ant Garbage is comming when ever u RST the MCU.

Children