Dear NXP Team.
I try to Lin communication for master mode using linstack v2.0.4.
However I face the problem slave not responding.
Master publish frame is normal workiong, however subscribe message has not working.
In detailed, CANoe interface as slave side is not respone from physical layer.
When I checked waveform at osiloscope, and I think timing is not problem.
I attached my configuration project.
Could you pleae give to me any advice?
* Project Information
- S32K312 172Pin EVB
- RTD v4.0.0
- Lin stack v2.0.4
- Referenced project is Lin stack example for S32K344
Best regards.
Solved! Go to Solution.
Hi,
I did below modifications of your code and it responds accordingly to data published by slave, see attached video.
- uncomment lin_dal_timeout_service(LI0) in Lin_Schedule_Ctrl
- check Motor1Temp flag and read its data in lin_master_task
I used PLIN View and load ldf there to work as Motor1 slave
BR, Petr
Hi,
I did below modifications of your code and it responds accordingly to data published by slave, see attached video.
- uncomment lin_dal_timeout_service(LI0) in Lin_Schedule_Ctrl
- check Motor1Temp flag and read its data in lin_master_task
I used PLIN View and load ldf there to work as Motor1 slave
BR, Petr
Hi @PetrS
Thanks for your reply. I checked and normal working.
Sorry for late check. Because I'm out of office last week.
When I checked code, OsIf_internal.h file below need to be modified manually in the lin_commontl_proto.c ?
Thanks,
BR
Hi,
I just added it to be able to compile your project.
BR, Petr