s32k144 lin s32ds

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

s32k144 lin s32ds

759 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;
Tags (1)
0 Kudos
0 Replies