Page 1 of 1

PIC16F1779 – ADC shows 12-bit resolution, but datasheet says 10-bit

Posted: Sun Oct 05, 2025 3:13 pm
by Sasi
Hi all,
I'm working on an ongoing project using the PIC16F1779 MCU.
I intend to use its ADC peripheral, and I have a question regarding its configuration.
In the ADC Component Macro properties window, I see a resolution of 12 bits, and the ADC result I receive also appears to reflect a 12-bit resolution. However, according to the datasheet, this MCU only has a 10-bit ADC.
The value returned by the converter seems realistic when interpreted as a 12-bit result.

Is this expected behavior, or is something misconfigured?
Regards,
Sasi
ADC_Properties.jpg
ADC_Properties.jpg (69.28 KiB) Viewed 2152 times

Re: PIC16F1779 – ADC shows 12-bit resolution, but datasheet says 10-bit

Posted: Wed Oct 29, 2025 9:54 am
by medelec35
Hello
Sorry for the delay, this post slipped through the net.
Many thanks for letting us know.
It's a very easy fix.
The number of ADC bits is set within the Microcontroller.fcdx file.
I have updated the fcdx files for you.
If you browse to this location using File Explorer, it's hidden by default so just paste the link into your address bar.

Code: Select all

%ProgramData%\MatrixTSL\FlowcodeV10\FCD\PIC\
You can then place the updated fcdx files.

I will check other target devices and change the bits if they also look wrong.