Re: pic24f Adc sampling
I Use PGEC1 and PGED1 to debug. (PGEC2 and PGED2 used to some other purpose)so i suspect this below Errata maybe for the result value of zero.
If it is the problem then is there any automated testing to take the result by Perl programming while running with Mplab x ide v3.55?
A/D Converter When using PGEC1 and PGED1 to debug an application on any 64-pin devices in this family, all voltage references will be disabled. This includes VREF+, VREF-, AVDD and AVSS. Any A/D conversion will always equal 0x3FF. Work around Use PGEC2 and PGED2 to debug any A/D functionality.