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.

TMS320F280049C: Can receive example code

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

Hi team,

I was implementing a 'CAN receive' for motor control. But unable to find the example code for can_ex5_simple_receive for F28004x. Is there a reason why this is not included in the SDK?

Best Regards,

Madhurya

  • Hi Madhurya,

    I am looking into this on the discrepancy between examples on F28004x and F2837x series devices. In the meantime however, you can do the following without issues in order to get the same example for F28004x:

    1. Open any CAN example from F28004x in CCS (can_ex5_transmit_receive could be a good starting point)
    2. Delete the entire contents of the can_ex5_transmit_receive.c file in CCS (should be an empty file now)
    3. Copy the entire can_ex5_simple_receive.c file from the F2837x example folder contents, into this now empty file.
    4. Run example.

    I believe these examples will all be slated to be across all devices, but the merger is in process now. I will make sure to get this filed for updates to be completed next/following C2000Ware release.

    Regards,

    Vince