<?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: LPC54608 ADC locks in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-ADC-locks/m-p/1312694#M45950</link>
    <description>&lt;P&gt;Thank you very much Omar,&lt;/P&gt;&lt;P&gt;Now we have transils at the inputs (to limit a 3V3) but we can try with lower voltage transils since our reference voltage for the ADC is 2V5.&lt;/P&gt;&lt;P&gt;We will add as well more capacitance to inputs, VDDA a VREFP. Specially low value ceramic capacitors to work well at high frequency.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jul 2021 16:34:35 GMT</pubDate>
    <dc:creator>F_Vaquero</dc:creator>
    <dc:date>2021-07-23T16:34:35Z</dc:date>
    <item>
      <title>LPC54608 ADC locks</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-ADC-locks/m-p/1310062#M45899</link>
      <description>&lt;P&gt;I'm using the LPC54608 ADC with MCUXpresso and everything is working fine until I test some ESD at the proximity of the board. Sometimes, at the ESD, I see that the converter locks in the while statement that I have to wait until the conversion is done.&lt;/P&gt;&lt;P&gt;I'm working with 180MHz system clock and synchronous ADC clock at 60MHz. This is the code to do the conversion:&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;uint16_t ad_PointsConversion(void){&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; adc_result_info_t adcResultInfoStruct;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; adc_conv_seq_config_t adcConvSeqConfigStruct;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; uint32_t result;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; adcConvSeqConfigStruct.channelMask = (1U);/* Internal temperature sensor channel*/&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; adcConvSeqConfigStruct.triggerMask &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0U;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; adcConvSeqConfigStruct.triggerPolarity &amp;nbsp;= kADC_TriggerPolarityNegativeEdge;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; adcConvSeqConfigStruct.enableSingleStep = false;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; adcConvSeqConfigStruct.enableSyncBypass = false;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; adcConvSeqConfigStruct.interruptMode &amp;nbsp; &amp;nbsp;= kADC_InterruptForEachSequence;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; ADC_SetConvSeqAConfig(AD_ADC_BASE, &amp;amp;adcConvSeqConfigStruct);&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; ADC_EnableConvSeqA(AD_ADC_BASE, true); /* Enable the conversion sequence A. */&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; /* Clear the result register. */&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; ADC_GetConvSeqAGlobalConversionResult(AD_ADC_BASE, &amp;amp;adcResultInfoStruct);&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; ADC_DoSoftwareTriggerConvSeqA(AD_ADC_BASE);&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; while (!ADC_GetConvSeqAGlobalConversionResult(AD_ADC_BASE, &amp;amp;adcResultInfoStruct))&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; {&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; }&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; result = adcResultInfoStruct.result;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; ADC_EnableConvSeqA(AD_ADC_BASE, false); /* Disable the conversion sequence A. */&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;return result;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes, I can recover the ADC with a new ESD. Is there any reported issue about ADC locking due to noise at VREFP or AVDD? Any idea to avoid this locking?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 21:08:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-ADC-locks/m-p/1310062#M45899</guid>
      <dc:creator>F_Vaquero</dc:creator>
      <dc:date>2021-07-19T21:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 ADC locks</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-ADC-locks/m-p/1312231#M45941</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Hope you are well. &lt;BR /&gt;I have seen a similar behavior in this case: &lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-ADC-reading-invalid/td-p/1295336" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/LPC54628-ADC-reading-invalid/td-p/1295336&lt;/A&gt;&lt;BR /&gt;Signals in the pin above the VDDA might be causing the issue you are having.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;I suggest you to have a protection circuit for the pin and the supply voltage. Variations and over-voltage on the supply pin can cause unexpected behaviors of the device.&lt;BR /&gt;&lt;BR /&gt;If you have more questions do not hesitate to ask me. &lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 23:01:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-ADC-locks/m-p/1312231#M45941</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2021-07-22T23:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 ADC locks</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-ADC-locks/m-p/1312694#M45950</link>
      <description>&lt;P&gt;Thank you very much Omar,&lt;/P&gt;&lt;P&gt;Now we have transils at the inputs (to limit a 3V3) but we can try with lower voltage transils since our reference voltage for the ADC is 2V5.&lt;/P&gt;&lt;P&gt;We will add as well more capacitance to inputs, VDDA a VREFP. Specially low value ceramic capacitors to work well at high frequency.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 16:34:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-ADC-locks/m-p/1312694#M45950</guid>
      <dc:creator>F_Vaquero</dc:creator>
      <dc:date>2021-07-23T16:34:35Z</dc:date>
    </item>
  </channel>
</rss>

