Example code to use the LIN stack in polling for S32k118

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

Example code to use the LIN stack in polling for S32k118

750 次查看
Maverick92
Contributor I

Hello,
I have integrated the LIN stack from NXP SDK for S32k118 which uses the LPUART.

For my application there are many functional safety requirements and critical area where I need to disable interrupts which is leading to loss of frames in the LIN communication.

I was able to poll for the timout_service function to avoid using any interruption.

Maverick92_1-1732645207615.png

But not sure how to handle the LPUART interrupt.

Maverick92_0-1732645160299.png

Do you have any example code where the LIN stack is implemented using a polling mechanism instead of LPUART Interruption.

标签 (1)
0 项奖励
回复
1 回复

726 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

there is no such example. LIN stack is using SDK LIN driver and its functions are coded to be interrupt-driven.

BR, Petr

0 项奖励
回复