i build a lin salve project according demo from nxp,but i can't receive frame but can send frame ,in sdk, i found the program will into if function,
Why is it here?
i want to know when will enter it ?
hope your reply ,thank you
Hi,
this code is entered when module detect break character, first part of LIN header sent by master. So if you are able to sent response from slave to this LIN header received, then you should be able to receive payload as well. Just call LIN_DRV_ReceiveFrameData from LIN_PID_OK event of callback as shown in slave demo example.
BR, Petr