• AVR Freaks

DSPIC33EV256GM104 ADC reference monitoring

Author
RonGer
Starting Member
  • Total Posts : 46
  • Reward points : 0
  • Joined: 2018/11/27 08:43:34
  • Location: 0
  • Status: offline
2019/09/25 02:30:21 (permalink)
0

DSPIC33EV256GM104 ADC reference monitoring

Dear all,
 
I'm looking for a way to monitor the reference voltage of the ADC. This means I also want to recognize shifts on the ground line.
For the PIC16 this is easy with the FVR, but the DSPIC33 seems to have nothing similiar.
I had the idea to measure AVDD and AVSS, but as I can see, I have to spent two ADC channels for doing that (and I'm actually not sure whether this makes sense). Is there any way to measure the AVDD and AVSS voltage internally or getting a information about the ADC reference voltage?
#1

3 Replies Related Threads

    du00000001
    Just Some Member
    • Total Posts : 3076
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: offline
    Re: DSPIC33EV256GM104 ADC reference monitoring 2019/09/25 04:49:22 (permalink)
    0
    You're giving too little details:
    • Your ADC references are NOT AVDD resp. AVGND ?
    • If not: what then ?
    You could use the 7-Bit DAC to provide a signal to one analog input. Or use some external reference diode. There's quite a number of possibilities, but it really depends on your basic configuration and further details...

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #2
    RonGer
    Starting Member
    • Total Posts : 46
    • Reward points : 0
    • Joined: 2018/11/27 08:43:34
    • Location: 0
    • Status: offline
    Re: DSPIC33EV256GM104 ADC reference monitoring 2019/09/25 04:58:02 (permalink)
    0
    My ADC reference is AVDD and AVGND (AVSS).
     
    I'm just looking for something that is similiar to the FVR of the PIC16.
    #3
    du00000001
    Just Some Member
    • Total Posts : 3076
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: offline
    Re: DSPIC33EV256GM104 ADC reference monitoring 2019/09/25 05:16:31 (permalink)
    0
    As far as I remember, there's no easily accessible reference voltage in the EVs.
    But you are free to connect one (e.g. a TL431) externally to one of the ADC inputs.
    Or - provided the "accuracy" is considered sufficient - tap the Vcap voltage (a nominal 1.8 V - not sure about the precision).

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5