S32K344 UART

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

S32K344 UART

跳至解决方案
1,253 次查看
Zsk
Contributor I

Hi All

   UART with interrupt transceiver, now two MCU single-direction transceiver data with asynchronous no problem, at the same time transceiver will send and receive failure, what will be the reason?

                                                                                                                                                     thank you

0 项奖励
1 解答
1,220 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Zsk 

Please correct me if I understand wrong.

From what I understood, you have the two devices connected to each other and you are trying to send at the same time that you are receiving and vice versa, am I correct?

 

B.R.

VaneB

在原帖中查看解决方案

0 项奖励
5 回复数
1,221 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Zsk 

Please correct me if I understand wrong.

From what I understood, you have the two devices connected to each other and you are trying to send at the same time that you are receiving and vice versa, am I correct?

 

B.R.

VaneB

0 项奖励
1,194 次查看
Zsk
Contributor I
Found the problem, the status was switched to busy after asynchronous sending, and did not switch back, thank you
0 项奖励
162 次查看
wangjiawei
Contributor I

I had the same problem, but I didn't solve it. Could you tell me exactly how you solved it, thank you very much

0 项奖励
129 次查看
Zsk
Contributor I

I have changed the judgment condition before sending and receiving in the driver, sending only looks at the sending state, receiving only looks at the receiving state. Problem solved

0 项奖励
1,202 次查看
Zsk
Contributor I

Yes ,and I found another problem :The host needs to send about 10 times before the slave can receive it.After the sending/receiving status is switched once, the data cannot be sent again.

0 项奖励