setting details for LPC23xx UART port 0

Status
Not open for further replies.

rituparnasaikia

Member level 3
Joined
Feb 1, 2006
Messages
57
Helped
3
Reputation
6
Reaction score
0
Trophy points
1,286
Location
Bangalore, India
Activity points
1,696
LPC23xx

Can any one send me the setting detail for LPC23xx UART port 0 for

Baud Rate : 57600
Parity : E
Data Bit : 8
Stop Bit : 2
Flow Control : None
 

LPC23xx

PINSEL0 |= 0x00000050;
U0LCR = 0x9F;
Fdiv = ( Fpclk / 16 ) / Baudrate;
U0DLL = Fdiv % 256;
U0DLM = Fdiv / 256;
U0FDR = 0x00;
U0LCR = 0x03;
U0FCR = 0x07;

Added after 33 seconds:

The above setting works fine with buffer enebled
 

Re: LPC23xx


Can anyone please give me Reference code link please.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…