Hello,
I use CCS v5.3 to program a TMS320C28346, and I have a problem with the eCAN-B.
I already use eCAN-A which works fine with the example code.
The problem is that I don't succeed in configuring eCAN-B to work with this code.
I already saw that on DSP2834x_Device.h that DSP28_ECANB=1.
Then I define a new structure as eCAN-A which call ECanbShadow.
I think the problem is on interruptions, because when I debug, the program doesn't go in ECAN0INTB_ISR.
When I debug and compare the eCAN-A working and the eCAN-B which doesn't, I compare the following registers :
CANGIF0 (eCAN-A : 0x00008006 ; eCAN-B : 0x00000000)
CANGIF1 (eCAN-A : 0x00008007 ; eCAN-B : 0x00000000)
CANMIM (eCAN-A : 0xFFFFFFF1 ; eCAN-B : 0xFFFFFFF1)
CANMIL (eCAN-A : 0x6638E381 ; eCAN-B : 0x6638E381)
CANGIM (eCAN-A : 0x00002003 ; eCAN-B : 0x00002003)
So we can see that there is no message received but configuration seem to be the same.
Do you have any idea where the problem could come from ?
Thank you for your help.