S32K144

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K144

509 次查看
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 项奖励
回复
1 回复

481 次查看
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 项奖励
回复