Bug in IP_UART_SetBaud

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Bug in IP_UART_SetBaud

701 次查看
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)...
标签 (1)
0 项奖励
回复
1 回复

692 次查看
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 项奖励
回复