Enabling RTS_b for Transmitter request-to-send

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

Enabling RTS_b for Transmitter request-to-send

1,291 次查看
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,187 次查看
amerzater
Contributor III

Many thanks for your help..

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

0 项奖励
回复

1,187 次查看
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