Enabling RTS_b for Transmitter request-to-send

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

Enabling RTS_b for Transmitter request-to-send

634 Views
amerzater
Contributor III

on MKV10z32 , (MCUxpresso- SDK2.2.0) , I am using hardware flow control on the transmitter (RTS_b) to control the Rs485 line driver.

UART->MODEM=(1<<(TXRTSPOL)) | (1<<(TXRTSE)) ;

but I realized that enabling the previous line is affecting the  RXD line so no reception is taking place despite of that  the signal on the rxd pin of the MCU is quite good and noise-free.

when theTXRTSE is disabled, and the transmitter control is handled manually. the reception is working just fine and the data is well received.

 

Labels (1)
Tags (2)
2 Replies

530 Views
amerzater
Contributor III

Many thanks for your help..

setting UARTx_C2[TE] befor handling modem bits has soldved the problem .

0 Kudos

530 Views
nxf54945
NXP Employee
NXP Employee

Hi Amer,

The KV10 requires that UARTx_C2[TE] is set before UARTx_MODEM[TXRTSE] is asserted. Could you please check this criteria is met?

 

Best regards

Javier