SDK "lpuart_interrupt_transfer" example using LPUART3

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

SDK "lpuart_interrupt_transfer" example using LPUART3

跳至解决方案
1,718 次查看
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,691 次查看
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,692 次查看
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,708 次查看
petrama
Contributor III

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

0 项奖励
回复