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.

CAN SW Reset???

Hi folks,

I have some questions about the CAN SW Reset on the TMS570. First, am I right to say 'SW' stands for software? My next question is, what happens with the CAN node after the reset?

According to the manual I have to set the Init bit in the control register and after this the SWR bit to perform a SW reset. I have done so, but nothing happens except the bit timing has changed, the interrupts are disabled and the InitDbg bit is set. Is there a difference between a reset in normal mode and debug mode (via CCS)?

 

Thanks a lot,

Gregor

  • Gregor,

    Yes, SW stands for software.

    The SWR bit that you are refering to here, is meant to be used to configure or reconfigure the CAN. (Say to change baudrate or to change mailbox settings quickly) 

    -Pratip

  • Gregor,

    And regarding your second question on resetting the CAN module in normal mode /debug mode using CCS.

    -pk> Its recomended to configure and reset the CAn module using the software . Although for debug puposes you may halt the processor through the CCS and change /monitor/reset the module if needed to.

     

    "Please click on "Verify Answer" if you find your questions answered"

    -Pratip