Hi team,
I am using s32k146 Example non SDK LIN Communication. I have created new project for s32k142 and did necessary changes in example. For 100 ms timer interrupt generated for transmitting LIN command, I am attaching my project ZIP with LDF used.
I am sending Command From Code, the first command is receiving in CANOe tool after that gives an error RcvError and TransmError .
Please Guide me to resolve this errors ASAP.
Thank you,
Bhushan
Hi,
originally this example was done to run with other board working as slave and this master code transmits 2 frames, first publish 2 bytes, second request 2 bytes.
A schedule table in LDF you shared is expecting 2 frames too, but below ones
- publish 1 byte with ID 0x30
- request 6 bytes with ID 0x33
So you should modify your code accordingly, or modify LDF to follow what you want to sent/receive.
Also you should comment code for TX from main while loop. Use just timer interrupt to trigger new transmission.
BR, Petr