<?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>Wireless MCUのトピックRe: Using Battery Monitor in QN9080</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023692#M8772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reference is the voltage against which the ADC will compare the input voltage to get a reading.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reading on the battery terminal is accurate to a certain degree, and could vary because of additional resistors connected to the power line. There may be a resistor on the path causing a voltage loss, thus reducing the reading by the 200 mV&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2020 19:32:16 GMT</pubDate>
    <dc:creator>Sebastian_Del_Rio</dc:creator>
    <dc:date>2020-03-17T19:32:16Z</dc:date>
    <item>
      <title>Using Battery Monitor in QN9080</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023684#M8764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I am Using QN9080 and want to use the Battery Monitor to be able to get battery levels at any time&lt;/P&gt;&lt;P&gt;I am trying to edit &lt;STRONG&gt;ADC Temperature senor Example&amp;nbsp;&lt;/STRONG&gt; but I think it is not as simple as just changing the ADC Channel&amp;nbsp; fromm13 to 14,&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I wish to know the Battery Monitor ADC Configuration or If available an Example that actually use this feature,&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 13:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023684#M8764</guid>
      <dc:creator>karim_osama</dc:creator>
      <dc:date>2020-02-27T13:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Battery Monitor in QN9080</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023685#M8765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karim, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The battery monitor is a regular ADC channel, and measurements are taken like on any other ADC channel. It is connected to the equivalent of VCC/4, and the measurement can indicate fall of voltage from the battery, assuming VCC is the current voltage of the connected battery.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the voltage value is critically low, as set by the application, the MCU can be instructed to act a certain way, or to perform a certain set of actions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More information about the ADC peripheral of the QN9080 can be read in the QN0908x user manual, which can be found &lt;A href="https://www.nxp.com/products/wireless/bluetooth-low-energy/qn908x-ultra-low-power-bluetooth-low-energy-system-on-chip-solution:QN9080?tab=Documentation_Tab"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's also a QN908x ADC configuration guide Application Note, which can be found &lt;A href="https://www.nxp.com/docs/en/nxp/application-notes/AN12232.pdf"&gt;here&lt;/A&gt;, explaining other considerations related to ADC use on this MCU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 23:21:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023685#M8765</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-03-02T23:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using Battery Monitor in QN9080</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023686#M8766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Sebastian for your Reply,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;for my current configurations which are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;- Using VCC as Ref Voltage, and Gain = 1, and the readings for 3 volts is 2.9V and for the 2.5 volts and less they are 3V!,&amp;nbsp;&lt;BR /&gt;So, I&amp;nbsp;want to ensure some Points:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1- Should I use the internal 1.2 as ref or VCC or it does not matter?&lt;BR /&gt;2- The result of&amp;nbsp;&lt;STRONG&gt;ADC_ConversionResult2Mv&lt;/STRONG&gt;&amp;nbsp;should be Multiplied by 4 to get the Actual Battery Level?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Karim&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 11:47:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023686#M8766</guid>
      <dc:creator>karim_osama</dc:creator>
      <dc:date>2020-03-03T11:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using Battery Monitor in QN9080</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023687#M8767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As some additional notes, and to answer your questions:&lt;/P&gt;&lt;UL type="disc"&gt;&lt;LI&gt;The readings from channel 14 correspond to VCC/4, so to get the actual VCC value, the reading would need to be multiplied by 4.&lt;/LI&gt;&lt;LI&gt;If the supply voltage for the MCU is regulated to maintain a constant value, the VCC/4 reading is constant and cannot be used to tell battery level. If this is the case for your application, another ADC channel will have to be used to monitor the battery, which may involve connecting an additional voltage divider circuit to divide the supply voltage to fit in the dynamic range of the ADC.&lt;/LI&gt;&lt;LI&gt;Reference for the Battery Monitor channel should be GND.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2020 16:53:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023687#M8767</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-03-04T16:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using Battery Monitor in QN9080</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023688#M8768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Sebastian,&lt;BR /&gt;Thanks for your Information,&lt;BR /&gt;I've started with the normal ADC basic example to try to measure an external voltage applied to pins 8 and 9&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;but ALL values are shifted 200 mV&lt;BR /&gt;when the actual readings were 1.2 volts, the ADC output was 1.4 and the offset is linear, although I used the same calibration APIs as in the example, any clue why that offset exists? cause I think I faced that in Battery monitor too&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Karim&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2020 17:00:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023688#M8768</guid>
      <dc:creator>karim_osama</dc:creator>
      <dc:date>2020-03-04T17:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using Battery Monitor in QN9080</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023689#M8769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran the ADC example, and the readings I got were accurate with an error of approximately +-5mV:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96369iD7B0AA74ED3636A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Was the ADC reference changed in any way? Or is the example unchanged?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you continue to have issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 16:39:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023689#M8769</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-03-06T16:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using Battery Monitor in QN9080</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023690#M8770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not found anything in my configuration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Mar 2020 04:28:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023690#M8770</guid>
      <dc:creator>garciaerin2020</dc:creator>
      <dc:date>2020-03-07T04:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using Battery Monitor in QN9080</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023691#M8771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sebastian,&lt;/P&gt;&lt;P&gt;Could you please what do you mean by&amp;nbsp;&lt;STRONG style="background-color: #ffffff; color: #51626f; "&gt;Reference for the Battery Monitor channel should be GND&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I've tried another QN9080 Board to check the Readings&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;When it is connected by Cable the Battery Monitor gives me 3.2 Volts (after multiplying by 4)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;when applying 3 Volts signal to the Battery Terminals on board the reading is&amp;nbsp;2.8 volts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;any notes on why the readings drop~ 200 mV&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2020 15:48:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023691#M8771</guid>
      <dc:creator>karim_osama</dc:creator>
      <dc:date>2020-03-10T15:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using Battery Monitor in QN9080</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023692#M8772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reference is the voltage against which the ADC will compare the input voltage to get a reading.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reading on the battery terminal is accurate to a certain degree, and could vary because of additional resistors connected to the power line. There may be a resistor on the path causing a voltage loss, thus reducing the reading by the 200 mV&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2020 19:32:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1023692#M8772</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-03-17T19:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using Battery Monitor in QN9080</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1206778#M10524</link>
      <description>&lt;P&gt;Hello Karim.&lt;/P&gt;&lt;P&gt;I am working on a project based on QN9080 and I need to read battery voltage on PA01.&lt;/P&gt;&lt;P&gt;Did you solved your problem?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 09:46:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Using-Battery-Monitor-in-QN9080/m-p/1206778#M10524</guid>
      <dc:creator>davideferrario</dc:creator>
      <dc:date>2021-01-05T09:46:16Z</dc:date>
    </item>
  </channel>
</rss>

