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.

TMS320F280039C: Request for CAN Communication program using Bit Field method for TMS320F280039C

Part Number: TMS320F280039C

Dear Sir,

  1. I am making CAN communication Program using CAN interrupt method for TMS320F280039C.I am using Register Bit Field configuration method but unable to configure all registers. kindly provide the example program or step by step procedure for configuration of all CAN registers.
  2. I want to upgrade the firmware in TMS320F280039C using Bootloader with the help of CAN. kindly provide the Step by step procedure and any example program.
  • Devershi.

        Please create a new post for #2, with a suitable title. I will request our bootloader expert to help you out.

  • Divershi,

    There is a simple example on can loopback written with bitfields and although it is for f2837xs device, the bitfield addressing applies to f280039c as well.  This can be found under device_support/f2837xs/examples/cpu1/ directory.  It does not cover all CAN registers but you can use this example as a starting point.

    Regards,

    Joseph

  • Divershi,

    You can combine both driverlib functions and bitfields in your code.  Use driverlib functions for the register writes that seem not to work for bitfield.  Unfortunately, there are no future support for bitfield functions and we leave it up to users to create their own bitfeld functions.  It would be best to switch to driverlib as those are the functions/examples that our software team is and will be supporting.  This applies not only to CAN but to other peripherals as well.

    Regards,

    Joseph