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

UART0 of LPC2468 giving garbage data

Hi everyone! I am using LPC2468 microcontroller for my project. I am serially programming via MAX3232 with UART0. Also I have to see log messages on PC via serial port and for that I am using UART0 only. But the Comport Tool kit(software which I use to view log messages on PC) window shows garbage values..

I checked that the baud rates are matching or not but they were matching.. (115200)... So my doubt is can I use UART0 for both ISP purpose and for Log message viewing..? Also, do I need to take out the ISP jumper while UART0 is not programming but dealing with log messages..? (ISP jumper is used for giving a low level to ISP oin of uC so that it comes to know that now program is being loaded... )

Parents
  • Yes, UART0 can be used for both.

    It's only when the processor boots that it samples your jumper to figure out if it should stay in the ISP-capable boot loader, or start your program.

    Are you _really_ sure you have correct baudrate?
    Have you used an oscilloscope and checked length of bits sent out from both sides?

Reply
  • Yes, UART0 can be used for both.

    It's only when the processor boots that it samples your jumper to figure out if it should stay in the ISP-capable boot loader, or start your program.

    Are you _really_ sure you have correct baudrate?
    Have you used an oscilloscope and checked length of bits sent out from both sides?

Children