UART Test

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART Test

921 Views
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 Kudos
1 Reply

515 Views
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 Kudos