<?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: RT 1176 LPADC Problem in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1553639#M22472</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I did reproduce the same issue let me do a report, when I have more information, I will contact you.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 03:27:51 GMT</pubDate>
    <dc:creator>Pavel_Hernandez</dc:creator>
    <dc:date>2022-11-15T03:27:51Z</dc:date>
    <item>
      <title>RT 1176 LPADC Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1547264#M22305</link>
      <description>&lt;P&gt;Hi：NXP&amp;nbsp;&lt;SPAN&gt;TechSupport，I had a similar problem，&lt;/SPAN&gt;&lt;SPAN&gt;I used the ADC1 [N13] GPIO_AD_06 CHANNEL0 and [P17] GPIO_AD_12 CHANNEL3 of the LPADC module, and I found that the ADC value of CHANNEL0 is correct, and the ADC value of CHANNEL3 is always 4095.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;But I'm using SDK_2_12_1_MIMXRT1170-EVK.zip SDK, so I think there may be something wrong with my configuration. Could you please help me check it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Here is my configuration&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;const lpadc_config_t LPADC1_config = {&lt;BR /&gt;.enableInDozeMode = true,&lt;BR /&gt;.enableAnalogPreliminary = false,&lt;BR /&gt;.powerUpDelay = 0x80UL,&lt;BR /&gt;.referenceVoltageSource = kLPADC_ReferenceVoltageAlt2,&lt;BR /&gt;.powerLevelMode = kLPADC_PowerLevelAlt1,&lt;BR /&gt;.triggerPriorityPolicy = kLPADC_TriggerPriorityPreemptImmediately,&lt;BR /&gt;.enableConvPause = false,&lt;BR /&gt;.convPauseDelay = 0UL,&lt;BR /&gt;.FIFOWatermark = 0UL,&lt;BR /&gt;};&lt;BR /&gt;lpadc_conv_command_config_t LPADC1_commandsConfig[2] = {&lt;BR /&gt;{&lt;BR /&gt;.sampleScaleMode = kLPADC_SampleFullScale,&lt;BR /&gt;.sampleChannelMode = kLPADC_SampleChannelSingleEndSideA,&lt;BR /&gt;.channelNumber = 0U,&lt;BR /&gt;.chainedNextCommandNumber = 2,&lt;BR /&gt;.enableAutoChannelIncrement = false,&lt;BR /&gt;.loopCount = 0UL,&lt;BR /&gt;.hardwareAverageMode = kLPADC_HardwareAverageCount1,&lt;BR /&gt;.sampleTimeMode = kLPADC_SampleTimeADCK3,&lt;BR /&gt;.hardwareCompareMode = kLPADC_HardwareCompareDisabled,&lt;BR /&gt;.hardwareCompareValueHigh = 0UL,&lt;BR /&gt;.hardwareCompareValueLow = 0UL,&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;.sampleScaleMode = kLPADC_SampleFullScale,&lt;BR /&gt;.sampleChannelMode = kLPADC_SampleChannelSingleEndSideA,&lt;BR /&gt;.channelNumber = 3U,&lt;BR /&gt;.chainedNextCommandNumber = 0,&lt;BR /&gt;.enableAutoChannelIncrement = false,&lt;BR /&gt;.loopCount = 0UL,&lt;BR /&gt;.hardwareAverageMode = kLPADC_HardwareAverageCount1,&lt;BR /&gt;.sampleTimeMode = kLPADC_SampleTimeADCK3,&lt;BR /&gt;.hardwareCompareMode = kLPADC_HardwareCompareDisabled,&lt;BR /&gt;.hardwareCompareValueHigh = 0UL,&lt;BR /&gt;.hardwareCompareValueLow = 0UL,&lt;BR /&gt;}&lt;BR /&gt;};&lt;BR /&gt;lpadc_conv_trigger_config_t LPADC1_triggersConfig[2] = {&lt;BR /&gt;{&lt;BR /&gt;.targetCommandId = 1,&lt;BR /&gt;.delayPower = 0UL,&lt;BR /&gt;.priority = 1,&lt;BR /&gt;.enableHardwareTrigger = true&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;.targetCommandId = 2,&lt;BR /&gt;.delayPower = 0UL,&lt;BR /&gt;.priority = 1,&lt;BR /&gt;.enableHardwareTrigger = false&lt;BR /&gt;}&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;static void LPADC1_init(void) {&lt;BR /&gt;/* Initialize LPADC converter */&lt;BR /&gt;LPADC_Init(LPADC1_PERIPHERAL, &amp;amp;LPADC1_config);&lt;BR /&gt;/* Configure conversion command 1. */&lt;BR /&gt;LPADC_SetConvCommandConfig(LPADC1_PERIPHERAL, 1, &amp;amp;LPADC1_commandsConfig[0]);&lt;BR /&gt;/* Configure conversion command 2. */&lt;BR /&gt;LPADC_SetConvCommandConfig(LPADC1_PERIPHERAL, 2, &amp;amp;LPADC1_commandsConfig[1]);&lt;BR /&gt;/* Configure trigger 0. */&lt;BR /&gt;LPADC_SetConvTriggerConfig(LPADC1_PERIPHERAL, 0, &amp;amp;LPADC1_triggersConfig[0]);&lt;BR /&gt;/* Configure trigger 1. */&lt;BR /&gt;LPADC_SetConvTriggerConfig(LPADC1_PERIPHERAL, 1, &amp;amp;LPADC1_triggersConfig[1]);&lt;BR /&gt;/* Interrupt vector ADC1_IRQn priority settings in the NVIC. */&lt;BR /&gt;NVIC_SetPriority(LPADC1_IRQN, LPADC1_IRQ_PRIORITY);&lt;BR /&gt;/* Enable interrupts from LPADC */&lt;BR /&gt;LPADC_EnableInterrupts(LPADC1_PERIPHERAL, (kLPADC_FIFOWatermarkInterruptEnable));&lt;BR /&gt;/* Enable interrupt ADC1_IRQn request in the NVIC. */&lt;BR /&gt;EnableIRQ(LPADC1_IRQN);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void DEMO_LPADC_IRQ_HANDLER_FUNC(void)&lt;BR /&gt;{&lt;BR /&gt;#if 0&lt;BR /&gt;ADC_ETC_ClearInterruptStatusFlags(DEMO_ADC_ETC_BASE, kADC_ETC_Trg0TriggerSource, kADC_ETC_Done0StatusFlagMask);&lt;BR /&gt;g_AdcConversionDoneFlag = true;&lt;BR /&gt;/* Get result from the trigger source chain 0. */&lt;BR /&gt;g_AdcConversionValue[0] = ADC_ETC_GetADCConversionValue(DEMO_ADC_ETC_BASE, DEMO_ADC_ETC_TRIGGER_GROUP, 0U);&lt;BR /&gt;g_AdcConversionValue[1] = ADC_ETC_GetADCConversionValue(DEMO_ADC_ETC_BASE, DEMO_ADC_ETC_TRIGGER_GROUP, 3U);&lt;BR /&gt;__DSB();&lt;BR /&gt;#else&lt;BR /&gt;g_LpadcInterruptCounter++;&lt;BR /&gt;#if (defined(FSL_FEATURE_LPADC_FIFO_COUNT) &amp;amp;&amp;amp; (FSL_FEATURE_LPADC_FIFO_COUNT == 2U))&lt;BR /&gt;if (LPADC_GetConvResult(DEMO_LPADC_BASE, &amp;amp;g_LpadcResultConfigStruct, 0U))&lt;BR /&gt;#else&lt;BR /&gt;if (LPADC_GetConvResult(DEMO_LPADC_BASE, &amp;amp;g_LpadcResultConfigStruct))&lt;BR /&gt;#endif /* FSL_FEATURE_LPADC_FIFO_COUNT */&lt;BR /&gt;{&lt;BR /&gt;g_LpadcConversionCompletedFlag = true;&lt;BR /&gt;}&lt;BR /&gt;SDK_ISR_EXIT_BARRIER;&lt;BR /&gt;#endif&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt;uint32_t pwmVal = 4;&lt;BR /&gt;/* Board pin, clock, debug console init */&lt;BR /&gt;BOARD_ConfigMPU();&lt;BR /&gt;BOARD_InitPins();&lt;BR /&gt;BOARD_BootClockRUN();&lt;BR /&gt;BOARD_InitBootPeripherals();&lt;BR /&gt;BOARD_InitDebugConsole();&lt;BR /&gt;/* Print a note to terminal. */&lt;/P&gt;&lt;P&gt;while (1)&lt;BR /&gt;{&lt;BR /&gt;SDK_DelayAtLeastUs(100000, SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY);&lt;BR /&gt;LPADC_DoSoftwareTrigger(DEMO_LPADC_BASE, 1U); /* 1U is trigger0 mask. */&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 01:16:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1547264#M22305</guid>
      <dc:creator>ywjack</dc:creator>
      <dc:date>2022-11-02T01:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: RT 1176 LPADC Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1548519#M22354</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to get the same environment of your code tells me, what kind of example are you using? I will try on my side. Is ADC1 Channel 3 not working?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 22:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1548519#M22354</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-11-03T22:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: RT 1176 LPADC Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1548539#M22356</link>
      <description>&lt;A href="https://community.nxp.com/t5/i-MX-RT/ADC-ETC-CFG-Problem/m-p/1548202#M22343" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT/ADC-ETC-CFG-Problem/m-p/1548202#M22343&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have attached my code project below this link, sorry that I should not have wasted your resources by consulting different technical support on this issue, sorry (because I can't get it out, about ADC1A_CH3(P17)) he always read 4095, I think there is something wrong with my configuration</description>
      <pubDate>Fri, 04 Nov 2022 00:49:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1548539#M22356</guid>
      <dc:creator>ywjack</dc:creator>
      <dc:date>2022-11-04T00:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: RT 1176 LPADC Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1550555#M22407</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Let me get that board and when I have more information, I will contact you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 00:02:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1550555#M22407</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-11-09T00:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: RT 1176 LPADC Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1553639#M22472</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I did reproduce the same issue let me do a report, when I have more information, I will contact you.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 03:27:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1553639#M22472</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-11-15T03:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: RT 1176 LPADC Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1553664#M22474</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I desist to make the report I review the schematic, are you using the EVK? let me show why the ADC1_3 is not available on the board.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_0-1668485771582.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200301iCAE4CCFB6D2DEC61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_0-1668485771582.png" alt="Pavel_Hernandez_0-1668485771582.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is using as input for the ENET interface.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 04:19:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1553664#M22474</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-11-15T04:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: RT 1176 LPADC Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1554033#M22483</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I do not use the DEMO board of NXP EVK. I use the LAYOUT board of my company.&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 573px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200410iECF3B46FDC1746A8/image-dimensions/573x336?v=v2" width="573" height="336" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 572px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200411iBCADA587024E681F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信截图_20221115190842.png" style="width: 782px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200412iBF46C086F0CC25DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信截图_20221115190842.png" alt="微信截图_20221115190842.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 11:10:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1554033#M22483</guid>
      <dc:creator>ywjack</dc:creator>
      <dc:date>2022-11-15T11:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: RT 1176 LPADC Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1554288#M22490</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Sorry for the late response, unfortunately, I can't reproduce the problem because the board doesn't have the pin available, I recommend using the example and making modifications just to test if the Channel 3 pin has the same behavior, for the purpose of ruling out the problem hardware.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 21:52:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT-1176-LPADC-Problem/m-p/1554288#M22490</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2022-11-15T21:52:59Z</dc:date>
    </item>
  </channel>
</rss>

