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.

TMS320F28069F: Correct disabling of eCAN periphery while device is running

Part Number: TMS320F28069F

Hi,

We have an application where it's mandatory to completely disable the eCAN interface. What's the safest or easiest way to do this? It's not necessary to save any CAN messages but it's important to not affect any other communication interfaces like USB or SCI.

I tried the following procedure:

  1. Configure RX and TX pins as GPIO's
  2. Entering configuration mode of eCAN
  3. Perform a software reset of eCAN (SRES = 1)
  4. Disable ISR at PIE level (eCAN level 1 interrupt / 9.6)
  5. Wait some cycles
  6. Clear INT9 flag in CPU Interrupt Flag Register
  7. Acknowledge PIE group 9

Although the periphery should be in configuration mode and decoupled from the transceiver with the corresponding interrupt disabled, communication on the CAN bus has still an impact on the system behavior. I'm not sure if this is hardware (e.g. driver) related or if it's a problem on the application layer.

Tips and hints are very welcome!

Best regards,

Mathias

  • Mathias,
    All communication peripherals are completely independent of each other. The application software is the only common thread that binds them together. You could configure the RX and TX pins as GPIOs and then disable the clock to the eCAN module. Once this is done, no bus activity should have any impact on the eCAN module and your system. If you still see an impact, I would suspect the application layer.