Hello Friends,
I am using LPC2468 and I want to use UART2 in my application. Can anybody please give me Reference code link please.
So what do you think differ compared to using UART1?
I have no Idea how to Write Routine So If I have no Issue with UART1.
So if you have no isssue with UART1, it should be trivial to make a copy and modify for use with UART2. If you have no idea how to do that, it may indicate a need to visit some coding course.
A very cursory examination of the user manual for the processor (you have downloaded it, haven't you?) would quickly show you the namings of the relevant registers for UART1, UART2, ...
Oh dear Per. It appears your responses are becoming increasingly obtuse. So sad. they were once answers to be respected.
But what is the correct answer? What is actually the difference between using the UART2 serial port instead of the UART1 serial port? Because reference code for UART1 is so very easy to locate.
There are extremely tiny differences between the serial ports on the LPC24xx. And the UARTS looks the same as they do int he LPC23xx. And _almost_ the same as in LPC17xx. A very quick scan of the user manuals will show that the text describing UART1 is almost the same as the text describing UART2, UART3 or UART4.
So the open issue then - should people on this forum spend the time to replace register names in reference code for UART1? Or is there a reason for people who do need the UART2 to spend some time looking at the code they already have for UART1?
I don't mind helping people, by explaining things. But I do mind very much when people don't first spend some own time. I'm not a "rent-a-coder-for-free". And don't think too many others on this - or other - forums wants to be that either.
And nor, I suspect, is anyone else who regularly posts on this forum.
There is nothing forcing you to answer each and every question. Remember your posts of time gone by where you always stood a little distance away from confrontation and provided the voice of authority, good sense and stability. For me, those were the ones I prefer to remember you by.
Dear Per,
Thanks For your Reply. If I have UART 1 code then I never raised this question.
And really Your post is very touchy You should register on every forum and paste same answer on post where people asking for such help.
I never mind in replying or solving issues once I'm confident in this UART. I'll help all and give them code for FREE . Sharing is caring and I'm really thankful to everyone who has solved so many problems via this forum.
Your posts doesn't contain any information what code or documentation you have, or don't have.
And no information what you have done, to find any code or documentation.
Have you tried the daring experiment of writing "NXP LPC24xx code bundle" in Google? And just as stuck trying to Google "nxp lpc2468 uart code"?
Or might you have tried the "Download" link at top of this page, and then taken a chance on "File Download Area" followed by "ARM" and then checked if possibly "Interrupt-Driven UART I/O for Philips LPC23xx" could be of help?
For polled use, you could even look at your hard drive among the examples installed with Keil uVision.