S32K116 for UART1 switch component lin and lpuart

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

S32K116 for UART1 switch component lin and lpuart

712 次查看
jeffery_huang
Contributor I

We using S32K116 UART1 to implement two function lin and lpuart . How to switch two function component lin and lpuart ?

0 项奖励
1 回复

611 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Jeffery Huang, 

Using the same UART interface for UART and LIN communication is not highly recommended, especially to avoid problems within the LIN bus. But, if you want to do this, when you want to change between protocols, you will need to deinitialize the UART1 interface and re-initialize it again with the new configuration. As a safety measure, before deinitializing the UART you will need to ensure that there isn't an ongoing transmission/reception. 


Have a great day,
Victor

-------------------------------------------------------------------------------
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 项奖励