S32K116 for UART1 switch component lin and lpuart

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K116 for UART1 switch component lin and lpuart

706 Views
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 Kudos
1 Reply

605 Views
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 Kudos