PIC32MZDA FRC setting for ADC
I am using the PIC32MZ2064DAB176 microcontroller and I am working on the ADC module.
I am using the Harmony configurator for ADC configuration.
As per the PIC32MZDA Family datasheet, the value for setting the ADC clock source as FRC is "0x11" in the ADCCON3->ADCSEL. In the same data sheet it is advised to refer to "DS60001344" for more details.
But as per the DS60001344 "“PIC32 Family Reference Manual”, the the value for setting the ADC clock source as FRC is 0x01 in ADCCON3->ADCSEL. The Harmony code generated sets the value of ADCCON3->ADCSEL as 0x01, which is as per DS60001344
I was of the opinion that the PIC32MZDA family reference manual is to be followed for the PIC I am using.
Do I have to change the code generated by Harmony?
Enclosing the screen shots from the manuals.
post edited by sridhar - 2018/10/26 06:32:48