AnsweredAssumed Answered

ADC conversion for S12ZVML128

Question asked by PRATIBHA SURABHI on Jan 20, 2017
Latest reply on Jan 24, 2017 by Radek Sestak

I have to do ADC conversion.

i am declaring ADC command list as ADC1CommandList[1][4] = {{0xC0,0x00,0x00,0x00}};

In initADC function i have initialized all required registers of ADC1.

I have created get ADC(uint8_t channel no) function , in this function I am filling command list with channel number(passed in argument of function) and after that i have triggered the restart event.Even after end of list interrupt flag in ADC1CONIF register gets set there is no result in ADCresult list.could you please provide me the solution for this?