Discussion group dedicated to the Philips LPC2000 family of ARM MCUs
|
i am trying to dump some data onto the serial port.(uart 0)
i have configured all the registers mentioned in the data sheet. still there is not a single byte of data on the serial port the reg values that i have configured b4 writing to UART0_THR are UART0_FCR |= 0X07; //fifo
UART0_LCR = 0X83; //line control reg - 8data bits, no parity,1stop bit UART0_IER = 0X05; UART0_DLL = 0X41; // for a baud of 9600
UART0_DLM = 0X00; GPIO_IODIR |= 0xfffffff0; GPIO_IOCLR |= 0xff00; PCB_PINSEL0 |= 0x5; /*select 0.0 as txd of uart0 PCB_PINSEL0 &= 0xfffffff5;
Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.
Download now. |
|
|
|
I ran across http://www.lpc2100.com today. Looks to be a touch out of date, but something worth bookmarking. --jc |
|
|
|
Has been updated but still needs more work. Cheers, Bob --- In , "J.C. Wren" <jcwren@j...> wrote: > I ran across http://www.lpc2100.com today. Looks to be a touch out of date, > but something worth bookmarking. > > --jc |