Part Number: AMC7823
I am unable to get a valid temperature reading from the internal temperature sensor. I can read all the other ADC channels just fine, and use the DAC channels and digital I/O without any problems. But the temperature sensor, no joy.
I set the ADC control register to a value of 0x8080: Internal trigger, auto-mode, convert all 9 channels. The Configuration register is set to 0x0040: 2.5V reference.
When I read channel 8, the value jumps all over the place. The ADC counts are converted to degrees C using the formula on page 28 of the data sheet: C = 2.6 * Vbe - 273. And Vbe is calculated as: Vbe = counts * 0.00122.
I must be missing something.