<?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[AXP2101 not working properly CoreS3 with battery.]]></title><description><![CDATA[<p dir="auto">We are using the M5 Stack with ESP-IDF. We have a CoreS3, Battery module and a CatM module.</p>
<p dir="auto">After running in the field for a while. some device are not coming online anymore.</p>
<p dir="auto">We tried resetting the device on location without success.<br />
The only way to properly reset the functionality is to unmount the battery and remount is (Making sure no power is going to the M5Stack.)</p>
<p dir="auto">We can also not fix the device be rewriting firmware.</p>
<p dir="auto">It turns out the power chip (Axp2101) isn't responding properly anymore. When we send command to it, it doesn't seem to work. (Sending 0x01 to 0x10 should power off the device, this doesn't happen).</p>
<p dir="auto">It's not a I2C problem, we can succesfully contact the RTC and the IMU on the same bus.</p>
<p dir="auto">We can write new firmware and flash it and the problem still occusrs, i can run some tests to get to the bottom of it.</p>
<p dir="auto">We've compared registers in the AXP2101 from a good sample and a bad sample.</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>register</th>
<th>good sample</th>
<th>bad sample</th>
</tr>
</thead>
<tbody>
<tr>
<td>0x00</td>
<td>0x38</td>
<td>0x30</td>
</tr>
<tr>
<td>0x01</td>
<td>0x32</td>
<td>0x4E</td>
</tr>
<tr>
<td>0x03</td>
<td>0x4A</td>
<td>0x0C</td>
</tr>
<tr>
<td>0x04</td>
<td>0x00</td>
<td>0x78</td>
</tr>
<tr>
<td>0x05</td>
<td>0x00</td>
<td>0x7E</td>
</tr>
<tr>
<td>0x06</td>
<td>0x00</td>
<td>0xED</td>
</tr>
<tr>
<td>0x07</td>
<td>0x00</td>
<td>0xF9</td>
</tr>
<tr>
<td>0x10</td>
<td>0x30</td>
<td>0x64</td>
</tr>
<tr>
<td>0x12</td>
<td>0x00</td>
<td>0x8D</td>
</tr>
<tr>
<td>0x13</td>
<td>0x03</td>
<td>0x73</td>
</tr>
<tr>
<td>0x14</td>
<td>0x65</td>
<td>0x7E</td>
</tr>
<tr>
<td>0x15</td>
<td>0x06</td>
<td>0x95</td>
</tr>
<tr>
<td>0x16</td>
<td>0x04</td>
<td>0xE3</td>
</tr>
<tr>
<td>0x17</td>
<td>0x00</td>
<td>0x0E</td>
</tr>
<tr>
<td>0x18</td>
<td>0x0A</td>
<td>0x70</td>
</tr>
<tr>
<td>0x19</td>
<td>0x06</td>
<td>0xF4</td>
</tr>
<tr>
<td>0x1A</td>
<td>0xA1</td>
<td>0x00</td>
</tr>
<tr>
<td>0x20</td>
<td>0x04</td>
<td>0x00</td>
</tr>
<tr>
<td>0x21</td>
<td>0x20</td>
<td>0x00</td>
</tr>
<tr>
<td>0x23</td>
<td>0x3F</td>
<td>0x00</td>
</tr>
<tr>
<td>0x24</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x25</td>
<td>0x18</td>
<td>0x00</td>
</tr>
<tr>
<td>0x26</td>
<td>0x08</td>
<td>0x00</td>
</tr>
<tr>
<td>0x27</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x28</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x29</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x2A</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x2B</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x30</td>
<td>0x0F</td>
<td>0x00</td>
</tr>
<tr>
<td>0x34</td>
<td>0x0C</td>
<td>0x00</td>
</tr>
<tr>
<td>0x35</td>
<td>0xD8</td>
<td>0x00</td>
</tr>
<tr>
<td>0x36</td>
<td>0x81</td>
<td>0x00</td>
</tr>
<tr>
<td>0x37</td>
<td>0xF8</td>
<td>0x00</td>
</tr>
<tr>
<td>0x38</td>
<td>0x13</td>
<td>0x00</td>
</tr>
<tr>
<td>0x39</td>
<td>0x62</td>
<td>0x00</td>
</tr>
<tr>
<td>0x3A</td>
<td>0x0E</td>
<td>0x00</td>
</tr>
<tr>
<td>0x3B</td>
<td>0x80</td>
<td>0x00</td>
</tr>
<tr>
<td>0x3C</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x3D</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x40</td>
<td>0xFF</td>
<td>0x00</td>
</tr>
<tr>
<td>0x41</td>
<td>0xFC</td>
<td>0x00</td>
</tr>
<tr>
<td>0x42</td>
<td>0x5F</td>
<td>0x00</td>
</tr>
<tr>
<td>0x48</td>
<td>0x50</td>
<td>0x00</td>
</tr>
<tr>
<td>0x49</td>
<td>0xA3</td>
<td>0x00</td>
</tr>
<tr>
<td>0x4A</td>
<td>0x28</td>
<td>0x00</td>
</tr>
<tr>
<td>0x50</td>
<td>0x1A</td>
<td>0x00</td>
</tr>
<tr>
<td>0x52</td>
<td>0x02</td>
<td>0x00</td>
</tr>
<tr>
<td>0x53</td>
<td>0x01</td>
<td>0x00</td>
</tr>
<tr>
<td>0x54</td>
<td>0x29</td>
<td>0x00</td>
</tr>
<tr>
<td>0x55</td>
<td>0x58</td>
<td>0x00</td>
</tr>
<tr>
<td>0x56</td>
<td>0x3E</td>
<td>0x00</td>
</tr>
<tr>
<td>0x57</td>
<td>0x4C</td>
<td>0x00</td>
</tr>
<tr>
<td>0x58</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x59</td>
<td>0x14</td>
<td>0x00</td>
</tr>
<tr>
<td>0x5A</td>
<td>0x37</td>
<td>0x00</td>
</tr>
<tr>
<td>0x5B</td>
<td>0x1E</td>
<td>0x00</td>
</tr>
<tr>
<td>0x61</td>
<td>0x05</td>
<td>0x00</td>
</tr>
<tr>
<td>0x62</td>
<td>0x08</td>
<td>0x00</td>
</tr>
<tr>
<td>0x63</td>
<td>0x15</td>
<td>0x00</td>
</tr>
<tr>
<td>0x64</td>
<td>0x03</td>
<td>0x00</td>
</tr>
<tr>
<td>0x65</td>
<td>0x02</td>
<td>0x00</td>
</tr>
<tr>
<td>0x67</td>
<td>0xE6</td>
<td>0x00</td>
</tr>
<tr>
<td>0x68</td>
<td>0x01</td>
<td>0x00</td>
</tr>
<tr>
<td>0x69</td>
<td>0x11</td>
<td>0x00</td>
</tr>
<tr>
<td>0x6A</td>
<td>0x03</td>
<td>0x00</td>
</tr>
<tr>
<td>0x80</td>
<td>0x05</td>
<td>0x00</td>
</tr>
<tr>
<td>0x81</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x82</td>
<td>0x12</td>
<td>0x00</td>
</tr>
<tr>
<td>0x83</td>
<td>0x46</td>
<td>0x00</td>
</tr>
<tr>
<td>0x84</td>
<td>0x69</td>
<td>0x00</td>
</tr>
<tr>
<td>0x85</td>
<td>0x64</td>
<td>0x00</td>
</tr>
<tr>
<td>0x86</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x90</td>
<td>0xBF</td>
<td>0x00</td>
</tr>
<tr>
<td>0x91</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x92</td>
<td>0x0D</td>
<td>0x00</td>
</tr>
<tr>
<td>0x93</td>
<td>0x1C</td>
<td>0x00</td>
</tr>
<tr>
<td>0x94</td>
<td>0x1C</td>
<td>0x00</td>
</tr>
<tr>
<td>0x95</td>
<td>0x1C</td>
<td>0x00</td>
</tr>
<tr>
<td>0x96</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x97</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0x98</td>
<td>0x0E</td>
<td>0x00</td>
</tr>
<tr>
<td>0x99</td>
<td>0x18</td>
<td>0x00</td>
</tr>
<tr>
<td>0x9A</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0xA1</td>
<td>0xFA</td>
<td>0x00</td>
</tr>
<tr>
<td>0xA2</td>
<td>0x00</td>
<td>0x00</td>
</tr>
<tr>
<td>0xA3</td>
<td>0x32</td>
<td>0x00</td>
</tr>
</tbody>
</table>
<p dir="auto">What could cause this behaviour?</p>
<p dir="auto">How can it be resolved (using software preferably)</p>
]]></description><link>https://community.m5stack.com/topic/7849/axp2101-not-working-properly-cores3-with-battery</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:48:02 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7849.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Oct 2025 09:01:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to AXP2101 not working properly CoreS3 with battery. on Tue, 07 Oct 2025 14:09:51 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/rubberduck" aria-label="Profile: RubberDuck">@<bdi>RubberDuck</bdi></a></p>
<p dir="auto">I can confirm the shark fin like signals on my M5CoreS3. I am no I2C expert, but I think they might be marginal and so maybe just barely working on one M5CoreS3 but not on the other when talking to AXP2101. Maybe a stronger pull-up resistor might help?</p>
<p dir="auto">BTW: I checked the I2C SCL line on an M5Core2 and it is much more rectangular, e.g. much more like I would expect it.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/30048</link><guid isPermaLink="true">https://community.m5stack.com/post/30048</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 07 Oct 2025 14:09:51 GMT</pubDate></item><item><title><![CDATA[Reply to AXP2101 not working properly CoreS3 with battery. on Tue, 07 Oct 2025 11:52:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a></p>
<p dir="auto">The data seems to be random indeed, however, it is always the same.<br />
We did notice shark fin like signals on the i2c lines on 400k. We reduced it to 100k but the results stayed the same. We do not believe that the bad signal quality is causing the current issue we are having. On a good working board the signals look identical.</p>
<p dir="auto">For reference, here is inmage of the signal quality of the SCL/SDA line on 400k speed on the good board.:</p>
<p dir="auto"><img src="/assets/uploads/files/1759837891698-image.jpg" alt="Image.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">The register values are taken with 100000 speed.<br />
I think i forgot register 0x22. I've tested it and added it here:</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>reg</th>
<th>good sample</th>
<th>bad sample</th>
</tr>
</thead>
<tbody>
<tr>
<td>0x22</td>
<td>0x06</td>
<td>0x00</td>
</tr>
</tbody>
</table>
<p dir="auto">We've also tested writing the value 0 to 10 on register 0x04. On the good board we can read back the correct value. But on the bad board it always returns 0x78</p>
]]></description><link>https://community.m5stack.com/post/30047</link><guid isPermaLink="true">https://community.m5stack.com/post/30047</guid><dc:creator><![CDATA[RubberDuck]]></dc:creator><pubDate>Tue, 07 Oct 2025 11:52:16 GMT</pubDate></item><item><title><![CDATA[Reply to AXP2101 not working properly CoreS3 with battery. on Tue, 07 Oct 2025 10:45:48 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/rubberduck" aria-label="Profile: RubberDuck">@<bdi>RubberDuck</bdi></a></p>
<p dir="auto">just curious, any particular reason you did not read out register 0x22? It is my understanding that this register determines whether the system powers off or does a reset when writing 0x01 to register 0x10.</p>
<p dir="auto">Also curious, when the issue happens, is the battery full or close to be fully discharged?</p>
<p dir="auto">The register values of the bad AXP2101 seem to be random. Have you tried to lower the I2C bus speed?</p>
<p dir="auto">In my experience seemingly random issues often stem from bad / not sufficient power supply. Is the battery in good shape?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/30046</link><guid isPermaLink="true">https://community.m5stack.com/post/30046</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 07 Oct 2025 10:45:48 GMT</pubDate></item></channel></rss>