Error frame for S32K144 CAN

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

Error frame for S32K144 CAN

751 Views
ShiYunSong
Contributor I

基于S32K144,使用S32DS的PE工具配置CAN之后,如何检测CAN的错误帧,如何接收CAN的错误帧,如何发送CAN的错误帧以及如何防止CAN发送错误帧?S32K14X系列的CAN错误帧处理应注意什么?

0 Kudos
3 Replies

742 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

error handling and fault confinement is done automatically and follows CAN Protocol standard;https://www.nxp.com/docs/en/reference-manual/BCANPSV2.pdf

Once error is detected, respective flag in ESR1 register is set and error counters are updated as per protocol standard.  

 

BR, Petr

0 Kudos

730 Views
ShiYunSong
Contributor I

What should I do if I have a request not to send an error frame?

  • With TJA1040, can the software control the error frame?

0 Kudos

722 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

- you can put FlexCAN to Freeze mode, this way it does not participate on bus

- you can put transceiver to Standby mode by driving STB pin high. But if FlexCAN is transmitting anything it will ends in Bus off state.

 

BR, Petr

0 Kudos