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.

Writing to the CAN controller registers for the 2837xD microcontroller

Other Parts Discussed in Thread: TMS320C28346, CONTROLSUITE

Hi,

I wrote some old code for the TMS320C28346 microcontroller/DSP and am now using the TMS320F2837xD.  I'm trying to reuse my CAN bus code.  However, I noticed that the Ecan.h file that defines the CAN registers on the 28346 does not exist for the 28377.  

E.g. 

And I can't find that for the F2837xD: 

It seems like the other peripherals are in place but I can't find the header file for the CAN registers.  Am I missing something?  Does TI plan to write the file to help users program the CAN registers?  

I am unfamiliar with the methods used in the following: 

C:\ti\controlSUITE\device_support\F2837xD\v130\F2837xD_examples_Cpu1\can_loopback_interrupts\cpu01\can_looback_interrupts.c

It seems inconsistent with the other examples.  

Thanks,

Rick 

  • Rick,
    the F2837x - CAN module (DCAN) is totally different from F2833x (ECAN) in terms of the register implementation, register access methods, handshake between CPU and CAN-CC etc. Also, a "driverlib"-approach is used in the controlsuite examples for the F2837x -devices, which avoids bitfield accesses to control registers.