TMS320F280039C: TMS320F280039C: Need Reference Code for CAN Reception Using Register-Level (Bitwise) Configuration (No Driverlib)

Part Number: TMS320F280039C

Hi Team,

I am working on CAN communication using the TMS320F280039C controller and currently trying to implement CAN reception using direct register-level (bitwise) configuration, without using Driverlib APIs.

What i observed is Driverlib implementation works fine with same hardware setup and In bitwise implementation i am getting issues

Could you please provide A reference example for CAN RX using register-level configuration (without Driverlib)

 

  •  
  • Hello Bhandavi,

    F2837x device, which was released prior to F28003x has implemented some test cases using bitwise configuration but with migration to driverlib, bitwise configuration on later devices was not pursued.  You can refer to the CAN example in the F2837x.  It can be found in C2000Warexxx\device_support\f2837xd\examples\cpu1\can_loopback_bitfields.  It should have the routines for setting up bit timing, setting up message objects, sending and receiving CAN messages.  Module base peripheral addresses between F2837x and F28003x will be different but the CAN register structure should be the same so you can use the routines in F2837x as basis for F28003x.

    Regards,

    Joseph