
12
M16C Platform
™
On-chip Peripherals
■ Highly Functional Timers
M16C MCUs have input and output timers that are used in combination with other peripheral functions.
X
IN
X
CIN
External
signals input
Clock Generator
Circuit
1/32
Timer
On-chip Oscillator
(Max. 40MHz)
Independent Timer Operation
The timer’s count operation is independent of the operation
of the CPU. Even if the CPU is stopped, it is possible to
operate the timer by means of external signals or a subclock
(32kHz, etc.), thereby reducing current consumption.
3-Phase Inverter PWM Output (Applicable to Motor Control Systems)
M16C
Current monitor
Position detection
Encoder input
NMI
U
U
V
V
W
W
Motor
driver
Emergency-stop input
Phase detection circuit
Motor
3-phase inverter PWM output
High-speed
A/D
converter
Two-phase
pulse signal
processing
function
A phase
B phase
Z phase
S/H
AN7
AN0
AN23
AN16
AN33
AN26
A/D Converter
A/D
Converter
Vcc
GND
Vcc
GND
AN EX1
AN EX0
Max. 26-Channel A/D Pins (M16C/62P, 64, 65)
(R32C/118: Max. 34-Channel)
(M16C/30P: Max. 10-Channel)
(M16C/28: Max. 24-Channel)
(R32C/1xx: Max. 34-Channel)
High-Speed A/D Converter with Sample-and-Hold
(1) Conversion Speed (ØAD = 25MHz) (M16C/65) 10-Bit: 1.72 µs
(2) Successive Conversion ±3 LSB Accuracy
(3) High-Speed Sample-and-Hold
10MHz Operation: 0.3 µs, 20MHz Operation: 0.15 µs
Measurement Error Avoidance
(Unused A/D Overvoltage Processing)
This feature helps prevent measurement error due to wraparound
between channels, even if the other A/D inputs include input that
exceeds the VCC level. It also provides more accurate A/D
conversion values.
Improved A/D Converter Characteristics
The M16C/63, M16C/64, and M16C/65 deliver better
A/D conversion accuracy than other M16C models.
VREF Cutoff
The analog circuit reference voltage, VREF, can be turned on or off.
Turning off VREF when the A/D converter is not being used can help
reduce current consumption.
M16C/63, 64, 65
±3 LSB
±3 LSB
±3 LSB
±3 LSB
±3 LSB
±3 LSB
Max. A/D conversion error
At AVCC
= VREF = 5V
At AVCC
= VREF = 3.3V
At AVCC
= VREF = 3V
Analog input (ANi, ANj_i)
Extended analog input (ANEXi)
Analog input (ANi, ANj_i)
Extended analog input (ANEXi)
Analog input (ANi, ANj_i)
Extended analog input (ANEXi)
Better
accuracy
Better
accuracy
Better
accuracy
Better
accuracy
Better
accuracy
VREF
OFF
ON
Analog Input
AVSS
Resistor
A/D Converter
Comentarios a estos manuales