UART baudate selection in the LPCOPEN

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART baudate selection in the LPCOPEN

321 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dizgah on Mon May 02 00:30:34 MST 2016
whats differences between 2 below functions?
Chip_Clock_SetUSARTNBaseClockRate((115200 * 16), true);
Chip_UART_SetBaud(LPC_USART1, 115200);

As i know second is for setting baud rate,but i'm in doubt about first,why it must be ratio of 16? for 9.6 Kbps is 115200 must changed to 9600?
WBR.
Labels (1)
0 Kudos
1 Reply

279 Views
lpcware
NXP Employee
NXP Employee
bump
0 Kudos