UCC UART Rx Clock Determination

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

UCC UART Rx Clock Determination

1,082件の閲覧回数
naveennaga
Contributor I

Hi,

In the p1021 processor , we are operating QE UCC 5 in slow protocol for UART . The UART is working if the Tx & Rxclock source from internal BRG with same baud rate. Then the Rx clock is sourced from the external clock source with know frequency , same frequency is set for Tx BRG also.

If Rx clock source frequency is unknown the Tx clock rate has to be set according to the Rx clock rate received i.e how to determine the Rx clock rate before setting the Tx rate.

How we can read Rx frequency in QE UCC?

ラベル(1)
タグ(5)
0 件の賞賛
返信
1 返信

898件の閲覧回数
Pavel
NXP Employee
NXP Employee

The BRG setting is available using the BRG Configuration Registers 1–16 (BRGCn). See the Section 5.7 of the QE Reference Manual (https://www.freescale.com/webapp/Download?colCode=QEIWRM&location=null&fpsp=1&WT_TYPE=Reference%20Ma...

The UCC UART supports autobaud. Find the ATB bit in the BRGCn register. This possibility provides detect RX baud rate. If RXD goes low, the BRG determines the length of the start bit and synchronizes the BRG to the actual baud rate.


Have a great day,
Pavel

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

0 件の賞賛
返信