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.

RTOS/TMS570LC4357: Reset After Assingning Value to GCR Register

Part Number: TMS570LC4357

Tool/software: TI-RTOS

I'm using TMS570LC4357  HDK board. When SCI or SPI module initialization is done, after writing value to GCR register of related module device get reset and go into the esm notification interrupt. What is the reason such kind of problem? 

Regards, ONUS 

  • Hi Halil,

    No bit in the SCI/SPI global control registers can cause device reset. You can get the reset source from SYSESR register.

    For SCI module:

    • SCI module enters the low-power mode when the POWERDOWN bit (SCIGCR2.0) is set.
    • SCI module gets out of reset when RESET bit (SCIGCR0.0) is set.
    • SCI module enters SW reset state when SWnRST bit (SCIGCR1.7) is cleared

    For SPI module:

    • SPI module gets out of reset state by setting nRESET bi (SPIGCR0.0). This bit has to be set before operation on SPI. Clearing this bit to zero will result in all of the control and status register values to return to their default values
    • SPI module enters power-down mode when POWERDOWN bi is set (SPIGCR1.8)