S32K144

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K144

405 Views
zq1
Contributor III

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?

zq1_0-1691484101550.png

zq1_1-1691484161966.png

i want to know when will enter it ?

 

hope your reply ,thank you 

0 Kudos
Reply
1 Reply

377 Views
PetrS
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply