The Sensor Controller contains
circuitry that can be selectively enabled in standby mode. The peripherals in this
domain may be controlled by the Sensor Controller Engine, which is a proprietary
power-optimized CPU. This CPU can read and monitor sensors or perform other tasks
autonomously, thereby significantly reducing power consumption and offloading the
main CM3 CPU. The GPIOs that can be connected to the Sensor Controller are listed in
Table 9-1.
The Sensor Controller is set up using
a PC-based configuration tool, called Sensor Controller Studio, and potential use
cases may be (but are not limited to):
- Analog sensors using
integrated ADC
- Digital sensors using GPIOs,
bit-banged I2C, and SPI
- UART communication for sensor
reading or debugging
- Capacitive sensing
- Waveform generation
- Pulse counting
- Keyboard scan
- Quadrature decoder for
polling rotation sensors
- Oscillator calibration
Note:
Texas Instruments provides
application examples for some of these use cases, but not for all of them.
The peripherals in the Sensor
Controller include the following:
- The low-power clocked
comparator can be used to wake the device from any state in which the
comparator is active. A configurable internal reference can be used in
conjunction with the comparator. The output of the comparator can also be
used to trigger an interrupt or the ADC.
- Capacitive sensing
functionality is implemented through the use of a constant current source, a
time-to-digital converter, and a comparator. The continuous time comparator
in this block can also be used as a higher-accuracy alternative to the
low-power clocked comparator. The Sensor Controller will take care of
baseline tracking, hysteresis, filtering and other related functions.
- The ADC is a 12-bit,
200-ksamples/s ADC with eight inputs and a built-in voltage reference. The
ADC can be triggered by many different sources, including timers, I/O pins,
software, the analog comparator, and the RTC.
- The Sensor Controller also
includes a SPI–I2C digital interface.
- The analog modules can be
connected to up to eight different GPIOs.
The peripherals in the Sensor
Controller can also be controlled from the main application processor.
Table 9-1 GPIOs Connected to the Sensor
Controller(1)
ANALOG
CAPABLE |
7 × 7 RGZ
DIO NUMBER |
5 × 5 RHB DIO NUMBER |
2.7 × 2.7 YFV DIO
NUMBER |
4 × 4 RSM DIO
NUMBER |
Y |
30 |
14 |
|
|
Y |
29 |
13 |
13 |
|
Y |
28 |
12 |
12 |
|
Y |
27 |
11 |
11 |
9 |
Y |
26 |
9 |
9 |
8 |
Y |
25 |
10 |
10 |
7 |
Y |
24 |
8 |
8 |
6 |
Y |
23 |
7 |
7 |
5 |
N |
7 |
4 |
4 |
2 |
N |
6 |
3 |
3 |
1 |
N |
5 |
2 |
2 |
0 |
N |
4 |
1 |
1 |
|
N |
3 |
0 |
0 |
|
N |
2 |
|
|
|
N |
1 |
|
|
|
N |
0 |
|
|
|
(1) Depending on the package size,
up to 16 pins can be connected to the Sensor Controller. Up to 8 of these pins
can be connected to analog modules.