Verdin iMX8M Plus, unexpected shutdown when power switch to an alternate source

Hello,
we use super capacitors for bridge power source in case of power interruption. While switching the source the module sometimes goes to halt state. While switching the supply the voltage at VCC (pin 251 …) never falls below 4.5V. This is also measured with a high speed scope to detect small peaks. Pin 248 is not connected. First we add a 10k pullup to pin 248 (between 1.8V from pin 214 to pin 248). Then the module sometimes makes a reboot instead a shutdown. The next step was to add a 10k pullup to pin 260. Now the reset switch does not function as suggested. It seems that the 1.8V pullup voltage from pin 214 has a conflict with the internal used pullup voltage. Now we removed the pullups and add 1nF to pin 248. This does not make a change. We can disable the power button by software, but this does not resolve trigger power button. How can avoid power button signal when switch power source?
Best regards

First we added a 10k pullup between

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


Power Source Switching Issue on Verdin iMX8M Plus

Your issue with unexpected shutdowns during power source switching relates to the module’s power management circuitry. Based on the Verdin iMX8M Plus design, here’s what’s happening:

Root Cause Analysis

The Verdin iMX8M Plus includes an internal pulse generator circuit that automatically generates a short power button press signal when the main input rail (VCC) is applied to the module(1). This circuit is designed to ensure the module boots when power is connected, but it can be triggered inadvertently during power source transitions—even when VCC remains above the minimum threshold.

