<?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>MCUXpresso Config ToolsのトピックRe: LPC553x: Peripherals Tool does not power VREF</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1747209#M1748</link>
    <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/139806"&gt;@danielholala&lt;/a&gt;,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P class="lia-align-justify"&gt;&lt;EM&gt;As the ADC / DAC is not working without VREF enabled, I think this warrants an "error" level.&lt;/EM&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P class="lia-align-justify"&gt;In the &lt;A href="https://cache.nxp.com/docs/en/reference-manual/LPC553xRM.pdf" target="_blank"&gt;LPC553x Reference Manual&lt;/A&gt;. Section 47.1.1. ADC subsystem Introduction., it is mentioned that VREF would be desirable for proper ADC operation, but not entirely necessary. Even if it is not recommended to use the ADC without VREF, it is not mandatory.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Thank you for the feedback, we appreciate it and take it into account to provide a better support.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2023 15:44:41 GMT</pubDate>
    <dc:creator>RaRo</dc:creator>
    <dc:date>2023-10-26T15:44:41Z</dc:date>
    <item>
      <title>LPC553x: Peripherals Tool does not power VREF</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1740503#M1739</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I observed this issue using MCUXpresso IDE 11.8.0, SDK 2.14.0 for LPC5536.&lt;/P&gt;&lt;P&gt;To use &lt;A href="https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-ADC-VREF-dependency/m-p/1653977" target="_self"&gt;ADC&lt;/A&gt; or &lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC5536-on-DAC-current-sources-ZTC-PTAT/m-p/1739492" target="_self"&gt;DAC&lt;/A&gt;&amp;nbsp;of LPC553x you have to enable VREF.&lt;/P&gt;&lt;P&gt;If you enable VREF using Peripherals Tool, you'll get these lines of code added:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;const vref_config_t VREF_config = {
  .bufferMode = kVREF_ModeHighPowerBuffer,
  .enableLowPowerBuff = true,
  .enableInternalVoltageRegulator = true,
  .enableChopOscillator = true,
  .enableHCBandgap = true,
  .enableCurvatureCompensation = true
};

static void VREF_init(void) {
  /* VREF peripheral initialization */
  VREF_Init(VREF_PERIPHERAL, &amp;amp;VREF_config);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is insufficient as it does not power on VREF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to call&lt;/P&gt;&lt;LI-CODE lang="c"&gt;        /* Enable internal voltage reference */
        POWER_DisablePD(kPDRUNCFG_PD_VREF);&lt;/LI-CODE&gt;&lt;P&gt;before &lt;FONT face="courier new,courier"&gt;VREF_init()&lt;/FONT&gt; is called.&lt;/P&gt;&lt;P&gt;At least that worked for me.&lt;/P&gt;&lt;P&gt;I consider this a bug in Peripherals Tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 14:41:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1740503#M1739</guid>
      <dc:creator>danielholala</dc:creator>
      <dc:date>2023-10-16T14:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC553x: Peripherals Tool does not power VREF</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1743854#M1742</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/139806"&gt;@danielholala&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Unfortunately, as you mentioned the &lt;EM&gt;POWER_DisablePD(kPDRUNCFG_PD_xxxx)&lt;/EM&gt; is missing from ConfigTools' Peripherals.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;We have suggested the team in charge to include it in future releases. At the meantime, as you did, you could add the &lt;EM&gt;POWER_DisablePD(kPDRUNCFG_PD_xxxx)&lt;/EM&gt; after finishing your ConfigTools' configuration.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Thank you for letting us know about this.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Kind regards, Raul.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 18:36:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1743854#M1742</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2023-10-20T18:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC553x: Peripherals Tool does not power VREF</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1745087#M1744</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206649"&gt;@RaRo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for answering my request.&lt;/P&gt;&lt;P&gt;While we are at it, I just figured that enabling VREF is not checked when ADC or DAC is enabled in Peripherals Tool. I expected an error to pop up in Problems view similar to a missing clock, for example.&lt;/P&gt;&lt;P&gt;I suggest that the Peripherals team could look into making VREF a dependency. Does that make sense to you?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 07:51:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1745087#M1744</guid>
      <dc:creator>danielholala</dc:creator>
      <dc:date>2023-10-24T07:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC553x: Peripherals Tool does not power VREF</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1745348#M1746</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/139806"&gt;@danielholala&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Just for double check, instead of just having it like a warning related to the ADC after initializing both DAC and ADC modules, do you suggest it be shown as an Error like the &lt;EM&gt;CAN_clock &lt;/EM&gt;in the following picture?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_0-1698163937032.png" style="width: 497px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/246589i8EC0BCB9FAE45C68/image-dimensions/497x147?v=v2" width="497" height="147" role="button" title="RaulRomero_0-1698163937032.png" alt="RaulRomero_0-1698163937032.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;RaulRomero_0-1698163937032.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;[Peripherals Tool and Problems view]&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 16:15:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1745348#M1746</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2023-10-24T16:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC553x: Peripherals Tool does not power VREF</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1746781#M1747</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206649"&gt;@RaRo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Oh, obviously when I tested the VREF dependency of ADC in Peripheral Tools I tried this on a LPC5528 project by mistake. I just checked on a LPC5536 based project and now I see this warning regarding VREF, too.&lt;/P&gt;&lt;P&gt;Thanks for double checking.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielholala_0-1698305827115.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/246899i94849CDE7F52D884/image-size/large?v=v2&amp;amp;px=999" role="button" title="danielholala_0-1698305827115.png" alt="danielholala_0-1698305827115.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielholala_0-1698305827115.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now the question is whether this notice should be at "warning" or at "error" level. As the ADC / DAC is not working without VREF enabled, I think this warrants an "error" level. Further, I suggest to add a "quick fix" (via context menu) to enable VREF, similar to the "inactive clock" error.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 07:40:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1746781#M1747</guid>
      <dc:creator>danielholala</dc:creator>
      <dc:date>2023-10-26T07:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPC553x: Peripherals Tool does not power VREF</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1747209#M1748</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/139806"&gt;@danielholala&lt;/a&gt;,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P class="lia-align-justify"&gt;&lt;EM&gt;As the ADC / DAC is not working without VREF enabled, I think this warrants an "error" level.&lt;/EM&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P class="lia-align-justify"&gt;In the &lt;A href="https://cache.nxp.com/docs/en/reference-manual/LPC553xRM.pdf" target="_blank"&gt;LPC553x Reference Manual&lt;/A&gt;. Section 47.1.1. ADC subsystem Introduction., it is mentioned that VREF would be desirable for proper ADC operation, but not entirely necessary. Even if it is not recommended to use the ADC without VREF, it is not mandatory.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Thank you for the feedback, we appreciate it and take it into account to provide a better support.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 15:44:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC553x-Peripherals-Tool-does-not-power-VREF/m-p/1747209#M1748</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2023-10-26T15:44:41Z</dc:date>
    </item>
  </channel>
</rss>

