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.

TMS570LS0332: Problems with DCAN2 shutdown by PCR (2)

Part Number: TMS570LS0332
Other Parts Discussed in Thread: TMS570LS0432, , TMS570LS3137

Tool/software:

Following the question asked in a previous topic:

TMS570LS0332: Problems with DCAN2 shutdown by PCR - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

Still we haven't been able to find a solution about the issue with disabling the DCAN2 peripheral, during a live debugging session, it was found that DCAN2 can be disabled while the CLKCNT->PENA bit is clear, once the bit is set, for some reason all the other peripherals can be disabled but DCAN2.

During the session, the following things were noticed:

At the very beginning, before running the periphInit() routine, the DCAN2 as well as other peripherals are disabled by default:

Then after the PENA bit is set to 1 in the CLKCNT, the DCAN2 can't be disabled anymore, we can disable all the other peripherals but DCAN2:

When trying to clear the PENA bit in the CLKCNT register before disabling the DCAN2 peripheral, it seems we are able to correctly disable it, but once the PENA bit goes to 1 again, DCAN2 bit in the PCR.PSPWRDWNSET1 is clear, meaning that DCAN2 peripheral is not disabled as expected

  • Hi Steven,

    My apologies for the delayed response, i was off for few days due to festival in our region.

    Today i tested with TMS570LS0432 board, i noticed that on this board also i was able disable the DCAN2.

    I am not sure why this is happening particularly for TMS570LS0332 controller?

    This should be a register level issue, i will try to further investigate on this whether we can do any workaround.

    --
    Thanks & regards,
    Jagadish.

  • Yes, I'm not sure why it's happening just on the TMS570LS0332 controller, we have another board with TMS570LS3137 and in there we are able as well to disable the DCAN2 successfully.

    Please let me know about any possible issue on a register level.

    Regards,