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.

AM2632-Q1: What's the behavior when the clock lost?

Part Number: AM2632-Q1

Hi team,

I ask this for my customer

1.If the crystal oscillator (XTAL) stops working on the AM263, can the SOC still receive an external WARMRSTn signal from an external watchdog? can AM263 be reset by WARMRST signal?

2. If the crystal oscillator (XTAL) stops working on the AM263, what will be the state of each IO pin on the SOC? Will the output pins hold their last driven state, go Hi-Z, or be pulled to a default level? Does the behavior differ between output pins, input pins, and bidirectional pins?

3. Does triggering a Warm Reset (via WARMRSTn) require the crystal oscillator (XTAL) to be functional? If the XTAL is not working when a Warm Reset is triggered, will the SOC be able to complete the reset sequence and exit reset normally? And what state will the IO pins be left in if the SOC cannot exit reset due to the absence of a clock?

4. This has a max timing requirment for WARMRST, if the external watchdog give longer WARMRST signal(> 16384000 ns) and then pull up the WARMRST signal, what will happen? can device release from reset?

BRs

Shuqing

  • Hi Shuqing,

    AM2632-Q1 has an internal module that can detect XTAL loss (if limp-mode detection is enabled via LIMP_MODE_EN_XTALCLK_LOSS_EN) and automatically switch to RC_CLK to keep the CPU and peripherals running. This ensures the CPU continues to operate even if the XTAL Clock fails and can take the system to a safe state. Also note that RC_CLK is not an accurate clock and hence the performance of the system is not guaranteed in Limp mode.

    Does triggering a Warm Reset (via WARMRSTn) require the crystal oscillator (XTAL) to be functional? If the XTAL is not working when a Warm Reset is triggered, will the SOC be able to complete the reset sequence and exit reset normally? And what state will the IO pins be left in if the SOC cannot exit reset due to the absence of a clock?

    I'm not sure how external warm reset would help in this scenario as the chip would still not be able to function when it comes out of reset. External monitor needs to power down the MCU using the SAFETY_ERRORn output signal.

     The recommended way to monitor this scenario is to do the following:

    1. Configure the ESM in PWM mode so that ERROR pin can continuously toggle when in normal mode. See Error Signaling Module (ESM) chapter in the Device TRM for more details on this.

    2. Implement a Toggle monitor in the external PMIC or a safety monitor.

    3. Whenever ESM detects an internal ERROR including XTAL loss, this signal stops toggling. Hence, the external safety monitor can take appropriate action in this scenario.

    This has a max timing requirment for WARMRST, if the external watchdog give longer WARMRST signal(> 16384000 ns) and then pull up the WARMRST signal, what will happen? can device release from reset?

    This is limited by the value that can be programmed into the TOP_RCM.WARM_RSTTIME1 register that defines this value. 

    MMR value Delay Value
    0 500 ns
    1 1us
    2 2us
    3 4us
    4 8us
    5 16us
    6 32us
    7 64us
    8 128us
    9 256us
    10 512us
    11 1.024ms
    12 2.048ms
    13 4.096ms
    14 8.192ms
    15 16.384ms

    Regards,

    Sahana

  • Hi Sahana,

    If external WARMRST longer than 16.384ms, after remove the external WARMRST, is device can out of reset successfully?

    BRs

    Shuqing

  • Yes, this timing is ONLY for internal reset propagation to WARMRSTn pad. If the reset is provided externally as an input to WARMRSTn pad, there is no such max limit defined.

    Regards,

    Sahana