AnsweredAssumed Answered

imx6 uart RTS_B change not detected

Question asked by Yunchuan Geng on Dec 10, 2015

Hi,

 

imx communicty!

 

I am using imx6q processor to connect CC2565 BT module via its uart port. hardware flow control is enabled.

 

I encountered an uart rts interrupt detected issue, which block my uart interface.

By polling UARTx_USR1 , it is clear that RTSS has changed, however, RTSD is not set, so interrupt is not set, hence the program to wakeup uart do not get called.

 

In the attached logfile.

 

Line 85:  RTS_B changed to inactive interrupt is detected.

Line 88:  uart tx is stopped.

Line 93:  Confirm that RTSD is cleared before quit imx_int, and RTSS is still inactive.

Line 116: Checked that RTSS is active by read USR1, but RTSD is not set. This is the problem.

 

And between Line 93 and Line 116, No operation on RTSD such as interrupt clear are observed.

 

What could be the problem? Looks like a hardware bug to me.

 

Please confirm this or point me out what could be wrong.

 

Best regards,

Yunchuan

Original Attachment has been moved to: uart_rts_interrrupt_missed.log.zip

Outcomes