Enabling RTS_b for Transmitter request-to-send

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

Enabling RTS_b for Transmitter request-to-send

1,314件の閲覧回数
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.

 

ラベル(1)
タグ(2)
2 返答(返信)

1,210件の閲覧回数
amerzater
Contributor III

Many thanks for your help..

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

0 件の賞賛
返信

1,210件の閲覧回数
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