Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FVR not handled bij ADC library #192

Open
GoogleCodeExporter opened this issue Mar 3, 2016 · 1 comment
Open

FVR not handled bij ADC library #192

GoogleCodeExporter opened this issue Mar 3, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Started
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant