Use UART1 Tx and Rx pins instead of SDA

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

Use UART1 Tx and Rx pins instead of SDA

跳至解决方案
2,330 次查看
DemaQasem
Contributor II

Hello,

I am trying to send data over UART1 using the s32k144 evb (it is connected to my PC via OpenSDA), I tried to run the built-in LPUART example and it worked <the data were sent via the OpenSDA connection> 

I tried to connect the pins PTC7 and PTC6 to RS232 but it did not send any data.

is there any additional configuration needed to use the pins instead?

Thank You.

0 项奖励
回复
1 解答
2,319 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please do not connect S32K LPUART pins directly to RS232 signals. You need an RS232 to TTL converter.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,320 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please do not connect S32K LPUART pins directly to RS232 signals. You need an RS232 to TTL converter.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
2,316 次查看
DemaQasem
Contributor II
Already tried that, but still, no data was present.
0 项奖励
回复
2,289 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Can you observe the waveform sent by the PTC7 pin through a logic analyzer or an oscilloscope?

PTC6 PTC7 S32K144EVB.png

0 项奖励
回复
2,286 次查看
DemaQasem
Contributor II

Thank you Mr.Robin it worked.

looks like the Rx & Tx connections of the TTL converter were not in the correct order.

Regards, 

Dema.

0 项奖励
回复