How to set S32K CAN bit-SRR to 1

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set S32K CAN bit-SRR to 1

105 Views
Contributor I

Hi,

   I use the S32K144 EVB CAN to communicate with one smart sensor.The MDK is RTM 300.

  The transmit CAN frame is EXT.

  I found that the CAN bit SRR must be set to 1,otherwise the communication will fail.

  Now, I modify the function FLEXCAN_SetTxMsgBuff like below.

  So, do you have any other way to set the SRR bit?

 

pastedImage_1.png

pastedImage_2.png

...

pastedImage_3.png

0 Kudos
1 Reply

45 Views
NXP TechSupport
NXP TechSupport

Hello qh c,

Unfortunately, as you mention the SDK doesn't have a way to set this bit so you would need to do these changes to the SDK.

Best Regards,

Alexis Andalon

0 Kudos