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

LPC24XX UART2 Reference Code

Hello Friends,

I am using LPC2468 and I want to use UART2 in my application. Can anybody please give me Reference code link please.

Parents
  • 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.

Reply
  • 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.

Children
  • 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.