S32K144

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K144

435件の閲覧回数
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 返信

407件の閲覧回数
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 件の賞賛
返信