Hello,
I need to set ADC voltage limits for my project such that, if the value exceeds the VREFHI value, it sets one condition. And if the input value if below the VREFHI value it sets another. Ideally, this would have been made a lot easier if I could use the VREFLO pin to set the reference voltage externally. However due to conflicting information in the reference manual and the datasheet, I'm not sure I can do that. The reference manual says that the VREFLO can be set externally. But the datasheet says that VREFLO values can only be connected to the VSSA pin, which is the analog ground pin. Yet again, in both these documents there is a mention of a signal mode, and the diagram shows an ADC signal between VREFHI and VREFHI/2 in the datasheet. So my question is simple:
1) Can I set the VREFLO pin to a value other than ground or 0?
2) If not, can I use two VREFHI values as upper and lower voltage references for my input signal in the same ADC module? If so, how will the interrupt work?
3) And if neither of the above, then how can I proceed?
Thank you.