I would like to ask the lin function of s32k148, how to send and receive messages and configure interrupt functions if you do not use the lin stack, that comes with sdk3.0? is there any relevant example?
A very simple example for LIN Master can be found in this community thread:
S32K144 LIN bus
Or non-SDK examples for the S32K142 can be found in the attachment.
The bare metal UART examples from the AN5413 - Cookbook for the S32K1xx series or AN12174 - Using FlexIO to emulate communications and timing peripherals could be also, used as base projects for your LIN application.
I hope it helps.
First of all, thank you for your answer. I have an example here about LIN receiving and sending messages, but there is a question：
1.When receiving the information of the master node as a slave node, it will not enter the callback function and cannot receive the information sent by the host. 2. When receiving information as the master node, if you hit a breakpoint where the callback function receives the PID_OK, and then continue to run, you will no longer enter the callback function. What is the reason for this? Could you take a look at my code for me? Thank you
Retrieving data ...