Slave response with still-alive counter

LIN Interface for USB
Post Reply
Guido
Posts: 1
Joined: Thu 4. Feb 2021, 06:47

Slave response with still-alive counter

Post by Guido » Mon 13. Jan 2025, 15:45

Hi, is there an example on how to send an automatic slave response to a defined master ID which contains a 4 or 8 bit counter incrementing 1 with every message? Thank you :D

M.Maidhof
Support
Support
Posts: 1701
Joined: Wed 22. Sep 2010, 14:00

Re: Slave response with still-alive counter

Post by M.Maidhof » Tue 14. Jan 2025, 09:55

Hi,

there is no example available for that, but you can setup a slave node application with PLIN-API, and change the publisher data after you have received the last publisher frame with LIN_Read(). In that case each successful read will be the trigger to increase your counter.

regards

Michael

Post Reply