<?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>topic Re: NHS3152: NFC powering - GPIO current in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/NHS3152-NFC-powering-GPIO-current/m-p/1753447#M19993</link>
    <description>&lt;P&gt;Hi CyrilBZH,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Correct. However, with the fix, checking the voltage with an oscilloscope is highly advisable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Patrick&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2023 10:26:55 GMT</pubDate>
    <dc:creator>patrickgeens</dc:creator>
    <dc:date>2023-11-07T10:26:55Z</dc:date>
    <item>
      <title>NHS3152: NFC powering - GPIO current</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NHS3152-NFC-powering-GPIO-current/m-p/1748620#M19855</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;can you tell me what is the maximum current the high-drive current GPIO can deliver to the load when the chip is NFC powered?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Cyril&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 09:55:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NHS3152-NFC-powering-GPIO-current/m-p/1748620#M19855</guid>
      <dc:creator>CyrilBZH</dc:creator>
      <dc:date>2023-10-30T09:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: NHS3152: NFC powering - GPIO current</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NHS3152-NFC-powering-GPIO-current/m-p/1751124#M19915</link>
      <description>&lt;P&gt;Hello Cyril,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The usable voltage and current from the GPIO pins is mainly limited by the following factors:&lt;/P&gt;
&lt;P&gt;- the NFC power supply is like a 1.85V supply with an approximate 200 ohm impedance.&lt;/P&gt;
&lt;P&gt;- during NFC reader to tag data communication, for 3 out of 4 bits (simplified), the NFC field is interrupted for 3us. During these 3us periods, there is no energy transfer and the tag has to survive on charge stored in internal capacitance (about 2.5nF). The internal voltage steadily decreases due to this capacitance being discharged by the total current (internal plus external). If the voltage at the end of the gap is too low for components to work, either the current has to be decreased (switching off unnecessary blocks, decreasing system clock frequency) or the capacitance increased. An option is to add extra buffering capacitance to GPIO pins set to output mode high. You need to pre-charge these caps via the internal pad pull-up before switching to output mode, otherwise the discharged cap acts like a short on the internal supply and the chip will reset. (Set the GPIO to input mode with pull-up, delay, read the pin to make sure it reports high, switch to output mode)&lt;/P&gt;
&lt;P&gt;Check the internal supply rail voltage with an oscilloscope on an unused I/O pin (except PIO04/5) in GPIO output mode high. The measured voltage during communication from reader to tag will look similar to the following (yellow = pin voltage, pink =&amp;nbsp; NFC field with wire loop). The drop depth depends on the current drawn.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrickgeens_0-1698926359984.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248147i9B36903936A57858/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrickgeens_0-1698926359984.png" alt="patrickgeens_0-1698926359984.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 12:11:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NHS3152-NFC-powering-GPIO-current/m-p/1751124#M19915</guid>
      <dc:creator>patrickgeens</dc:creator>
      <dc:date>2023-11-02T12:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: NHS3152: NFC powering - GPIO current</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NHS3152-NFC-powering-GPIO-current/m-p/1752875#M19977</link>
      <description>Hello Patrick,&lt;BR /&gt;ok so basically, cponsidering the current consumme by my external device (here an LED) I need to compute the additional storage capacitor needed to maintain the voltage at minimum value (1.6V ? 1.7V?) so that the NHS3152 still works at the end of the 3us period during which no NFC field is used as power source.&lt;BR /&gt;is that correct?&lt;BR /&gt;Thanks&lt;BR /&gt;Cyril</description>
      <pubDate>Mon, 06 Nov 2023 14:08:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NHS3152-NFC-powering-GPIO-current/m-p/1752875#M19977</guid>
      <dc:creator>CyrilBZH</dc:creator>
      <dc:date>2023-11-06T14:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: NHS3152: NFC powering - GPIO current</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NHS3152-NFC-powering-GPIO-current/m-p/1753447#M19993</link>
      <description>&lt;P&gt;Hi CyrilBZH,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Correct. However, with the fix, checking the voltage with an oscilloscope is highly advisable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 10:26:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NHS3152-NFC-powering-GPIO-current/m-p/1753447#M19993</guid>
      <dc:creator>patrickgeens</dc:creator>
      <dc:date>2023-11-07T10:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: NHS3152: NFC powering - GPIO current</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/NHS3152-NFC-powering-GPIO-current/m-p/1794109#M20870</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/151405"&gt;@patrickgeens&lt;/a&gt;&amp;nbsp;#nhs3152&lt;/P&gt;&lt;P&gt;I am working on ironing out a charge routine for supplementary capacitance. I have a couple of questions:&lt;/P&gt;&lt;P&gt;(1) You state: "&lt;SPAN&gt;You need to pre-charge these caps via the internal pad pull-up before switching to output mode, otherwise the discharged cap acts like a short on the internal supply and the chip will reset." Indeed, I have noticed this effective short. Why is this the case?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;(2) Using the suggested charge routine gives an odd result:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="scope_17.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/259712i9A922387F95ABA37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scope_17.png" alt="scope_17.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here, the controller is powered via VDDBAT (really a power supply). What's odd is that the pin / capacitor charge to a junction drop initially, rather than to the supplied voltage (2V). Any idea why that might be? As you can see, this is somewhat moot in the sense that it does jump to 2V when switched to output + high.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="scope_16.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/259715iED227E2865209715/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scope_16.png" alt="scope_16.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, this does&amp;nbsp;&lt;U&gt;not&lt;/U&gt; occur when powered with the RF field of a Sony RC-S380.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the function call handling this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void charge_cap(void){
    Chip_IOCON_SetPinConfig(NSS_IOCON, IOCON_PIO0_3 , IOCON_FUNC_0 | IOCON_RMODE_PULLUP);
    Chip_IOCON_SetPinConfig(NSS_IOCON, IOCON_PIO0_7 , IOCON_FUNC_0 | IOCON_RMODE_PULLUP);
    Chip_GPIO_SetPinDIRInput(NSS_GPIO, 0, IOCON_PIO0_3);
    Chip_GPIO_SetPinDIRInput(NSS_GPIO, 0, IOCON_PIO0_7);
    Chip_Clock_System_BusyWait_ms(500); // charge 10 uF capacitor
    Chip_GPIO_SetPinDIROutput(NSS_GPIO, 0, IOCON_PIO0_3);
    Chip_GPIO_SetPinDIROutput(NSS_GPIO, 0, IOCON_PIO0_7);
    Chip_GPIO_SetPinOutHigh(NSS_GPIO, 0, IOCON_PIO0_3);
    Chip_GPIO_SetPinOutHigh(NSS_GPIO, 0, IOCON_PIO0_7);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple of other notes:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Both PIO0_3 and PIO0_7 are connected to one external capacitance.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;The capacitor is intended to power a small number of other components.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Do you have a suggestion for how to adjust the charge routine to work with RF power?&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 21:30:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/NHS3152-NFC-powering-GPIO-current/m-p/1794109#M20870</guid>
      <dc:creator>jesmith</dc:creator>
      <dc:date>2024-01-23T21:30:04Z</dc:date>
    </item>
  </channel>
</rss>

