How to set S32K CAN bit-SRR to 1

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

How to set S32K CAN bit-SRR to 1

658 Views
cqhcau
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
2 Replies

597 Views
Alexis_A
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

43 Views
bschuster1031
NXP Employee
NXP Employee

Hi,

Has this been updated in the SDK yet? I have a customer facing this issue as well, but this was from a few years ago.

Thanks,

Brendan

0 Kudos