LIN Communication not working

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

LIN Communication not working

923 Views
shravani
Contributor II

Hello

I have configured LIN protocol through configurator on S32DS and checking for the interrupt is coming or not.

I am checking by connecting a CAN analyzer and sending the frame every 10ms to check the interrupt.
I put a breakpoint at ISR. When I try to run the code, interrupt is coming only once. Even though hardware(CAN analyzer is not connected interrupt is coming.

How to solve this issue? Your help is highly appreciated.

Please find below details

Chip Model: S32K312_100MQFP, 

S32DS version: 3.5

SDK: PlatformSDK_S32K3_2022_03

RTD: SW32K3_RTD_4.4_2.0.0_DS_updatesite_D2204

AUTOSAR MCAL used: Yes.

 

 

0 Kudos
2 Replies

867 Views
shravani
Contributor II

Hi @cuongnguyenphu,

Thanks for the reply. I will check config and dump registers.

Please check the attached configurations of the LIN driver for your reference.

Note: LPUART0_CLK is 8MHz.

 

 

 

 

 

 

0 Kudos

876 Views
cuongnguyenphu
NXP Employee
NXP Employee

Hi,
If the interrupt is triggered even though HW is not connected, then you should check your config and dump register to check that what is the event of that interrupt.
I think it's need more detail in your case to check the issue: Register dump, configurations, how did you call functions...
Please give us more information about that to clarify this 

0 Kudos