Hi@wanglijun
There is no such routines in the S32 DS, but I hope this link may help you.
https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-FlexCAN-TX-RX-Error-ISR-test-S32DS2...
BR!
Jim,