You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ADC library allows to specify ADC_NVREF = ADC_VREF_FVR,
but this choice is not handled (by procedure _adc_vref_vcfg()
in the adc_channels library).
When configuring ADCON1_PVCFG and _NVCFG bits for 'FVR' in the application
program after the call of adc_init() the ADC works as expected (tested with a
18f25k22).
Original issue reported on code.google.com by robhamerling on 16 Apr 2013 at 2:59
The text was updated successfully, but these errors were encountered:
Almost all 14H PICs have an FVR module, controlled by FVRCON register. Many
18F's have it as well, but controlled by VREFCON0 register. I 'grep'ed the
device files for these and the result is attached (2 files).
FVR is a nice feature for 'absolute' measurements without the need for an
external voltage reference needing a pin and PCB space. So support for it is
highly desirable.
Original comment by robhamerling on 16 Apr 2013 at 8:00
Original issue reported on code.google.com by
robhamerling
on 16 Apr 2013 at 2:59The text was updated successfully, but these errors were encountered: