User manual
www.ti.com
Modules
All events triggering actions internally in AUX are described in detail in the corresponding module chapter.
There are also events used to wake up AUX, which are described in Section 17.5.3.
17.4.2.1.1 Software-Defined Events
There are three software-defined events in AUX that can trigger actions in the AON or MCU domain.
These can, for example, be set by the sensor controller to wake up the MCU domain and trigger an
interrupt in the system CPU. The system CPU can also write these events, allowing for a communication
and synchronization protocol between the sensor controller and the system CPU.
The software-defined events are set by writing to [AUX_EVCTL:SWEVSET], and cleared by writing to
[AUX_EVCTL:EVTOAONFLAGSCLR].
All events are connected to the AON and MCU event fabric, and event 0/1 is directly routed to the system
CPU as interrupts.
17.4.2.1.2 Sensor Controller Events
17.4.2.1.2.1 SLEEP Instruction and Reset Events
The sensor controller has 4 edge-triggered event vector inputs, used to wake from the SLEEP instruction
and trigger program execution from the corresponding reset vector.
These are defined in [AUX_EVCTL:VECCFG0] and [AUX_EVCTL:VECCFG1].
Each event vector can have separate control of enable control, trigger source, and edge polarity.
During execution of a vector, the flag must be cleared by writing a 1 to the corresponding bit in
[AUX_EVCTL:VECFLAGSCLR] to avoid having the next SLEEP instruction wake the sensor controller up
again.
17.4.2.1.2.2 WEV0 and WEV1 Events
Table 17-14 lists some events from the event bus that are connected directly to the sensor controller.
These events are to be used with the WEV0 and WEV1 instructions.
Table 17-14. Events Used With Sensor Controller WEV Instructions
Name Number Description
AON_RTC_CH2 0 RTC Channel 2 event
COMPA 1 Comparator A event
COMPB 2 Comparator B event
TDC_DONE 3 TDC conversion done or timed out
TIMER0 4 Timer 0 reached its target count
SMPH_AUTOTAKE_DONE 5 A given semaphore has been released
ADC_DONE 6 ADC conversion is done
PROG 7 Programmable event
Event 7 is programmable, and configured in the [AUX_EVCTL:SCEWEVSEL] register.
17.4.2.1.3 Events to AON Event Fabric
Several edge-triggered events in AUX are connected to the AON event fabric, where they can be routed to
modules to trigger an action.
Table 17-15 shows the events routed to the AON event fabric.
1201
SWCU117A–February 2015–Revised March 2015 AUX – Sensor Controller with Digital and Analog Peripherals
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated