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.

TMS320F28388D: Transmit CANFD Example

Part Number: TMS320F28388D

Hi Experts,

We would like to ask your assistance on this query fron customer:

They want to use Connectivity Manager on the F28388D controller to transmit CANFD frames to the PC, we are wondering which software example from the C2000 would be the best suitable for this application.

"mcan_ex2_external_loopback is the one I am trying to use, may be I need to discard the loopback functionality, any help on this will be very much appreciated."

Thanks ahead for your support.

Regards,
Archie A.

  • Hi Archie,

    Yes, mcan_ex2_external_loopback is the example to use.  It has routines for both transmit and receive (can be changed by commenting #define TRANSMIT / #define RECEIVE in the header).  The example does not actually configure loopback mode so no need to comment out any code regarding loop back.  I think test case name retained "_loopback" since in a way, a user can configure one setup to be in receive mode using mcan_ex2  while the other setup is configured in transmit mode using the same example and let the two setups communicate through the CAN bus.  By the way, please remind customer to still use a transceiver to connect MCANTX and MCANRX pins for this example to be able to transact CANFD tasks through the CAN bus.

    Best regards,

    Joseph