SAF-C164SM Infineon Technologies, SAF-C164SM Datasheet - Page 33

no-image

SAF-C164SM

Manufacturer Part Number
SAF-C164SM
Description
16-Bit CMOS Microcontroller
Manufacturer
Infineon Technologies
Datasheet
A/D Converter
For analog signal measurement, a 10-bit Analog/Digital (A/D) Converter with eight
multiplexed input channels and a sample and hold circuit has been integrated on-chip. It
uses the method of successive approximation. The sample time (for loading the
capacitors) and the conversion time are programmable and can so be adjusted to the
external circuitry.
Overrun error detection/protection is provided for the conversion result register
(ADDAT): either an interrupt request will be generated when the result of a previous
conversion has not been read from the result register at the time the next conversion is
complete, or the next conversion is suspended in such a case until the previous result
has been read.
For applications which require fewer analog input channels, the remaining channel
inputs can be used as digital input port pins.
The A/D Converter of the C164CM supports four different conversion modes. In the
standard Single Channel conversion mode, the analog level on a specified channel is
sampled once and converted to a digital result. In the Single Channel Continuous mode,
the analog level on a specified channel is repeatedly sampled and converted without
software intervention. In the Auto Scan mode, the analog levels on a prespecified
number of channels are sequentially sampled and converted. In the Auto Scan
Continuous mode, the prespecified channels are repeatedly sampled and converted. In
addition, the conversion of a specific channel can be inserted (injected) into a running
sequence without disturbing this sequence. This is called Channel Injection Mode.
The Peripheral Event Controller (PEC) may be used to automatically store the
conversion results into a table in memory for later evaluation, without requiring the
overhead of entering and exiting interrupt routines for each data transfer.
Real Time Clock
The C164CM contains a Real Time Clock (RTC) which serves different purposes:
• System clock to determine the current time and date,
• Cyclic time based interrupt
• 48-bit timer for long term measurements
The RTC module consists of a chain of three divider blocks, a fixed 8:1 divider, the
reloadable 16-bit timer T14, and the 32-bit RTC timer (accessible via registers RTCH
and RTCL). Both timers count upwards.
User’s Manual
even during idle mode and power down mode (optionally).
(for example: to provide a system time tick independent of the CPU frequency without
loading the general purpose timers, or to wake up regularly from idle mode).
(the maximum usable timespan is more than 100 years).
2-16
Architectural Overview
C164CM/C164SM
Derivatives
V1.0, 2002-02

Related parts for SAF-C164SM