the s32k144 lin question

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

the s32k144 lin question

1,108 Views
zeroun
Contributor I
Now I have create a project from example named"lin_master_s32k144"
Now I have two questions

1 in the "Sporadic frame definition",I create a Sporadic frame,there have two frame"setting frame" and  "command frame"
  how can I send the frame "setting frame"" or "command frame" ,which one Generated code can I use?
2 how to send a buffer without Generated code ,such as  use the sdk0.0.8.6
  now I have use two function:
  const uint8_t test = 0xAA;
  linStatusHeader = LIN_DRV_MasterSendHeader(2, 0x10);
  linStatusFrame = LIN_DRV_SendFrameDataBlocking(2,&test,1,20);
 
  now the board send a "id" 0x10 is right
  but no data have been send 
 
  the LIN_DRV_SendFrameDataBlocking(2,&test,1,20) return 2;
Labels (1)
0 Kudos
Reply
1 Reply

874 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

unfortunately I am not able to comment a usage of the LIN stack, I have no experience with it.
However I can provide you demo example where just SDK's LIN driver is used, here steps for sending/receiving LIN frames are more readable.

Hope it helps.

BR, Petr

0 Kudos
Reply