Bug in IP_UART_SetBaud

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bug in IP_UART_SetBaud

714件の閲覧回数
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 返信

705件の閲覧回数
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 件の賞賛
返信