MPC8321 1200 Baud Rate Issue

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

MPC8321 1200 Baud Rate Issue

1,142件の閲覧回数
yutiamonkar
Contributor I

Hi ,We have MPC8321 processor in PCI Agent mode with 33 MHz input clock,we are trying to achieve UCC UART communication with baud rate of 1200.Our BRGCLK is set to 83.33 MHz.Although in the BRGCx register the value of Clock divider is coming according to the 1200 baud rate we are not able to get the same baud rate when we measure on scope.So we hardcoded the clock divider value to maximum i.e 4096, we achieve a baud rate of 1250.We are able to achieve  all other baud rates with same clock.

Formula used to calculate Clock Divider:

Async Baud Rate =                                                        BRGCLK or External Clock Source                                                                              -----------------------------------------------------------------------------------------------------------------------------
                                                               ( Prescale Divider ) • ( Clock Divider + 1 ) • ( Sampling Rate )

タグ(2)
0 件の賞賛
返信
1 返信

1,058件の閲覧回数
r8070z
NXP Employee
NXP Employee


Have a great day,

I do not see your BRGCx[EXTC], BRGCx [DIV16], BRGCx[CD] and GUMR_L[TDCR] settings. . Maximum the BRGCLK to baud rate divider is 16*4096*32.   For BRGCLK = 83.33MHz  please check that BRGCx[EXTC]=0, BRGCx [DIV16]=1, BRGCx[CD]=270 and GUMR_L[TDCR]=0b10  (16x clock mode - normally chosen for UART). If it is possible please check also BRG output clock frequency on the corresponding BRGO pin for these settings.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信