SDK "lpuart_interrupt_transfer" example using LPUART3

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

SDK "lpuart_interrupt_transfer" example using LPUART3

ソリューションへジャンプ
1,767件の閲覧回数
petrama
Contributor III

On the MIMXRT1060-EVK I am executing the SDK "lpuart_interrupt_transfer" example. It works fine using LPUART1, but if I try to communicate via the Arduino pins using LPUART3, something goes wrong. It is as if the baud rate(115200) is off. Data is sent both ways but not received correctly. The initialization text is sent but received a rubbish at the connected terminal. If 8 characters are entered in the terminal the program recognizes this, but the characters are not received and echoed correctly.

All I have changed in the example is the below define in lpuart_interrupt_transfer.c:

#define DEMO_LPUART LPUART3

What else do I need to edit? Does my problem have something to do with LPUART3 being setup for Bluetooth?

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,740件の閲覧回数
petrama
Contributor III

Just learned today that a Max232 TTL/RS232 adapter is needed. It inverts HIGH and LOW and shields the board from too high voltages. ( I hope, that I havn't already damaged the i.MX board  )

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,741件の閲覧回数
petrama
Contributor III

Just learned today that a Max232 TTL/RS232 adapter is needed. It inverts HIGH and LOW and shields the board from too high voltages. ( I hope, that I havn't already damaged the i.MX board  )

0 件の賞賛
返信
1,757件の閲覧回数
petrama
Contributor III

I just want to mention that I have tried with other baud rates to no effect

0 件の賞賛
返信