Example code to use the LIN stack in polling for S32k118

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

Example code to use the LIN stack in polling for S32k118

185 Views
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.

Labels (1)
0 Kudos
Reply
1 Reply

161 Views
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 Kudos
Reply