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 件の賞賛