Replies: 4 comments 4 replies
-
|
You may want to share your test sketch, so others can reproduce your test. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
So you have no output at all? I am puzzled, since for ADTM = 0 I get no output on AVREF (goes on high impedance), but for ADTM = 1 I get around 0.611V. Since this "feature" is not documented in the datasheet, except for one line in the description of ADCSRC, I wonder whether this is even supposed to output IVREF on that pin, or some internal voltage (maybe a diode?) from which the different IVREF are derived when one sets the corresponding VCAL registers. That would also explain why it's not mentioned in the diagram. |
Beta Was this translation helpful? Give feedback.
-
|
Try this: |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
According to the datasheet, section on "12-bit analog-to-digital converter (ADC)", "Register definition", bit 0 (ADTM) in ADCSRC (ADC Control Status Register C) says:
I have set this bit to 1, and I get an output voltage of about 0.611V on AVREF, no matter which reference voltage I select.
The board is a Wavgat Uno with LGT8F328P at Vcc = 3.3V.
Am I missing something? Does anyone have experience getting the internal reference voltage on AVREF?
Beta Was this translation helpful? Give feedback.
All reactions