Retrieve Slave data from unconditional scheduler frames

This is a forum for the communication between the beta testers and our developers. It is only visible for PEAK-System employees and authorized testers.
Post Reply
Posts: 1
Joined: Wed 6. Apr 2022, 08:48

Retrieve Slave data from unconditional scheduler frames

Post by davidd » Wed 6. Apr 2022, 09:54

I recently started developing a LIN-Master Script for communication with our LIN-Device.
I've attached a working test-script (please enable attaching .sh files in this forum).
Master Data is sent out on FrameID 32, Slave Data should be received on Frames 33-38.
I can confirm the functionality by attaching a logic-analyser: our device writes the Slave Data into the correct frames.
My problem is that I cannot retrieve this data from the scheduled frames.
I tried

Code: Select all

./lin get sfe
to display the subscriber frames and also dumped all the memory transfered by ioctl - I only received 0's.
How do I implement this?

Thank you in advance!
- David
(491 Bytes) Downloaded 18 times

User avatar
Software Development
Software Development
Posts: 314
Joined: Wed 4. Jul 2012, 17:02

Re: Retrieve Slave data from unconditional scheduler frames

Post by S.Grosjean » Wed 6. Apr 2022, 14:55


To read data written by the slave, please use:

Code: Select all

$ linread /dev/plin0
after having started the scheduler like you do. See also "linread --help" for a list of available options of the display format.

— Stéphane

Post Reply