IMX8M Plus not charging rechargeable RTC Coin Cell

Hi,

We have developed a carrier board for the verdin family. I have noticed that the SOM is not recharging the rechargeable lithium coin cell for RTC backup. Is there a setting in the IMX8M+ that needs to be set to enable this charging.

The Circuit is set up as described in the IMX8M+ datasheet with a 47kohm resistor between VCC_Backup (pin 249) at the SOM and the coin cell.

I am seeing the voltage at the coin cell approximately 0.011V higher than the voltage measured on the other side of the resistor.

Any help will be appreciated,

George

Hi, I’m the Toradex AI Assistant.

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


Hi George,

RTC Backup Battery Charging on Verdin iMX8M Plus

Based on the Verdin iMX8M Plus V1.1 datasheet, the RTC charging functionality should work automatically when the module’s main voltage is available(1).

How the RTC Charging Works

The onboard RTC on the Verdin iMX8M Plus is designed to automatically recharge a supercapacitor or rechargeable battery via the VCC_BACKUP pin when the module’s main voltage is present(1). The charging current is intentionally limited to less than 500µA at 3V(1).

Circuit Requirements

Your circuit setup appears correct according to the datasheet specifications(1):

  • 47kΩ current-limiting resistor between the battery and VCC_BACKUP
  • Connection to VCC_BACKUP (pin 249)

Important Warning: The datasheet specifically states that when using the recharging capabilities, a current-limiting resistor with a value >47kΩ must be added between the battery and VCC_BACKUP(1). If a resistor with lower resistance is used, the module will fail to boot(1).

Troubleshooting Your Issue

The voltage difference you’re measuring (0.011V) across the 47kΩ resistor suggests there is minimal current flow. Here are some considerations:

  1. Check Main Power Supply: The RTC charging only occurs when the module’s main power supply is provided(1)
  2. Battery State: If your rechargeable coin cell is already near full charge, the charging current will be very low
  3. Higher Charging Current: If you need higher charging current, the datasheet mentions it’s possible to implement a charging circuit on the carrier board(1)

No Software Configuration Required

The RTC charging functionality appears to be hardware-controlled and automatic - there’s no mention in the documentation of software settings required to enable this feature(1).

If the charging still isn’t working as expected, you may want to verify that your rechargeable coin cell is functioning properly and that the main power supply to the module is stable.

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.

Hello @G_Third,

What is the voltage of the RTC battery you are currently measuring?
Also, which version of the Verdin iMX8MP are you using? Could you provide me with the serial number or full product name as printed on the label?

Best Regards,
Bruno

2.649V at the Cell

2.638V on the other side of the resistor. (SOM side pin 249)

Verdin iMX8MP Q 4GB WB IT

V1.1B

15646658

Hello @G_Third,

Thanks for the clarification.
The Verdin iMX8MP has an RX8130 RTC onboard.
You can see the definition on the device tree here: imx95-verdin.dtsi « freescale « dts « boot « arm64 « arch - linux-toradex.git - Linux kernel for Apalis, Colibri and Verdin modules

To enable the charging functionality of this RTC, you need to add the aux-voltage-chargeable property to the rtc_i2c node on the device tree or a device tree overlay.
This is documented here: rtc.yaml « rtc « bindings « devicetree « Documentation - linux-toradex.git - Linux kernel for Apalis, Colibri and Verdin modules

For more information on device tree customization or device tree overlays, I recommend checking the following documentation:

As just adding an overlay should be enough, I would recommend going that way if your board has no other requirements for a custom device tree.

Best Regards,
Bruno