S32K144 LIN Data receiving

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

S32K144 LIN Data receiving

2,639 次查看
qiansan
Contributor I

S32K144 As master node Is the data received from the Lin slave node through an interrupt

0 项奖励
回复
4 回复数

2,624 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi qiansan,

Here you can see the LIN_LPUART_DRV_IRQHandler is used to for LIN driver:

LIN_LPUART_DRV_IRQHandler.png


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,616 次查看
qiansan
Contributor I

However, in the execution process of the main function, I did not find the part of serial port interrupt service function registration, nor did I find the part of serial port interrupt enable. If Lin communication uses serial port interrupt to receive data, where is the interrupt enabled and where is the interrupt service function registered?

0 项奖励
回复

2,609 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

You can find them here:

LPUART_SetIntMode.pngINT_SYS_InstallHandler INT_SYS_EnableIRQ.png

0 项奖励
回复

2,596 次查看
qiansan
Contributor I

If the Lin node enters the sleep mode, does it adjust some functions of the serial port to the low-power mode or turn it off? I would like to ask what functions are adjusted to reduce the power consumption if the node enters the sleep mode compared with the normal mode

0 项奖励
回复