hi ti
The can is work on mcu2_0 on our project. Sometimes there is a issue, i have added request for transmission by MCAN_txBufAddReq(), and i also get the transfer status by MCAN_getProtocolStatus(), i think the status indicated that the transfer is succeed, but the can tool and opposite can device didn't received the data i transferd.
The status get from MCAN_getProtocolStatus() is
((MCAN_ERR_CODE_NO_ERROR == protStatus.lastErrCode) ||
(MCAN_ERR_CODE_NO_CHANGE == protStatus.lastErrCode)) &&
((MCAN_ERR_CODE_NO_ERROR == protStatus.dlec) ||
(MCAN_ERR_CODE_NO_CHANGE == protStatus.dlec)) &&
(protStatus.busOffStatus == 0U) &&
(0U == protStatus.pxe))
How to debug this issue?
Thanks a lot!