<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[AXP192 coulomb  counter issues]]></title><description><![CDATA[<p dir="auto">I am on a m5stickC and I a trying to use the coulomb counter registers to monitor the battery level.  I started with <a href="PowerWake.ino">https://github.com/m5stack/M5StickC/blob/master/examples/Advanced/AXP192/PowerWake/PowerWake.ino</a> and added <code>M5.Axp.EnableCoulombcounter();</code> at the end of setup.  Then I tried to display the counter output from <code>AXP192::GetCoulombchargeData()</code> and <code>AXP192::GetCoulombdischargeData()</code>.  The issue is that no matter what state the USB charger is in it only displays <code>UINT32_MAX</code>.  This seems like it's wrong or something is not configured correctly.  I was under the impression from the datasheet that you only needed to enable on that register and it was okay.  Is there a step missing?</p>
]]></description><link>https://community.m5stack.com/topic/2434/axp192-coulomb-counter-issues</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 14:24:50 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2434.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 31 Oct 2020 17:04:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to AXP192 coulomb  counter issues on Fri, 16 Apr 2021 09:00:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1">@m5stack</a> said in <a href="/post/10611">AXP192 coulomb counter issues</a>:</p>
<blockquote>
<p dir="auto">it seems like a bug.  I will contact our engineer to solve this problem.</p>
</blockquote>
<p dir="auto">Any progress?</p>
]]></description><link>https://community.m5stack.com/post/13540</link><guid isPermaLink="true">https://community.m5stack.com/post/13540</guid><dc:creator><![CDATA[Kabron]]></dc:creator><pubDate>Fri, 16 Apr 2021 09:00:43 GMT</pubDate></item><item><title><![CDATA[Reply to AXP192 coulomb  counter issues on Thu, 05 Nov 2020 01:54:01 GMT]]></title><description><![CDATA[<p dir="auto">it seems like a bug.  I will contact our engineer to solve this problem.</p>
]]></description><link>https://community.m5stack.com/post/10611</link><guid isPermaLink="true">https://community.m5stack.com/post/10611</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Thu, 05 Nov 2020 01:54:01 GMT</pubDate></item></channel></rss>