32. 12-Bit A/D Converter (S12AD)
Under development Preliminary document
Specifications in this document are tentative and subject to change.
Note 1. Peripheral module clock PCLK is set according to the setting of SCKCR.PCKB[3:0] and A/D conversion clock ADCLK is set
according to the setting of SCKCR.PCKD[3:0].
Note 2. Do not use continuous scan mode or group scan mode when temperature sensor output or internal reference voltage is
selected.
Note 3. When the module stop state is canceled, A/D conversion can be started after 1
s has elapsed.
Operating modes
Single-cycle scan mode:
A/D conversion is performed for only once on the analog inputs of up to 16 arbitrarily selected channels.
A/D conversion is performed only once on the temperature sensor output.
A/D conversion is performed only once on the internal reference voltage.
Continuous scan mode: A/D conversion is performed repeatedly on the analog inputs of up to 16
Group scan mode:
Up to 16 channels of analog inputs are divided into group A and group B and A/D conversion is
performed only once on all the selected channels on a group basis. The scan start conditions of group A
and group B can be independently selected, thus allowing A/D conversion of group A and group B to be
started independently.
Conditions of A/D
conversion start
Software trigger
Synchronous trigger
Trigger by MTU, ELC, or temperature sensor
Asynchronous trigger
A/D conversion can be triggered from the ADTRG0# pin.
Function
Sample-and-hold function
Channel-dedicated sample-and-hold function
Variable sampling state count
Self-diagnosis of 12-bit A/D converter
A/D-converted value addition mode
Analog input disconnection detection assist
Double trigger mode (duplication of A/D conversion data)
Interrupt source
In the modes except double trigger mode and group scan mode, A/D scan end interrupt (S12ADI0)
request can be generated on completion of single scan.
In double trigger mode, A/D scan end interrupt (S12ADI0) request can be generated on completion of
double scan.
In group scan mode, A/D scan end interrupt (S12ADI0) request can be generated on completion of group
A scan, whereas A/D scan end interrupt specially for group B (GBADI) request can be generated on
completion of group B scan.
In group scan mode with double trigger mode, A/D scan end interrupt (S12ADI0) request can be
generated on completion of double scan of group A, whereas A/D scan end interrupt specially for group B
(GBADI) request can be generated on completion of group B scan.
S12ADI0 or GBADI interrupt can activate DMA controller (DMAC) or data transfer controller (DTC).
Event linking
An ELC event can be generated on completion of scans except for group B scan in group scan mode.
A/D conversion can be started by the trigger from ELC.
Low power consumption
function
Module stop state can be specified.*3 Table 32.1
Specifications of 12-Bit A/D Converter (2 / 2)
Item
Specifications