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.

MCU-PLUS-SDK-AM243X: POK / Vmon / ESM - Issue Reset when Undervoltage is detected

Part Number: MCU-PLUS-SDK-AM243X

Dear TI Experts,

we are trying to configue the POK and the ESM module in way, to issue a reset as soon as undervoltage is detected.

The configuration of the POK seems to be clear, but we are struggeling with the configuration of the ESM to issue a reset as soon as undervoltage is detected.

The example code in the SDK User Guide provides only rough information how to configure the bitmasks in a proper way.
Can you guide me where to find more information how to setup this module? 
Because of the size of the TRM it is quite difficult to find the according information.

Please let me know if my question is not clear.

Thanks in Advance, best regards

Robin

  • Hi Robin,

    The ESM is an error signaling module that aggregates device errors and provides internal and external error response. The ESM also generates error responses. The possible error responses include a lower priority interrupt, high priority interrupt, and an external pin action (ESM Error pin). The system integrator is responsible to determine what error response should be taken and to ensure that this is consistent with the system safety concept.

    You can configure the CTRLMMR register to generate a warm reset for an ESM Error: bit 17 of CTRLMMR_MCU_RST_CTRL Register

    The ESM events are listed in Table 9-68 of TRM (page 5828): (spruim29h.pdf)

    https://www.ti.com/lit/ug/spruim2h/spruim2h.pdf

    To pull ESM nERROR pin when error occurs:

    You can configure the ESM_PIn_EN_SET register to toggle ESM nError pin when ESM error occurs. Please refer to section 12.5.2.4.3 of TRM:

    12.6.2.4.3 ESM Error Pin Output