This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello team,
I am porting my ecan code of my old project into dcan. And I run the DCAN example can_ex5_transmit_receive but there are problems.
The IRS is entered successfully, but the status updated by "status = CAN_getInterruptCause(CANA_BASE);" is always 0x8000U(CAN_INT_INT0ID_STATUS) , and then the transmit or receive is failed.
By the way , the EWarn and EPass in CAN_ES registers are both 1, which triggered the interrupt. My board and physical connection works fine with old project.
Why is this and how can I solve it? Please help
Best regards