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