We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all I am using MCB2300 development kit ,on this kit i have two UART 0 and 1 where i have uart0 as working but my uart 1,2,3 is not responding ...i dont know y ...??. i just copied the uart0 function and used to initialized other uart 1,2,3 but failed to send any data out ...can any one tel me wts the problem...
Please read the posting instructions for code - available just about the textbox where you enter your message.
In your first post, UART0 worked but not UART1 .. 3.
In your next post, UART0 and UART1 works, but not UART2 or UART3.
Is it intentional that only UART0 is interrupt-driven? It isn't too fun to poll several serial ports, unless you use very low baudrates.
You have noted that UART1 is different from UART0, 2 and 3, since it has modem interface lines.
Have you verified the contents of the TER register? Without transmit enable, no data will be sent.
"Please read the posting instructions for code - available just about (sic) the textbox where you enter your message."
That should read, "...just above the textbox..."
but it shouldn't need to be pointed out at all - it is really quite clear!
To get anywhere as a programmer - especially an embedded programmer - you need to learn to read documentation carefully, and pay attention to details like these...!
"you need to learn to read documentation carefully, and pay attention to details like these...!"
That is to say, "The OP needs to learn..."
I think I have too much to do at work right now. Too many strange posts - I really can't see where the "about" came from...
To get working UART2 and USERt3 on LPC you need to turn on the power for the UART2 and 3 in the PCON register. They are off by default for UART2/3.
Regards
Suvidh
hi Suvidh
thanks for the information ....yes they are off by default ....
Yes, that is an interesting point - especially since in one post the UART1 works, and on one post UART1 doesn't work.