Bug in IP_UART_SetBaud

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

Bug in IP_UART_SetBaud

313 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jackandrews on Fri Sep 13 07:32:17 MST 2013
Just a heads up... there is a bug in IP_UART_SetBaud which allows values of DIVADDVAL and DLL to violate this statement in the user manual: "Important: If the fractional divider is active (DIVADDVAL > 0) and DLM = 0, the value of
the DLL register must be greater than 2." (page 334).

I.e. it will generate DIVADDVAL = 1 and DLL = 2, which ends up breaking RX (interestingly it still generates the correct TX baud).  Try inputting the value of 2291667 for example.  It is possible to generate this baud (DLL = 3, DIVADDVAL =1 and MULADDVAL =11)...
Labels (1)
0 Kudos
1 Reply

304 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by xianghuiwang on Sat Sep 21 17:33:00 MST 2013
Hi,
good catch, we will correct the driver. Thanks!
0 Kudos