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.

TMS320F280037C: MCAN clock

Part Number: TMS320F280037C
Other Parts Discussed in Thread: SYSCONFIG

I have a CAN project that should be transmitting a message at 1kHz, but there is no activity on the CANTx pin. 

The clock stop request bit is set according to the debugger.  I added code to clear the stop clock request and test for ClockStopAck == 0 but the MCAN_CCCR the clock stop request and ack bits are both set afterwards.   The INIT bit is also set even though it was cleared and tested as well.  See the attached image for register values after clearing the bits.

I can't tell if the reason there is no output is because the clock stop is asserted or the debugger is lying and there is some other problem.

I tested the configuration in mcan_ex7_classic_transmit and have it working as expected. 

C2000 version 6Screenshot 2025-10-22 163927.png

  • Hi DTruex,

    Are you using SysConfig to configure the MCAN peripheral? If so, can you share that .syscfg file for reference?

    You mentioned you have mcan_ex7_classic_transmit working as expected, what is the change from this example necessary to fit your requirements?

    Best Regards,

    Zackary Fleenor

  • I deleted all old installs of c2000 and installed ccs 22 and c2000 6.0. Transmit is working now but CCS crashes a lot when debugging. 

    The example did not use syscfg and I followed the example.

    Thanks

    Don

  • Hi DTruex,

    I am glad to hear that the file/application refresh helped to resolve the original issue.

    Can you create a new E2E to follow up on the on the CCS crashing issue so we can loop in the right folks?

    Best Regards,

    Zackary Fleenor