I'm using the MC908SQG4 (pdip 8 pins) for adquire two volatge levels using the ADC module. I don't need and interruption during the normal opreration so I decide to use a polling software solution, and here begins the problem. I'm just debbuging some test code just to verify the adquisition method, and when I start the conversion as soon as i choose the input channel the COCO flag is set to 1, and finish the conversion process without result (ok result equals 0) here is the code
ADCCFG_MODE=2; //10 --> 10 bits
//0000 0011 PTAD0+PTAD1
Anybody can help me? I miss something but I'm not abble to find it!
Thx for all,
Added p/n to subject.