Pin 248 (CTRL_PWR_BTN_MICO#) Behavior

Pin 248 connects directly to the ONOFF input of the i.MX 8M Plus SoC(1). The behavior is:

  • Short press (<5s): Creates an interrupt when running, or starts power-up if shut down
  • Long press (>5s): Forces immediate power-down via PMIC, independent of the OS(1)

Adding a 1.8V pullup from pin 214 (PWR_1V8_MOCI) to pin 248 creates conflicts because:

  1. The internal pulse generator circuit operates on its own timing
  2. Pin 214 supplies power to carrier board peripherals (up to 250mA)(1) and may exhibit voltage fluctuations during source switching
  3. The PMIC’s internal pullup configuration doesn’t match your external 1.8V reference

Pin 260 (CTRL_RESET_MICO#) Consideration

Pin 260 connects to the PWRON_B input of the Rohm PMIC(1). When driven low, it triggers a complete power-down sequence followed by power-up. Adding a pullup here interferes with the reset functionality because the PMIC expects this pin to be actively driven or left floating(1).

Recommended Solutions

1. Hardware Filtering on VCC

Ensure your super capacitor switching circuit maintains clean VCC transitions. Even brief voltage ripples or dips below 4.5V during switching can trigger the internal pulse generator. Consider:

  • Adding bulk capacitance directly at the module’s VCC input (pins 251/253/255/257/259/261/263/265)
  • Implementing ideal diode circuits or active ORing for seamless source transitions
  • Verifying your scope measurement bandwidth captures high-frequency transients

2. CTRL_PWR_EN_MOCI Management

Pin 214 (CTRL_PWR_EN_MOCI) is an output from the module that enables carrier board peripheral rails(1). During power transitions, briefly de-asserting this signal before switching sources can help prevent feedback into the module’s power management circuitry.

3. Software Power Button Disable

While you mentioned disabling the power button in software, ensure you’re also handling the PMIC configuration to prevent hardware-level triggers during transitions. The PMIC operates independently of the OS during emergency scenarios(1).

4. Avoid External Pullups on Pin 248

Do not use external pullups on pin 248. The internal circuitry is designed to handle this signal autonomously. External components interfere with the pulse generator and PMIC timing.

Additional Considerations

Could you clarify which version of Torizon OS or BSP you’re running? This will help determine if there are any software-level power management configurations that could assist with your use case.

Also, verify that your super capacitor voltage remains stable during the entire switching transition—not just at VCC, but also at any intermediate regulation stages in your carrier board design.

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

  1. These screenshots shows there is no voltage drop below the specified 3.135V.

  1. I can not de-asserting a module output. Or can you tell me how to do?
  2. This was tested for finding the root case, not as solution.
  3. This information do not help for a solution.
    Our system has removed most for the function not required commands. So tdx-info is not available.

Best regards,
Manfred

Thank you for the additional details and oscilloscope captures. Your measurements confirm VCC remains well above the 3.135V minimum threshold during switching, which rules out voltage sag as the trigger.

Analysis of Your Specific Issue

Based on your scope traces showing clean VCC transitions, the problem likely stems from the internal pulse generator circuit on the module. This circuit is designed to generate a power button press when VCC is first applied(1), but it may be sensitive to the rate of voltage change or transient characteristics during your super capacitor switching—even when absolute voltage levels remain valid.

Regarding CTRL_PWR_EN_MOCI (Pin 214)

You’re correct that pin 214 (CTRL_PWR_EN_MOCI) is a module output, not an input you can directly control from the carrier board(2). This signal is controlled by the module’s PMIC and SoC to enable carrier board peripheral power rails(2). I apologize for the confusion in my previous response—you cannot de-assert this signal from the carrier board side.

Root Cause Hypothesis

Since your VCC remains stable and pin 248 is not connected, the issue likely involves:

  1. PMIC sensitivity to dV/dt: The PCA9450C PMIC may interpret the transient characteristics of your power source switching as a power interruption event, even though voltage levels remain valid
  2. Internal pulse generator triggering: The pulse generator circuit may be responding to characteristics of the switching event that aren’t visible as simple voltage drops

Potential Solutions

1. CTRL_FORCE_OFF_MOCI# Signal Behavior

The CTRL_FORCE_OFF_MOCI# signal (pin 250) is designed to kill the main power rail and includes a ~1.5 second delay after PMIC power-off to prevent false triggers during reset cycles(1). However, this signal is an output from the module.

If your carrier board’s power switching circuit is monitoring or responding to this signal, ensure it ignores CTRL_FORCE_OFF_MOCI# transitions during your controlled power source switching.

2. VCC Input Capacitance

While your scope shows stable voltage, ensure you have sufficient bulk capacitance directly at the module’s VCC pins (251, 253, 255, 257, 259)(2). The datasheet recommends using decoupling capacitors on the carrier board(2). During super capacitor switching, additional bulk capacitance (e.g., 100µF-470µF ceramic or low-ESR electrolytic) placed very close to the module connector may help dampen any high-frequency transients not visible on your scope.

3. Pin 248 Floating vs. Defined State

You mentioned pin 248 is not connected. The module has an internal 100k pull-up to the 1.8V SNVS rail(2). Leaving it floating is acceptable per the datasheet(2), but during power transitions, electromagnetic coupling or board-level noise could induce transients on this high-impedance input.

Instead of adding external pullups (which you’ve found problematic), consider:

  • Short, direct trace from pin 248 to a nearby GND via a 100nF capacitor to provide AC coupling to ground while maintaining the DC floating state
  • This filters high-frequency noise without fighting the internal pull-up or pulse generator circuit

4. CTRL_RESET_MICO# (Pin 260) Behavior

You mentioned adding a pullup to pin 260 interfered with reset functionality. This is expected—pin 260 has an internal 100k pull-up to the 1.8V SNVS rail(2) and connects to the PMIC_RST_B input of the PCA9450C PMIC(2). When pulled low, it triggers a complete power-down followed by power-up sequence(2).

Do not add external pullups to pin 260. Leave it floating as designed(2).

Additional Diagnostic Steps

Since you’ve removed tdx-info and other diagnostic tools, could you clarify:

  1. What is the exact behavior? Does the module:

    • Completely power down and require manual restart?
    • Automatically reboot after the switching event?
    • Enter a halted state requiring power cycle?
  2. Timing: Does the issue occur:

    • Immediately during the switch?
    • Within a specific time window after switching?
    • Randomly during or after switching?
  3. Super Capacitor Switching Method: Are you using:

    • Ideal diodes / ORing MOSFETs?
    • Mechanical relays?
    • Solid-state switches?

Understanding these details will help identify whether the issue is related to switching transients, PMIC state machine behavior, or electromagnetic interference during the transition.

Hardware Filtering Recommendation

Based on the Apalis Carrier Board Design Guide principles(3), ensure your power switching circuit minimizes any potential backfeeding or reverse current paths during transitions. Even brief reverse currents through body diodes or protection circuits can create voltage perturbations that trigger the PMIC’s protection mechanisms.

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

  1. Shut down. The last message is: “[ 92.065645] reboot: Power down”
    2. I looks like it occurs when the supply voltage is rising again.
    3. A TPS2121 is used.

Hello @imx8,

I think you are hitting the HAR-10710 known issue:

A sudden change in the computer module input voltage might involuntarily activate the CTRL_PWR_BTN_MICO# signal that, by default, will initiate the software shutdown or wake the system from the sleep state.

The recommended workaround is to change the behavior of the power button in software.
The device tree node that configures this signal is the snvs_pwrkey, you can check the default configuration here.

This should be resolved in a future revision of the SoM, but there is no confirmed date for that yet.

Best Regards,
Bruno