Hi Team,
I am working with a Colibri iMX6ULL module on a custom carrier board (Linux version 6.1.142-6.8.3-devel+git.7e69c33e4858 and TDX Wayland with XWayland Upstream 6.8.3-devel-20251008131148+build.0 (kirkstone)). I need assistance with the correct procedure and configuration to properly power off the module and maintain the Real-Time Clock (RTC) and Secure Non-Volatile Storage (SNVS) registers.
My current setup includes the following:
-
The carrier board generates 3.3V from a 5V input.
-
This 3.3V is connected via a Schottky diode to a 1F supercapacitor, which is then connected to the VCC_BAT (Pin 40) of the Colibri module.
The problem I am experiencing is that when I power off the module—either via a software command (poweroff, shutdown) or by directly disconnecting the main power source—the supercapacitor discharges very quickly (in a couple of minutes). This suggests the module is not entering the expected RTC-only or SNVS power-off mode and is instead drawing a high current (likely hundreds of mA) instead of the expected low uA range.
I would like to know the correct and officially supported method to power off the module and ensure it enters the lowest power consumption state (SNVS/RTC-only mode) to keep the RTC and SNVS registers alive.
Specifically, I need guidance on the following:
-
Correct Power-Off Procedure: What is the recommended userspace command or signal sequence to transition the module into the lowest-power SNVS mode?
-
Kernel/Device Tree Configuration: What specific kernel configurations and Device Tree settings (
.dts) are required to correctly enable and utilize the SNVS domain and put the module into this low-power state? -
SNVS Register Access: My goal is to store a power-off timestamp in one of the 32-bit Low Power General Purpose Registers (LPGPRs) within the SNVS domain. Upon the next boot, I need to be able to access this register for logging purposes. Can you provide information or examples on how to correctly write and read these LPGPRs from Linux userspace or the kernel?
Thank you for your time and assistance with this configuration.
Sincerely,
Román