<?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 S12ZVC ADC converting error in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-ADC-converting-error/m-p/597474#M12998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested S12ZVC in code warrior 10.6.&lt;/P&gt;&lt;P&gt;When I was connect to multilink, It is good to convert ADC but I was removed a multilink, It is not work.&lt;/P&gt;&lt;P&gt;So I checked when is&amp;nbsp;not work in run mode.&lt;/P&gt;&lt;P&gt;Please see the below code.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define ADC_CSL_AN8 (CMD_SEL(0)+ INTFLG_SEL(1)+ VRH_SEL(1)+ VRL_SEL(1)+ CH_SEL(0x18))&lt;BR /&gt;#define ADC_CSL_AN9 (CMD_SEL(3)+ INTFLG_SEL(2)+ VRH_SEL(1)+ VRL_SEL(1)+ CH_SEL(0x19))&lt;BR /&gt;#define CMD_SEL(x) ((unsigned long)((x)&amp;amp;0x03)&amp;lt;&amp;lt;30)&lt;BR /&gt;#define INTFLG_SEL(x) ((unsigned long)((x)&amp;amp;0x0F)&amp;lt;&amp;lt;24)&lt;BR /&gt;#define VRH_SEL(x) ((unsigned long)((x)&amp;amp;0x01)&amp;lt;&amp;lt;23)&lt;BR /&gt;#define VRL_SEL(x) ((unsigned long)((x)&amp;amp;0x01)&amp;lt;&amp;lt;22)&lt;BR /&gt;#define CH_SEL(x) ((unsigned long)((x)&amp;amp;0x3F)&amp;lt;&amp;lt;16)&lt;BR /&gt;#define SMP(x) ((unsigned long)((x)&amp;amp;0x1F)&amp;lt;&amp;lt;11)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unsigned long u32_aux_address;&lt;BR /&gt;unsigned long adc0_cmdlist[8] @0x002000;&lt;BR /&gt;unsigned int adc0_results[8] @0x002100;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void main(void) {&lt;/P&gt;&lt;P&gt;DisableInterrupts ;&lt;/P&gt;&lt;P&gt;CPMUCLKS_PLLSEL = 1; //FBUS = FPLL/2. FBUS = 32MHz, &lt;BR /&gt; CPMUREFDIV_REFFRQ = 1; //Reference clock between 2MHZ and 6MHZ. &lt;BR /&gt; CPMUREFDIV_REFDIV = 0x1; //FREF=8/(1+1) = 4MHZ &lt;BR /&gt; CPMUSYNR_VCOFRQ = 0x1; //FVCO is between 48MHZ and 80MHZ &lt;BR /&gt; CPMUSYNR_SYNDIV = 0x7; //FVCO = 2xFREFx(SYNDIV+1) = FVCO = 2x4x(7+1) = 64MHZ&lt;BR /&gt; CPMUPOSTDIV_POSTDIV = 0x0; //FPLL = FVCO/(POSTDIV+1). FPLL = 64MHZ/(0+1) FPLL = 64MHz &lt;BR /&gt; CPMUOSC_OSCE = 1; //External oscillator enable. 8MHZ. FREF=FOSC/(REFDIV+1) &lt;BR /&gt; while(!CPMUIFLG_LOCK){} // Wait for LOCK. &lt;BR /&gt; CPMUIFLG = 0xFF; // clear CMPMU int flags - not needed but good practice&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DDRP = 0x0F; /* LEDs as outputs */&lt;BR /&gt;adc0_cmdlist[0] = ADC_CSL_AN8; &lt;BR /&gt; adc0_cmdlist[1] = ADC_CSL_AN9;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Configure ADC0 control */&lt;BR /&gt; ADC0CTL_0 = 0x0DU; /* Dual-access mode(ACC_CFG), Trigger mode(MOD_CFG) */&lt;BR /&gt; ADC0CTL_1 = 0x00U; /* Single CSL &amp;amp; RVL buffers(CSL_BMOD, RVL_BMOD), Normal access, No Auto-Restart after exit from STOP */ &lt;BR /&gt; ADC0STS = 0x00U; /* Select CSL 0 and RVL 0 */&lt;BR /&gt; ADC0TIM = 0x01U; /* fADCCLK = fBUS/(2*(PRS+1)) = 32Mhz/(2*(1+1)) = 8Mhz */&lt;/P&gt;&lt;P&gt;/*** ADC0CBP - ADC0 Command Base Pointer Register configuration ***/&lt;BR /&gt; u32_aux_address = (unsigned long) &amp;amp;adc0_cmdlist[0U];&lt;BR /&gt; ADC0CBP_0 = (unsigned char) (u32_aux_address &amp;gt;&amp;gt; 16U);&lt;BR /&gt; ADC0CBP_1 = (unsigned char) (u32_aux_address &amp;gt;&amp;gt; 8U);&lt;BR /&gt; ADC0CBP_2 = (unsigned char) (u32_aux_address);&lt;BR /&gt; &lt;BR /&gt; /*** ADC0RBP - ADC0 Result Base Pointer Register configuration ***/&lt;BR /&gt; u32_aux_address = (unsigned long) &amp;amp;adc0_results[0U];&lt;BR /&gt; ADC0RBP_0 = (unsigned char) (u32_aux_address &amp;gt;&amp;gt; 16U);&lt;BR /&gt; ADC0RBP_1 = (unsigned char) (u32_aux_address &amp;gt;&amp;gt; 8U);&lt;BR /&gt; ADC0RBP_2 = (unsigned char) (u32_aux_address); &lt;BR /&gt; &lt;BR /&gt; /*** ADC0FMT - ADC0 Format Register ***/&lt;BR /&gt; ADC0FMT = 0x82U; /* 10-bit resolution, right justified */&lt;/P&gt;&lt;P&gt;ADC0CONIF = ADC0CONIF; /* ADC interrupt complete flag clear */&lt;/P&gt;&lt;P&gt;BATE = 0x08U; /* BATS VSUP ADC Connection Enable - Internal 4 */ &lt;BR /&gt; &lt;BR /&gt; /* Start conversion -- ADC0 */&lt;BR /&gt; ADC0CTL_0_ADC_EN = 1U; /* Enable the ADC */&lt;/P&gt;&lt;P&gt;ADC0CONIF = ADC0CONIF; /* clear flag */&lt;BR /&gt; ADC0FLWCTL_RSTA = 1U; /* Trigger a Restart event */&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;while( ADC0CONIF_EOL_IF==0U ) {&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; DDRP_DDRP0 = 1 ; // D13 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -------------&amp;gt;If it was not work, It is stop in this line.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;} /* wait for EOL_IF set */&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;ADC0CONIF = ADC0CONIF; /* clear flag */&lt;BR /&gt; &lt;BR /&gt;EnableInterrupts;&lt;BR /&gt; for(;;) {&lt;BR /&gt; __RESET_WATCHDOG(); /* feeds the dog */&lt;BR /&gt;&lt;STRONG style="color: #ff0000;"&gt;DDRP_DDRP4 = 1 ; // D15&lt;/STRONG&gt;&lt;BR /&gt;} /* loop forever */&lt;BR /&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;If it is good to work, turn on the D13, D15.(connected multilink)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;but when it was not operate, only turn on D13. (removed multilink)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How to solve this issue?&lt;/P&gt;&lt;P&gt;Would you please provide to me that why happen this situation?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Feb 2017 06:11:24 GMT</pubDate>
    <dc:creator>jtpark</dc:creator>
    <dc:date>2017-02-03T06:11:24Z</dc:date>
    <item>
      <title>S12ZVC ADC converting error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-ADC-converting-error/m-p/597474#M12998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested S12ZVC in code warrior 10.6.&lt;/P&gt;&lt;P&gt;When I was connect to multilink, It is good to convert ADC but I was removed a multilink, It is not work.&lt;/P&gt;&lt;P&gt;So I checked when is&amp;nbsp;not work in run mode.&lt;/P&gt;&lt;P&gt;Please see the below code.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define ADC_CSL_AN8 (CMD_SEL(0)+ INTFLG_SEL(1)+ VRH_SEL(1)+ VRL_SEL(1)+ CH_SEL(0x18))&lt;BR /&gt;#define ADC_CSL_AN9 (CMD_SEL(3)+ INTFLG_SEL(2)+ VRH_SEL(1)+ VRL_SEL(1)+ CH_SEL(0x19))&lt;BR /&gt;#define CMD_SEL(x) ((unsigned long)((x)&amp;amp;0x03)&amp;lt;&amp;lt;30)&lt;BR /&gt;#define INTFLG_SEL(x) ((unsigned long)((x)&amp;amp;0x0F)&amp;lt;&amp;lt;24)&lt;BR /&gt;#define VRH_SEL(x) ((unsigned long)((x)&amp;amp;0x01)&amp;lt;&amp;lt;23)&lt;BR /&gt;#define VRL_SEL(x) ((unsigned long)((x)&amp;amp;0x01)&amp;lt;&amp;lt;22)&lt;BR /&gt;#define CH_SEL(x) ((unsigned long)((x)&amp;amp;0x3F)&amp;lt;&amp;lt;16)&lt;BR /&gt;#define SMP(x) ((unsigned long)((x)&amp;amp;0x1F)&amp;lt;&amp;lt;11)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unsigned long u32_aux_address;&lt;BR /&gt;unsigned long adc0_cmdlist[8] @0x002000;&lt;BR /&gt;unsigned int adc0_results[8] @0x002100;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void main(void) {&lt;/P&gt;&lt;P&gt;DisableInterrupts ;&lt;/P&gt;&lt;P&gt;CPMUCLKS_PLLSEL = 1; //FBUS = FPLL/2. FBUS = 32MHz, &lt;BR /&gt; CPMUREFDIV_REFFRQ = 1; //Reference clock between 2MHZ and 6MHZ. &lt;BR /&gt; CPMUREFDIV_REFDIV = 0x1; //FREF=8/(1+1) = 4MHZ &lt;BR /&gt; CPMUSYNR_VCOFRQ = 0x1; //FVCO is between 48MHZ and 80MHZ &lt;BR /&gt; CPMUSYNR_SYNDIV = 0x7; //FVCO = 2xFREFx(SYNDIV+1) = FVCO = 2x4x(7+1) = 64MHZ&lt;BR /&gt; CPMUPOSTDIV_POSTDIV = 0x0; //FPLL = FVCO/(POSTDIV+1). FPLL = 64MHZ/(0+1) FPLL = 64MHz &lt;BR /&gt; CPMUOSC_OSCE = 1; //External oscillator enable. 8MHZ. FREF=FOSC/(REFDIV+1) &lt;BR /&gt; while(!CPMUIFLG_LOCK){} // Wait for LOCK. &lt;BR /&gt; CPMUIFLG = 0xFF; // clear CMPMU int flags - not needed but good practice&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DDRP = 0x0F; /* LEDs as outputs */&lt;BR /&gt;adc0_cmdlist[0] = ADC_CSL_AN8; &lt;BR /&gt; adc0_cmdlist[1] = ADC_CSL_AN9;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Configure ADC0 control */&lt;BR /&gt; ADC0CTL_0 = 0x0DU; /* Dual-access mode(ACC_CFG), Trigger mode(MOD_CFG) */&lt;BR /&gt; ADC0CTL_1 = 0x00U; /* Single CSL &amp;amp; RVL buffers(CSL_BMOD, RVL_BMOD), Normal access, No Auto-Restart after exit from STOP */ &lt;BR /&gt; ADC0STS = 0x00U; /* Select CSL 0 and RVL 0 */&lt;BR /&gt; ADC0TIM = 0x01U; /* fADCCLK = fBUS/(2*(PRS+1)) = 32Mhz/(2*(1+1)) = 8Mhz */&lt;/P&gt;&lt;P&gt;/*** ADC0CBP - ADC0 Command Base Pointer Register configuration ***/&lt;BR /&gt; u32_aux_address = (unsigned long) &amp;amp;adc0_cmdlist[0U];&lt;BR /&gt; ADC0CBP_0 = (unsigned char) (u32_aux_address &amp;gt;&amp;gt; 16U);&lt;BR /&gt; ADC0CBP_1 = (unsigned char) (u32_aux_address &amp;gt;&amp;gt; 8U);&lt;BR /&gt; ADC0CBP_2 = (unsigned char) (u32_aux_address);&lt;BR /&gt; &lt;BR /&gt; /*** ADC0RBP - ADC0 Result Base Pointer Register configuration ***/&lt;BR /&gt; u32_aux_address = (unsigned long) &amp;amp;adc0_results[0U];&lt;BR /&gt; ADC0RBP_0 = (unsigned char) (u32_aux_address &amp;gt;&amp;gt; 16U);&lt;BR /&gt; ADC0RBP_1 = (unsigned char) (u32_aux_address &amp;gt;&amp;gt; 8U);&lt;BR /&gt; ADC0RBP_2 = (unsigned char) (u32_aux_address); &lt;BR /&gt; &lt;BR /&gt; /*** ADC0FMT - ADC0 Format Register ***/&lt;BR /&gt; ADC0FMT = 0x82U; /* 10-bit resolution, right justified */&lt;/P&gt;&lt;P&gt;ADC0CONIF = ADC0CONIF; /* ADC interrupt complete flag clear */&lt;/P&gt;&lt;P&gt;BATE = 0x08U; /* BATS VSUP ADC Connection Enable - Internal 4 */ &lt;BR /&gt; &lt;BR /&gt; /* Start conversion -- ADC0 */&lt;BR /&gt; ADC0CTL_0_ADC_EN = 1U; /* Enable the ADC */&lt;/P&gt;&lt;P&gt;ADC0CONIF = ADC0CONIF; /* clear flag */&lt;BR /&gt; ADC0FLWCTL_RSTA = 1U; /* Trigger a Restart event */&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;while( ADC0CONIF_EOL_IF==0U ) {&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; DDRP_DDRP0 = 1 ; // D13 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -------------&amp;gt;If it was not work, It is stop in this line.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;} /* wait for EOL_IF set */&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;ADC0CONIF = ADC0CONIF; /* clear flag */&lt;BR /&gt; &lt;BR /&gt;EnableInterrupts;&lt;BR /&gt; for(;;) {&lt;BR /&gt; __RESET_WATCHDOG(); /* feeds the dog */&lt;BR /&gt;&lt;STRONG style="color: #ff0000;"&gt;DDRP_DDRP4 = 1 ; // D15&lt;/STRONG&gt;&lt;BR /&gt;} /* loop forever */&lt;BR /&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;If it is good to work, turn on the D13, D15.(connected multilink)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;but when it was not operate, only turn on D13. (removed multilink)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How to solve this issue?&lt;/P&gt;&lt;P&gt;Would you please provide to me that why happen this situation?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 06:11:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-ADC-converting-error/m-p/597474#M12998</guid>
      <dc:creator>jtpark</dc:creator>
      <dc:date>2017-02-03T06:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC ADC converting error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-ADC-converting-error/m-p/597475#M12999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested your code in CW10.7 with 12ZVC and it works fine.&lt;/P&gt;&lt;P&gt;The project is attached so you can run it and check linker file etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 13:36:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-ADC-converting-error/m-p/597475#M12999</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-02-03T13:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC ADC converting error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-ADC-converting-error/m-p/597476#M13000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached project file.&lt;/P&gt;&lt;P&gt;Would you please test attached file?&lt;/P&gt;&lt;P&gt;My project is always stop at that line without multilink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PTP_PTP6 = 1U;&lt;BR /&gt; ADC0CONIF = ADC0CONIF; /* clear flag */&lt;BR /&gt; ADC0FLWCTL_RSTA = 1U; /* Trigger a Restart event */&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;while( ADC0CONIF_EOL_IF==0U ) { /*Nothing*/ } /* wait for EOL_IF set */ &amp;nbsp;--&amp;gt;&amp;nbsp;Stop position.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Would you please let me know how to solve this issue?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 05:02:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-ADC-converting-error/m-p/597476#M13000</guid>
      <dc:creator>jtpark</dc:creator>
      <dc:date>2017-02-06T05:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC ADC converting error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-ADC-converting-error/m-p/597477#M13001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, the project you attached didn’t run stand alone.&lt;/P&gt;&lt;P&gt;If this happens, connect the debugger back and debug it in Attach session type.&lt;/P&gt;&lt;P&gt;You will then see registers and that helps.&lt;/P&gt;&lt;P&gt;For instance, in this case EOL_EIF error flag was set and thus the ADC operation stopped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem was caused by memory allocation.&lt;/P&gt;&lt;P&gt;Please use&amp;nbsp; &lt;EM&gt;__attribute__ ((aligned (4)))&lt;/EM&gt; instead of &lt;EM&gt;@0x002000 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;as you can see in the in the project attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 23:37:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-ADC-converting-error/m-p/597477#M13001</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-02-07T23:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC ADC converting error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-ADC-converting-error/m-p/597478#M13002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have solve this issue.&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;But I would like to know how can I setting a memory map .&lt;/P&gt;&lt;P&gt;Would you provide to me guide file of memory map?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 02:39:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVC-ADC-converting-error/m-p/597478#M13002</guid>
      <dc:creator>jtpark</dc:creator>
      <dc:date>2017-02-10T02:39:00Z</dc:date>
    </item>
  </channel>
</rss>

