I have a PIC16f1824, which has a 10bit built-in ADC, but I only want 8 bit precision. I don't just want an 8 bit value, but actual 8 bit conversion i.e. higher samples per second at the cost of bits. Here I am stuck because the ADRESH register get loaded only once whole 10 bit conversion is performed.
Electronic – Using 10 bit ADC for only 8 bits on a PIC MCU
embeddedmicrochipmicrocontrollerpic
Related Topic
- Performing different actions on the same timer
- Electronic – PIC12F ADC conversion has an unwanted offset
- Electronic – Am I using ARM 7 LPC21xx ADC register correctly
- Electronic – Calculate number of ADC clock cycles required for sample time
- Electronic – dspic33E series ADC Buffer size and Sampling count confusion
Best Answer
This thread: http://www.edaboard.com/thread155430.html should help. Basically, you'll have to do some converting on your own, but configuring the ADC to left justify will give you bits 9-2 in the ADRESH byte, which you can then use as your 8-bit value.
I don't think you can configure the chip to give you 8-bit precision at the cost of higher samples/sec. That's a design design made when you order the part. I could be wrong though and I would consult with the appropriate data sheet.