Example code to use the LIN stack in polling for S32k118

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Example code to use the LIN stack in polling for S32k118

759件の閲覧回数
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 返信

735件の閲覧回数
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 件の賞賛
返信