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.

RM57L843: Clarification about the ESM Error Key Register (ESMEKR)

Part Number: RM57L843
Other Parts Discussed in Thread: HALCOGEN

Hello 

What is the meaning of "Activates normal mode (recommended default mode)" in the table bellow? 

Why Halcogen set it to 0?

    /** - Reset error pin */
    if (esmREG->EPSR == 0U)
    {
        esmREG->EKR = 0x00000005U;
    }
    else
    {
        esmREG->EKR = 0x00000000U;
    }

Best regards,

Marcio.

  • Hi Marcio,

    Apologies for the delay in response, here in India we got couple of holidays.

    Now i started working on your issue and will provide an update ASAP.

    --
    Thanks & regards,
    Jagadish.

  • Hi Marcio,

    Normal mode means it is not any special mode and it doesn't have any special behavior. It just indicating normal value of EKEY.

    For example,

    using EKEY we can do two main functions:

    1. The first one is, once the ERROR pin outputs low, we can release this error pin by writing 0x05 to the EKEY value.

    2. The second function is, we can force error on ERROR pin by writing 0xA to the EKEY value.

    So, if we are not doing either of the above two functions then the EKEY register must have some value right, here that is calling as a normal mode (default value). And it might not be 0 and we can keep it in normal mode by writing any values other than 0x5 and 0xA.

    --

    Thanks & regards,
    Jagadish.