Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

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

Can anyone please give me Reference code link please.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top