<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: imx28 charging stops</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842610#M129182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BATT_BO bit indicates that there was brownout condition, so charger was&lt;/P&gt;&lt;P&gt;turned off. This may be due to insufficient current for charger, if for example chip&lt;/P&gt;&lt;P&gt;is powered from 5V and some current also is consumed by LDOs, as depicted on&lt;/P&gt;&lt;P&gt;Figure 1. i.MX28 PMU AN4199 Using the i.MX28 Power Management Unit and Battery Charger&lt;/P&gt;&lt;P&gt;may be useful to check sect.5.2.3 Managing Charger and 4P2 Rail attached AN4199.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2018 11:09:27 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-07-24T11:09:27Z</dc:date>
    <item>
      <title>imx28 charging stops</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842609#M129181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a custom gateway using the i.MX28 MCU with both 5V and battery power supply.&lt;/P&gt;&lt;P&gt;The board is running a custom uBoot+Linux solution based on buildroot with our own kernel module to control charging and 5V&amp;lt;-&amp;gt;battery transitions.&lt;/P&gt;&lt;P&gt;Also we have a user space application to monitor battery voltage, battery voltage maintenance and shutdown on low battery. The user space application will regularly check the battery voltage from the LRADC and keep it between 3.8 and 4.1V according to battery and application specific specs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It all seems to works fine but I've received reports of situations where boards with 5V power supply attached where the battery voltage drops like the battery is not being charged.The battery charging works fine again if the gateway is power cycled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've validated the state of the relevant registers without finding any clues of what has happened.&lt;/P&gt;&lt;P&gt;I've made a script to dump all the PMU related registers on a gateway with and without the issue - both running the same software.There are very little differences except for the BATT_BO bit being set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can think of anything that could explain the behaviour I will be grateful.&lt;/P&gt;&lt;P&gt;Is there anything that can shut of the charger except the PWD_BATTCHRG bit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 10:28:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842609#M129181</guid>
      <dc:creator>djernaes</dc:creator>
      <dc:date>2018-07-23T10:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: imx28 charging stops</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842610#M129182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BATT_BO bit indicates that there was brownout condition, so charger was&lt;/P&gt;&lt;P&gt;turned off. This may be due to insufficient current for charger, if for example chip&lt;/P&gt;&lt;P&gt;is powered from 5V and some current also is consumed by LDOs, as depicted on&lt;/P&gt;&lt;P&gt;Figure 1. i.MX28 PMU AN4199 Using the i.MX28 Power Management Unit and Battery Charger&lt;/P&gt;&lt;P&gt;may be useful to check sect.5.2.3 Managing Charger and 4P2 Rail attached AN4199.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 11:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842610#M129182</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-07-24T11:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: imx28 charging stops</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842611#M129183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. If I understand it correctly the BATT_BO bit indicates that charging has been turned of because of lack of power to the battery charger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading the iMX28 reference manual and AN4199 this behaviour is not mentioned - only that the bit is the output of the brownout comparator (which can then be used to trigger and interrupt).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what will be the process for recovering from the situation where BATT_BO bit is set? The HW_POWER_CHARGE register seems unchanged in this situation and toggling the PWD_BATTCHRG bit does not seem to restart the charger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 12:01:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842611#M129183</guid>
      <dc:creator>djernaes</dc:creator>
      <dc:date>2018-07-24T12:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: imx28 charging stops</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842612#M129184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one can try with bit PWD_CHARGE_4P2 register HW_POWER_5VCTRL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 14:43:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842612#M129184</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-07-24T14:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: imx28 charging stops</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842613#M129185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;I'll experiment with toggling PWD_CHARGE_4P2 to recover from the situation although there's a risk of an MCU reset if the battery has already been discharged to a degree where it cannot take over from the 4P2 LinReg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it's not documented I still need to have the functionality of BATT_BO clarified.&lt;/P&gt;&lt;P&gt;The bit is set when there's not enough power for the charger to run. But do you think this could be improved by lowering the charging current used or is it a total brownout that would prevent the charger from functioning even with the lowest charging current?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 10:32:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842613#M129185</guid>
      <dc:creator>djernaes</dc:creator>
      <dc:date>2018-07-26T10:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: imx28 charging stops</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842614#M129186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, I think this could be improved by lowering the charging current&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 11:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx28-charging-stops/m-p/842614#M129186</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-07-26T11:29:37Z</dc:date>
    </item>
  </channel>
</rss>

