Document Number: 002-24085 Rev. *A Page 7 of 59
The SAR is able to digitize the output of the on-chip temperature
sensor for calibration and other temperature-dependent
functions. The SAR is not available in Deep Sleep and Hibernate
modes as it requires a high-speed clock (up to 18 MHz). The
SAR operating range is 1.71 V to 3.6 V.
Temperature Sensor
Part Number has an on-chip temperature sensor. This consists
of a diode, which is biased by a current source that can be
disabled to save power. The temperature sensor is connected to
the ADC, which digitizes the reading and produces a
temperature value by using a Cypress-supplied software that
includes calibration and linearization.
12-bit DAC
There is a 12-bit voltage mode DAC on the chip, which can settle
in less than 5 µs. The DAC may be driven by the DMA controllers
to generate user-defined waveforms. The DAC output from the
chip can either be the resistive ladder output (highly linear near
ground) or a buffered output.
Continuous Time Block (CTB) with two Opamps
This block consists of two opamps, which have their inputs and
outputs connected to fixed pins and have three power modes
and a comparator mode. The outputs of these opamps can be
used as buffers for the SAR Inputs. The non-inverting inputs of
these opamps can be connected to either of two pins, thus
allowing independent sensors to be used at different times. The
pin selection can be made via firmware. The opamps can be set
to one of the four power levels; the lowest level allowing
operation in Deep Sleep mode in order to preserve lower perfor-
mance Continuous-Time functionality in Deep Sleep mode. The
DAC output can be buffered through an opamp.
Low-Power Comparators
CYBLE-416045-02 has a pair of low-power comparators, which
can also operate in Deep Sleep and Hibernate modes. This
allows the analog system blocks to be disabled while retaining
the ability to monitor external voltage levels during Deep Sleep
and Hibernate modes. The comparator outputs are normally
synchronized to avoid metastability unless operating in an
asynchronous power mode (Hibernate) where the system
wakeup circuit is activated by a comparator-switch event.
One of the low-power comparators (lpcomp1) has dedicated
connections to minimize the signal path. Lpcomp1 can also be
routed to other I/Os via the analog mux bus, if needed.
The second low-power comparator (lpcomp0) has one dedicated
connection exposed on the module (P5.6 – positive input);
however, the negative input must be routed via the analog mux
bus to an I/O.
Programmable Digital
Smart I/O
There are two Smart I/O blocks, which allow Boolean operations
on signals going to the GPIO pins from the subsystems of the
chip or on signals coming into the chip. Operation can be
synchronous or asynchronous and the blocks operate in
low-power modes, such as Deep Sleep and Hibernate.This
allows, for example, detection of logic conditions that can
indicate that the CPU should wakeup instead of waking up on
general I/O interrupts, which consume more power and can
generate spurious wakeups.
Universal Digital Blocks (UDBs) and Port Interfaces
The CYBLE-416045-02 has twelve UDBs; the UDB array also
provides a switched Digital System Interconnect (DSI) fabric that
allows signals from peripherals and ports to be routed to and
through the UDBs for communication and control.
Fixed-Function Digital
Timer/Counter/PWM Block
The timer/counter/PWM block consists of thirty-two counters
with user-programmable period length. There is a capture
register to record the count value at the time of an event (which
may be an I/O event), a period register which is used to either
stop or auto-reload the counter when its count is equal to the
period register, and compare registers to generate compare
value signals which are used as PWM duty cycle outputs. The
block also provides true and complementary outputs with
programmable offset between them to allow the use as
deadband programmable complementary PWM outputs. It also
has a kill input to force outputs to a predetermined state; for
example, this is used in motor-drive systems when an
overcurrent state is indicated and the PWMs driving the FETs
need to be shut off immediately with no time for software
intervention. There are eight 32-bit counters and twenty-four
16-bit counters.
Serial Communication Blocks (SCB)
CYBLE-416045-02 has five SCBs, which can each implement an
I2C, UART, or SPI Interface. Two SCBs (SCB_6 and SCB_8)
share the same pin connections and cannot be used at the same
time. One of these SCBs (SCB_8) will operate in Deep Sleep
with an external clock, this SCB will only operate in Slave mode
(requires external clock).
I2C Mode: The hardware I2C block implements a full multimaster
and Slave Interface (it is capable of multimaster arbitration). This
block is capable of operating at speeds of up to 1 Mbps (Fast
Mode plus) and has flexible buffering options to reduce the
interrupt overhead and latency for the CPU. It also supports
EZI2C that creates a mailbox address range in the memory of
CYBLE-416045-02 and effectively reduces the I2C communi-
cation to reading from and writing to an array in the memory. In
addition, the block supports a 256 byte-deep FIFO for receive
and transmit, which, by increasing the time given for the CPU to
read the data, greatly reduces the need for clock stretching
caused by the CPU not having read the data on time. The FIFO
mode is available in all channels and is very useful in the
absence of DMA.
The I2C peripheral is compatible with I2C Standard-mode,
Fast-mode, and Fast-Mode Plus devices as defined in the NXP
I2C-bus specification and user manual (UM10204). The I2C bus
I/O is implemented with GPIO in open-drain modes.
UART Mode: This is a full-feature UART operating at up to
8 Mbps. It supports automotive single-wire interface (LIN),
infrared interface (IrDA), and SmartCard (ISO7816) protocols, all
of which are minor variants of the basic UART protocol. In
addition, it supports the 9-bit multiprocessor mode that allows the
addressing of peripherals connected over common RX and TX
lines. Common UART functions such as parity error, break