The Circuit Note CN-0540 says:
System Default Configuration
A default configuration of the system for narrow bandwidth measurement was chosen as follows for the ADC settings:
MCLK divider: MCLK/16
Power mode: low power mode
FIR filter with decimation over 32
VCM pin output: (AVSS − AVDD)/2
Reference (REF) buffers: precharge on
Analog input (AIN) buffers: precharge on
MCLK frequency of 16.384 MHz
FDA enabled, in low power mode
DAC buffer enabled
DAC output set to half scale
[emphasis mine]
I'm trying to figure out how the FDA default is supposed to be Low Power Mode. Looking at the schematic, I see
I'm not entirely sure, but I think this hardware sets the FDA to Full Power Mode by default. There is also this:
so I believe that the software can override the hardware default FDA power mode by writing to GPIO3. However, I don't see anything in Example program for EVAL-CN0540-ARDZ that would do that by default. There is a 5 - Set ADC to default config" option, but it doesn't seem to touch the FDA. The only way that I've found to accomplish it is to
- 11 - Set ADC GPIOs
- 4 - Change GPIO settings
- 1 - Enable all GPIOs (Global enble)
- 11 - Set ADC GPIOs
- 3 - Set GPIO as input / output
- 5 - Set GPIO3
- 2 - Set GPIO3 as output
So, in what sense is FDA Low Power Mode the system default? What am I missing?
Added link to Example Program
[edited by: CK3 at 3:00 AM (GMT -5) on 25 Nov 2022]