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 LPC2148

Hello

I'm using ARM LPC2148. I want to use UART0 of ARM controller.
Our 8051 provides UART with 4 modes viz Mode0,Mode1,Mode2 & Mode3.
Preferably we use Mode1 for Serial transmission. We use Mode0 which
transfers data (in mode0 clock & data are generated by controller itself & clock is generated
@ a frequency of 1MHz) for handling other peripherals (& not serial communication).

LPC2148 has 2 UARTs,UART0 has MODE0 & MODE1, but could any body explain me whether the
MODE0 of LP2148 is same as any 8051 uController.

Regards,
Pratibha

Parents
  • If i remember correctly, the 8051 MODES reflect different configurations of the UART like 8/9 bit data and 1/2 stop bits etc.

    In ARM everything is customizable, you'll have to downloads something called a USER MANUAL(.pdf) for your LPC from nxp.com. It has a UART section which will show you what'll registers to modify to get the UART configured for your requirements.

    Hope that helps.

    Oh and UART in ARM is slightly more complex than UART in 8051, but once you start using it, you'll appreciate it all the same.

    Am i right to assume you are a final year engg student just trying our hand on ARM for a project? :)

    Akshat

Reply
  • If i remember correctly, the 8051 MODES reflect different configurations of the UART like 8/9 bit data and 1/2 stop bits etc.

    In ARM everything is customizable, you'll have to downloads something called a USER MANUAL(.pdf) for your LPC from nxp.com. It has a UART section which will show you what'll registers to modify to get the UART configured for your requirements.

    Hope that helps.

    Oh and UART in ARM is slightly more complex than UART in 8051, but once you start using it, you'll appreciate it all the same.

    Am i right to assume you are a final year engg student just trying our hand on ARM for a project? :)

    Akshat

Children
No data