<?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 ADC conversion issue in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/ADC-conversion-issue/m-p/1170274#M7868</link>
    <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I am working on ADC driver with S32K146 controller for Autosar platform. I am using Tresos tool(S32K14X_MCAL4_3_RTM_HF2_1_0_1&lt;BR /&gt;NXP driver stack) for code generation. I have done the below configuration:&lt;BR /&gt;Adc HwUnit0: one Adc group with 5 channels, ADC SW trigger, back toback mode enable, one shot trigger conversion without interrupts&lt;BR /&gt;Adc HwUnit0: one Adc group with 1 channel, ADC SW trigger, one shot trigger conversion without interrupts&lt;BR /&gt;With this configuration I am able to get the correct conversion data (verified with different voltage inputs) in HW&lt;BR /&gt;register but I am not able to read the data in user buffer using ADC_ReadGroup API. I am getting ADC status as ADC busy as the coversion flag is not set after conversion.&lt;BR /&gt;So as per my understanding conversion flag should get set as soon as conversion is completed. Can you help me to understand this behaviour or I am missing out any configuration?&lt;BR /&gt;If any other configuration details are needed please revert me.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Oct 2020 10:02:43 GMT</pubDate>
    <dc:creator>shudhamatinarha</dc:creator>
    <dc:date>2020-10-20T10:02:43Z</dc:date>
    <item>
      <title>ADC conversion issue</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/ADC-conversion-issue/m-p/1170274#M7868</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I am working on ADC driver with S32K146 controller for Autosar platform. I am using Tresos tool(S32K14X_MCAL4_3_RTM_HF2_1_0_1&lt;BR /&gt;NXP driver stack) for code generation. I have done the below configuration:&lt;BR /&gt;Adc HwUnit0: one Adc group with 5 channels, ADC SW trigger, back toback mode enable, one shot trigger conversion without interrupts&lt;BR /&gt;Adc HwUnit0: one Adc group with 1 channel, ADC SW trigger, one shot trigger conversion without interrupts&lt;BR /&gt;With this configuration I am able to get the correct conversion data (verified with different voltage inputs) in HW&lt;BR /&gt;register but I am not able to read the data in user buffer using ADC_ReadGroup API. I am getting ADC status as ADC busy as the coversion flag is not set after conversion.&lt;BR /&gt;So as per my understanding conversion flag should get set as soon as conversion is completed. Can you help me to understand this behaviour or I am missing out any configuration?&lt;BR /&gt;If any other configuration details are needed please revert me.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 10:02:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/ADC-conversion-issue/m-p/1170274#M7868</guid>
      <dc:creator>shudhamatinarha</dc:creator>
      <dc:date>2020-10-20T10:02:43Z</dc:date>
    </item>
  </channel>
</rss>

