TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320F280025: Trouble runing the DCAN example of 280025

Part Number:TMS320F280025

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

Yale Li:

Hi,

I already post this issue to the relevant engineer. Please focus the link below:

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1259706/tms320f280025-trouble-runing-the-dcan-example-of-280025

,

Yale Li:

Is it possible other errors are blocking the CAN interrupt status? Can you check if there's any errors?

赞(0)
未经允许不得转载:TI中文支持网 » TMS320F280025: Trouble runing the DCAN example of 280025
分享到: 更多 (0)