and a bunch of crappy old SATA 250GB disks in my desk cabinet
hm guess we'll see
here we go, found the 1st gen Educational bpak, good for ADC testing
lol, analog tempsensor reading works, but it is rather chatty
bouncing from 25 to 32C rather fast
got ADC10DIV_5, ADC10SHT_3 active...
got a __delay_cycles(128); after turning ADC10ON | REFON | etc.
meh, tempsensor isn't sampled that often, I just resorted to doing 8 samples and then >>= 3
pretty stable now ;)
4 samples was still a tad noisy
ok, ADC sampling looks good enough
0-1021 with the edubpk potentiometer
it uses the G2553's built in calibration constants too
though I do need to put some logic in to interpret the TLV table for those chips (and most of the value line ones are like this) that don't list the TLV table location for ADC constants in their header file
....probably another TI fail
stuff like the G2744 and G2955, newer value-line's, don't have those TLV tables listed in their header files, although I would bet they have them