UART Test

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

UART Test

1,504 次查看
deepanrajanbara
Contributor IV

Hi,

I am using custom board based on iMx6Q and our specification is to configure the UART at baudrate of 4Mbps .We have configured the UART but we are not sure how to check whether the data transfered between two UART are at the rate of 4Mbps .Does anyone know how to test or check whether the UART is really configured at the speed of 4Mbps.The UART which i have configured does not include the Debug UART .Can anyone help me on how to test The UART speed .Is there any application to check the working at the rate of 4Mbps.

Thank you,

Deepanraj.A

0 项奖励
回复
1 回复

1,098 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Deepanraj

what is about oscilloscope ?

Output for example 0x55 to UART and measure bit interval. Check

Figure 100 UART RS-232 Serial Mode Transmit Timing Diagram IMX6DQCEC

Another method output uart_clk_root frequency to CKLOx pin

using CCM_CCOSR register. Measure this frequency and printf (or check

with jtag debugger) UART baudrate dividers UARTx_UBMR, UARTx_UBIR,

then calculate UART baudrate.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复