Texas Instruments CC2650DK Benutzerhandbuch

Seite von 1570
Modules
6. Enable the ADC analog core [AUX_ADI:ADC0.EN] and reference [AUX_ADI_ADCREF0.EN].
7. Release the ADC core from reset: [AUX_ADI:ADC0.RESET_N].
17.4.9.8.3 Sampling
1. Set the start polarity to rising, and start source to manual (for example, 0x9): [AUX_ANAIF:ADCCTL]
2. Write to the start trigger register [AUX_ANAIF:ADCTRIG].
3. Wait until the FIFO is no longer empty [AUX_ANAIF:ADCFIFOSTAT], and read the measurement from
the FIFO [AUX_ANAIF:ADCFIFO].
17.4.10 Comparators
17.4.11 Current source
17.5 Power Management
System resources and power modes can be requested registers in AUX_WUC, and these requests are
generally independent from similar requests in the MCU voltage domain. By configuring AUX_WUC, both
the sensor controller and the system CPU can request:
AUX_PD power modes
AUX clock source and frequency
AUX peripheral clocks
To access a peripheral in AUX (other than for AUX_WUC and AUX_EVCTL), the clock must be enabled in
[AUX_WUC:MODCLKEN0] or [AUX_WUC:MODCLKEN1]. Failure to do so results in an error when
accessing the peripheral (refer to
AUX Hardware Overview for details)
17.5.1 Startup
From system reset, the AUX power domain powers on and requests active-system mode. The domain is
consequently clocked by the HF system clock at 24 MHz, though all AUX peripherals except for
AUX_WUC and AUX_EVCTL are clock-gated.
17.5.2 Power Mode Management
To save power when AUX_PD is not being used, the entire power domain can be put in low-power mode.
As both AUX and MCU are capable of requesting system resources such as active and standby modes,
be aware that neither should request for active mode if the desired system-mode state is Standby or
Shutdown.
To enable low-power consumption, the user should request a minimal amount of system resources
required to achieve a task. Thus, when there is no task running on the sensor controller requiring active
mode in AUX, it should request to be powered down.
NOTE:
TI RTOS forces AUX into active whenever the MCU system is in active mode, to ensure fast
access to the oscillator interface in the AUX domain.
There are three power modes available for the AUX domain:
17.5.2.1 Active Mode
Active mode is requested whenever there is no request set for power down or power off. When active
system mode is entered, the AUX clock source is derived from the high-speed system clock, which can be
divided down by configuring [AON_WUC:AUXCLK:SCLK_HF_DIV].
The maximum frequency is 24 MHz, and the configuration of clock division must be done by the system
CPU.
1208
AUX – Sensor Controller with Digital and Analog Peripherals
SWCU117A – February 2015 – Revised March 2015
Copyright © 2015, Texas Instruments Incorporated