<?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: S12ZVC Sample Code for reading from AN0 ADC0. in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-Sample-Code-for-reading-from-AN0-ADC0/m-p/1274081#M17845</link>
    <description>&lt;P&gt;Thanks for your response. Truly.&lt;/P&gt;&lt;P&gt;for now PE works. I had not found that Quick Start Guide code. I wonder if there is one as well for the s12xe development board.&lt;BR /&gt;The main issue I had here was my placement of the AD1_Measure() routine. For unknown reasons where I was placing this call it was not transferring the variable to my local variable to further the calculation needed with the ADC.&lt;/P&gt;&lt;P&gt;Luckily I found a blog by Eric Styger that has been a godsend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sorry for the amateur/rookie questions. I am learning this and its a steep hill to climb.&lt;/P&gt;&lt;P&gt;Thanks for your patience and answers.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Sun, 09 May 2021 14:39:00 GMT</pubDate>
    <dc:creator>highlander</dc:creator>
    <dc:date>2021-05-09T14:39:00Z</dc:date>
    <item>
      <title>S12ZVC Sample Code for reading from AN0 ADC0.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-Sample-Code-for-reading-from-AN0-ADC0/m-p/1271086#M17836</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any sample projects to read the ADC0 on the reference board? I have added AD1 through Processor Expert with the following settings.&lt;/P&gt;&lt;P&gt;&lt;A href="https://prnt.sc/12deqnj" target="_blank"&gt;https://prnt.sc/12deqnj&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code I've written to try to read it but I am unable to make it work.&lt;BR /&gt;&lt;BR /&gt;void doAVI(void)&lt;BR /&gt;{&lt;BR /&gt;word R_AVI1;&lt;BR /&gt;AD1_GetValue16(&amp;amp;R_AVI1);&lt;BR /&gt;FRP = R_AVI1;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be hugely appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 22:47:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-Sample-Code-for-reading-from-AN0-ADC0/m-p/1271086#M17836</guid>
      <dc:creator>highlander</dc:creator>
      <dc:date>2021-05-01T22:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC Sample Code for reading from AN0 ADC0.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-Sample-Code-for-reading-from-AN0-ADC0/m-p/1271202#M17838</link>
      <description>&lt;P&gt;Hello Highlander,&lt;/P&gt;
&lt;P&gt;I want to suggest you to build your application without PE engine, because it is not supported for long time . The common C-code build brings&amp;nbsp; you more visibility and more variability to your code. Attached is the example code (*.zip file) for ADC measurement. You can access next more examples for this MCU on web:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/downloads/en/lab-test-software/DEVKIT-S12ZVC-LAB.zip" target="_blank"&gt;https://www.nxp.com/downloads/en/lab-test-software/DEVKIT-S12ZVC-LAB.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;or whole quick start package on:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=DEVKIT-S12ZVC-QSP" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=DEVKIT-S12ZVC-QSP&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It contains comprehensive guide to work with this MCU.&lt;/P&gt;
&lt;P&gt;I wish you many success in you project.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Stano.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 09:06:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-Sample-Code-for-reading-from-AN0-ADC0/m-p/1271202#M17838</guid>
      <dc:creator>StanoA</dc:creator>
      <dc:date>2021-05-03T09:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC Sample Code for reading from AN0 ADC0.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-Sample-Code-for-reading-from-AN0-ADC0/m-p/1274081#M17845</link>
      <description>&lt;P&gt;Thanks for your response. Truly.&lt;/P&gt;&lt;P&gt;for now PE works. I had not found that Quick Start Guide code. I wonder if there is one as well for the s12xe development board.&lt;BR /&gt;The main issue I had here was my placement of the AD1_Measure() routine. For unknown reasons where I was placing this call it was not transferring the variable to my local variable to further the calculation needed with the ADC.&lt;/P&gt;&lt;P&gt;Luckily I found a blog by Eric Styger that has been a godsend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sorry for the amateur/rookie questions. I am learning this and its a steep hill to climb.&lt;/P&gt;&lt;P&gt;Thanks for your patience and answers.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 14:39:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-Sample-Code-for-reading-from-AN0-ADC0/m-p/1274081#M17845</guid>
      <dc:creator>highlander</dc:creator>
      <dc:date>2021-05-09T14:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC Sample Code for reading from AN0 ADC0.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-Sample-Code-for-reading-from-AN0-ADC0/m-p/1274482#M17848</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Highlander,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm glad that all is working well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Stano.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 12:09:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-Sample-Code-for-reading-from-AN0-ADC0/m-p/1274482#M17848</guid>
      <dc:creator>StanoA</dc:creator>
      <dc:date>2021-05-10T12:09:16Z</dc:date>
    </item>
  </channel>
</rss>

