SONY CXP921064A

CXP921064A
CMOS 16-bit Single Chip Microcomputer
Description
The CXP921064A is a CMOS 16-bit microcomputer
integrating on a single chip an A/D converter, serial
interface, I2C bus interface, timer, real-time pulse
generator, clock prescaler, remote control receive
circuit, and as well as basic configurations like a 16bit CPU, ROM, RAM, and I/O port.
This LSI also provides the sleep/stop functions that
enable lower power consumption.
100 pin QFP (Plastic)
100 pin LQFP (Plastic)
104 pin LFLGA (Plastic)
Features
• An efficient instruction set as a controller
— Direct addressing, numerous abbreviated forms,
multiplication and division instructions
• Instruction sets for C language and RTOS
— Highly quadratic instruction system, generalpurpose register of eigth 16-bit × 16-bank
configuration
• Minimum instruction cycle
100ns at 20MHz operation (2.7 to 3.3V)
61µs at 32kMHz operation (2.2 to 3.3V)
• Incorporated ROM capacity 256K bytes
• Incorporated RAM capacity 10K bytes
• Peripheral functions
— A/D converter
8-bit 12 analog input, 2 channels successive approximation system,
automatic scanning function, (Conversion time: 3.4µs at 20MHz)
— Serial interface
128 -byte buffer RAM, 3 channels
8-stage FIFO, 1 channel (supports special mode master/slave)
— I2C bus interface
64-byte buffer RAM , 2 channels
(supports master/slave and automatic transfer mode)
— Timers
8-bit timer/counter, 2 channels (with timing output)
16-bit timer, 3 channels
— Real-time pulse generator
5-bit output, 1 channel (2-stage FIFO)
— Clock prescaler
— Remote control receive circuit 8-bit pulse measurement counter, 8-stage FIFO
• Interruption
30 factors, 30 vectors, multi-interruption and priority selection possible
• Standby mode
Sleep/stop
• Package
100-pin plastic QFP/LQFP
104-pin plastic LFLGA
• Piggy/evaluation chip
CXP921000A
• FLASH EEPROM incorporated version CXP921F064A
Structure
Silicon gate CMOS IC
Sony reserves the right to change products and specifications without prior notice. This information does not convey any license by
any implication or otherwise under any patents or other right. Application circuits shown, if any, are typical examples illustrating the
operation of the devices. Sony cannot assume responsibility for any problems arising out of the use of these circuits.
–1–
E99707-PS
BUFFER
RAM
FIFO
SERIAL
INTERFACE
UNIT (CH2)
SERIAL
INTERFACE
UNIT (CH3)
CS2
SI2
SO2
SCK2
SI3
SO3
SCK3
RMC
TMO
TO
REMOCON
FIFO
16-BIT TIMER (CH2)
16-BIT TIMER (CH1)
16-BIT TIMER (CH0)
8-BIT TIMER (CH1)
8-BIT TIMER/COUNTER (CH0)
BUFFER
RAM
I2C BUS
INTERFACE
UNIT (CH1)
SCL1
SDA1
EC
BUFFER
RAM
I2C BUS
INTERFACE
UNIT (CH0)
SCL0
SDA0
BUFFER
RAM
SERIAL
INTERFACE
UNIT (CH1)
CS1
SI1
SO1
SCK1
BUFFER
RAM
3
2
2
2
NMI
12
A/D
CONVERTER
(CH0)
INTERRUPT CONTROLLER
AN0
to AN11
SERIAL
INTERFACE
UNIT (CH0)
AVREF0
CS0
SI0
SO0
SCK0
INT0
to INT7
KS0
to KS15
16
5
REALTIME PULSE
GENERATOR
FIFO
CLOCK PRESCALER
PRESCALER/
TIME-BASE TIMER
RAM
10K BYTES
CLOCK GENERATOR/
SYSTEM CONTROLLER
12
A/D
CONVERTER
(CH1)
ROM
256K BYTES
SPC950
CPU CORE
AN12
to AN23
8
AVSS
AVREF1
AVDD
TEX
TX
EXTAL
XTAL
RST
VDD
VSS
RTO0
to RTO4
PB0 to PB7
PC0 to PC7
PD0 to PD7
8
8
8
8
PF4 to PF7
PG0 to PG7
PH0 to PH5
PH6, PH7
PI0 to PI7
4
8
6
2
8
8
PJ0 to PJ7
PF0 to PF3
4
PE0 to PE7
PA0 to PA7
8
PORT B
PORT C
PORT G
PORT H
–2–
XOUT
PORT A
PORT D
PORT E
PORT F
PORT I
PORT J
Block Diagram
CXP921064A
CXP921064A
PJ1/AN5/KS9
PJ2/AN6/KS10
PJ3/AN7/KS11
PJ4/AN8/KS12
PJ5/AN9/KS13
PJ6/AN10/KS14
PJ7/AN11/KS15
NC
VSS
VDD
PA0/AN12
PA1/AN13
PA2/AN14
PA3/AN15
PA4/AN16
PA5/AN17
PA6/AN18
PA7/AN19
PB0/AN20
PB1/AN21
Pin Assignment 1 (Top View) 100-pin QFP package
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
PB2/AN22
1
80
PJ0/AN4/KS8
PB3/AN23
2
79
AVDD
PB4/SI3
3
78
AVREF1
PB5/SO3
4
77
AVREF0
PB6/SCK3
5
76
AVss
PB7/RMC
6
75
AN3
PC0/SDA0
7
74
AN2
PC1/SCL0
8
73
AN1
PC2/SDA1
9
72
PI7/AN0
PC3/SCL1
10
71
PI6/NMI
PC4
11
70
PI5/INT7
PC5
12
69
PI4/INT6
PC6
13
68
PI3/INT5
PC7
14
67
PI2/INT4
VSS
15
66
PI1/INT3
PD0/KS0
16
65
PI0/INT2
PD1/KS1
17
64
PH7/INT1
PD2/KS2
18
63
PH6/INT0
PD3/KS3
19
62
PH5/XOUT
PD4/KS4
20
61
PH4/RTO4
PD5/KS5
21
60
PH3/RTO3
PD6/KS6
22
59
PH2/RTO2
PD7/KS7
23
58
PH1/RTO1
PE0
24
57
PH0/RTO0
PE1
25
56
Vss
PE2
26
55
TX
PE3
27
54
TEX
PE4
28
53
VDD
PE5
29
52
PG7/SCK2
PE6
30
51
PG6/SO2
PG5/SI2
PG4/CS2
PG3/SCK1
PG2/SO1
PG1/SI1
PG0/CS1
VDD
EXTAL
XTAL
VSS
RST
PF6/TO
PF7/TMO
PF5/SCK0
PF4/SO0
PF3/SI0
PF1/EC
PF2/CS0
PF0
PE7
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
Note) 1. NC (Pin 88) must be left open. However, use this pin for FLASH EEPROM
incorporated version.
2. Vss (Pins 15, 41, 56 and 90) must be connected to GND.
3. VDD (Pins 44, 53 and 89) must be connected to VDD.
–3–
CXP921064A
AVREF1
AVDD
PJ0/AN4/KS8
PJ1/AN5/KS9
PJ2/AN6/KS10
PJ3/AN7/KS11
PJ4/AN8/KS12
PJ5/AN9/KS13
PJ6/AN10/KS14
PJ7/AN11/KS15
NC
VSS
VDD
PA0/AN12
PA1/AN13
PA2/AN14
PA3/AN15
PA4/AN16
PA5/AN17
PA6/AN18
PA7/AN19
PB0/AN20
PB1/AN21
PB2/AN22
PB3/AN23
Pin Assignment 2 (Top View) 100-pin LQFP package
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76
PB4/SI3
1
75
AVREF0
PB5/SO3
2
74
AVss
PB6/SCK3
3
73
AN3
PB7/RMC
4
72
AN2
PC0/SDA0
5
71
AN1
PC1/SCL0
6
70
PI7/AN0
PC2/SDA1
7
69
PI6/NMI
PC3/SCL1
8
68
PI5/INT7
PC4
9
67
PI4/INT6
PC5
10
66
PI3/INT5
PC6
11
65
PI2/INT4
PC7
12
64
PI1/INT3
VSS
13
63
PI0/INT2
PD0/KS0
14
62
PH7/INT1
PD1/KS1
15
61
PH6/INT0
PD2/KS2
16
60
PH5/XOUT
PD3/KS3
17
59
PH4/RTO4
PD4/KS4
18
58
PH3/RTO3
PD5/KS5
19
57
PH2/RTO2
PD6/KS6
20
56
PH1/RTO1
PD7/KS7
21
55
PH0/RTO0
PE0
22
54
Vss
PE1
23
53
TX
PE2
24
52
TEX
PE3
25
51
VDD
PG7/SCK2
PG6/SO2
PG5/SI2
PG4/CS2
PG3/SCK1
PG2/SO1
PG1/SI1
PG0/CS1
VDD
EXTAL
XTAL
VSS
RST
PF7/TMO
PF6/TO
PF5/SCK0
PF4/SO0
PF3/SI0
PF2/CS0
PF0
PF1/EC
PE7
PE6
PE5
PE4
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
Note) 1. NC (Pin 86) must be left open. However, use this pin for FLASH EEPROM
incorporated version.
2. Vss (Pins 13, 39, 54 and 88) must be connected to GND.
3. VDD (Pins 42, 51 and 87) must be connected to VDD.
–4–
CXP921064A
Pin Assignment 3 (Top View) 104-pin LFLGA package
1
2
3
4
5
6
7
8
9
10
11
A
98
PB1
96
PA7
93
PA4
90
PA1
88
VSS
86
NC
83
PJ5
80
PJ2
78
PJ0
A
B
99
PB2
97
PB0
94
PA5
91
PA2
87
VDD
85
PJ7
82
PJ4
79
PJ1
77
AVDD
B
100
PB3
95
PA6
92
PA3
89
PA0
84
PJ6
81
76
PJ3 AVREF1
C
3
PB6
2
PB5
D
5
PC0
4
PB7
1
PB4
8
PC3
F 11
PC6
G 13
7
PC2
10
PC5
6
PC1
9
PC4
70
PI7
67
PI4
VSS
12
PC7
14
PD0
15
PD1
16
PD2
18
PD4
K 21
PD7
19
PD5
22
PE0
L
24
PE2
E
H
J
23
PE1
12
13
74
AVSS
73
AN3
C
75
72
AVREF0 AN2
71
AN1
D
69
PI6
66
PI3
68
PI5
65
PI2
E
64
PI1
62
PH7
63
PI0
G
17
PD3
59
PH4
60
PH5
61
PH6
H
20
PD6
25
PE3
56
PH1
51
VDD
57
PH2
54
VSS
58
PH3
55
PH0
J
52
TEX
53
TX
26
PE4
31
PF1
34
PF4
39
VSS
45
PG2
50
PG7
42
VDD
F
K
L
M
27
PE5
29
PE7
32
PF2
35
PF5
37
41
44
PF7 EXTAL PG1
47
PG4
49
PG6
M
N
28
PE6
3
30
PF0
4
33
PF3
5
36
PF6
6
38
40
43
RST XTAL PG0
7
8
9
46
PG3
10
48
PG5
11
N
1
2
12
13
Note) 1. NC (Pin 86) must be left open. However, use this pin for FLASH EEPROM
incorporated version.
2. Vss (Pins 13, 39, 54 and 88) must be connected to GND.
3. VDD (Pins 42, 51 and 87) must be connected to VDD.
–5–
CXP921064A
Pin Functions
Symbol
I/O
PA0/AN12
to PA7/AN19
Output / Input
PB0/AN20
to PB3/AN23
Output / Input
PB4/SI3
Output / Input
Functions
(Port A)
8-bit output port.
(8 pins)
Analog input for A/D converter.
(12 pins)
Serial data (CH3) input.
PB6/SCK3
(Port B)
8-bit output port.
Output / Output
(8 pins)
Output / I/O
PB7/RMC
Output / Input
Remote control receive circuit input.
PC0/SDA0
I/O / I/O
PC1/SCL0
I/O / I/O
PC2/SDA1
I/O / I/O
PC3/SCL1
I/O / I/O
PC4 to PC7
I/O
PB5/SO3
Serial data (CH3) output.
Serial clock (CH3) I/O.
Data I/O of I2C bus interface (CH0).
(Port C)
Clock I/O of I2C bus interface (CH0).
8-bit I/O port.
I/O can be specified in 1-bit units.
Data I/O of I2C bus interface (CH1).
Pull-up resistor is present or not
Clock I/O of I2C bus interface (CH1).
through program in 1-bit units.
(8 pins)
I/O / Input
(Port D)
8-bit I/O port.
I/O can be specified in 1-bit units.
Can drive 5mA sink current
(VDD = 2.7 to 3.3V).
(8 pins)
PE0 to PE7
I/O
(Port E)
8-bit I/O port.
I/O can be specified in 1-bit units.
(8 pins)
PF0
Input
PF1/EC
Input / Input
PF2/CS0
Input / Input
PD0/KS0
to PD7/KS7
Standby release input function can be
specified in 1-bit units.
(8 pins)
External event input for 8-bit
timer/counter.
Serial chip select (CH0) input.
PF5/SCK0
(Port F)
8-bit port.
Input / Input
Lower 4 bits are for input;
Output / Output upper 4 bits are for output.
(8 pins)
Output / I/O
PF6/TO
Output / Output
8-bit timer/counter output.
PF7/TMO
Output / Output
16-bit timer (CH0) output.
PF3/SI0
PF4/SO0
–6–
Serial data (CH0) input.
Serial data (CH0) output.
Serial clock (CH0) I/O.
CXP921064A
Symbol
I/O
Functions
PG0/CS1
I/O / Input
Serial chip select (CH1) input.
PG1/SI1
I/O / Input
Serial data (CH1) input.
PG2/SO1
I/O / Output
PG3/SCK1
I/O / I/O
PG4/CS2
I/O / Input
PG5/SI2
I/O / Input
PG6/SO2
I/O / Output
Serial data (CH2) output.
PG7/SCK2
I/O / Output
Serial clock (CH2) output.
PH0/RTO0
to PH4/RTO4
PH5/XOUT
PH6/INT0
to PH7/INT1
Serial data (CH1) output.
(Port G)
Serial clock (CH1) I/O.
8-bit I/O port.
I/O can be specified in 1-bit units. Serial chip select (CH2) input.
(8 pins)
Serial data (CH2) input.
Output / Output (Port H)
8-bit port.
Output / Output Lower 6 bits are for output;
upper 2 bits are for input.
(8 pins)
Input / Input
Real-time pulse generator output.
(5 pins)
Clock output for clock prescaler buzzer.
External interrupt input.
(8 pins)
PI0/INT2
to PI5/INT7
Input / Input
PI6/NMI
Input / Input
PI7/AN0
Input / Input
AN1 to AN3
Input
Analog input for A/D converter.
(12 pins)
PJ0/AN4/
KS8
to PJ7/AN11/
KS15
I/O / Input /
Input
(Port J)
8-bit I/O port.
I/O can be specified in 1-bit units.
(8 pins)
EXTAL
Input
Connects a crystal for main clock oscillation.
(When the clock is supplied externally, input it to EXTAL and input an
opposite phase clock to XTAL.)
Input
Connects a crystal for sub clock oscillation.
(When the clock is supplied externally, input it to TEX and input an
opposite phase clock to TX.)
Input
System reset. Active at "L" level.
XTAL
TEX
TX
RST
(Port I)
8-bit input port.
(8 pins)
Non-maskable external interrupt input.
Standby release input
function can be specified in
1-bit units.
(8 pins)
Positive power supply for A/D converter.
AVDD
AVREF0
Input
Reference voltage input for A/D converter (CH0).
AVREF1
Input
Reference voltage input for A/D converter (CH1).
AVSS
GND for A/D converter.
VDD
Positive power supply.
(Connect all three VDD pins to positive power supply.)
VSS
GND
(Connect all four Vss pins to GND.)
NC
NC.
(NC is used for FLASH EEPROM incorporated version.)
–7–
CXP921064A
I/O Circuit Format for Pins
Pin
Circuit format
After a reset
PA register
"0" after a reset
PA0/AN12
to PA7/AN19
PASL register
Input protection
circuit
IP
Hi-Z
"0" after a reset
Internal data bus
A/D converter
RD
Input multiplexer
PB register
"0" after a reset
PB0/AN20
to PB3/AN23
PBSL register
IP
Hi-Z
IP
Hi-Z
"0" after a reset
Internal data bus
A/D converter
RD
Input multiplexer
PB register
"0" after a reset
PB4/SI3
PB7/RMC
PBSL register
"0" after a reset
Internal data bus
RD
SI3, RMC
CMOS Schmitt input
–8–
CXP921064A
Pin
Circuit format
SO3
0
MPX
1
PB register
PB5/SO3
After a reset
"0" after a reset
Hi-Z
Internal data bus
RD
PBSL register
"0" after a reset
SO3 output enable
0
SCK3
MPX
1
PB register
"0" after a reset
Internal data bus
PB6/SCK3
Hi-Z
RD
PBSL register
IP
"0" after a reset
SCK3 output enable
SCK3
CMOS Schmitt input
PULC register
"0" after a reset
SDA0, SCL0, SDA1, SCL1
PC register
∗
1
MPX
0
Underfined after a reset
PC0/SDA0
PC1/SCL0
PC2/SDA1
PC3/SCL1
PCSL register
Hi-Z
"0" after a reset
IP
PCD register
"0" after a reset
Internal data bus
RD
SDA0, SCL0
SDA1, SCL1
CMOS Schmitt input
∗ Pull-up transistor
approximately 15kΩ (VDD = 2.7 to 3.3V)
–9–
CXP921064A
Pin
Circuit format
After a reset
PULC register
∗
"0" after a reset
PC register
Underfined after a reset
PC4 to PC7
Hi-Z
PCD register
IP
"0" after a reset
Internal data bus
RD
∗ Pull-up transistor
approximately 15kΩ (VDD = 2.7 to 3.3V)
PD register
Underfined after a reset
∗
PDD register
PD0/KS0
to PD7/KS7
IP
"0" after a reset
Hi-Z
Internal data bus
RD
Standby release
∗ Large current drive
5mA (VDD = 2.7 to 3.3V)
PE register
Underfined after a reset
PE0 to PE7
PED register
IP
"0" after a reset
Internal data bus
RD
– 10 –
Hi-Z
CXP921064A
Pin
PF0
Circuit format
After a reset
IP
Internal data bus
Hi-Z
RD
Internal data bus
IP
PF1/EC
Hi-Z
RD
CMOS Schmitt input
EC
IP
Internal data bus
PF2/CS0
PF3/SI0
RD
CMOS Schmitt input
PFSL register
Hi-Z
"0" after a reset
CS0, SI0
SO0
PF register
Internal
data bus
1
MPX
0
"0" after a reset
RD
PF4/SO0
Hi-Z
PFSL register
"0" after a reset
SO0 output enable
PF register write
S
Reset
R
SCK0
PF register
Internal
data bus
Q
1
MPX
0
"0" after a reset
RD
PF5/SCK0
Hi-Z
PFSL register
"0" after a reset
IP
SCK0 output enable
PF register write
S
Reset
R
Q
SCK0
CMOS Schmitt input
– 11 –
CXP921064A
Pin
Circuit format
PF register write
S
Reset
R
TO, TMO
PF6/TO
PF7/TMO
PF register
After a reset
∗
Q
"H" level
("H" level at ON
resistance of pullup transistor during
a reset.)
1
MPX
0
"0" after a reset
Internal
data bus
RD
PFSL register
∗ Pull-up transistor
approximately 150kΩ (VDD = 2.7 to 3.3V)
"0" after a reset
PG register
Underfined after a reset
PGD register
PG0/CS1
PG1/SI1
PG4/CS2
PG5/SI2
IP
"0" after a reset
Hi-Z
Internal
data bus
RD
CMOS Schmitt input
PGSL register
"0" after a reset
CS1, SI1
CS2, SI2
SO1, SCK1
SO2, SCK2
PG register
1
MPX
0
Underfined after a reset
PGSL register
PG2/SO1
PG3/SCK1
PG6/SO2
PG7/SCK2
"0" after a reset
Hi-Z
PGD register
IP
"0" after a reset
SO1, SCK1
output enable
SO2, SCK2
Internal
data bus
RD
SCK1
CMOS Schmitt input
(PG3 only)
– 12 –
CXP921064A
Pin
Circuit format
After a reset
RTO0 to RTO4
PH register
PH0/RTO0
to PH4/RTO4
Hi-Z
Underfined after a reset
Internal
data bus
RD
PH register write
S
Reset
R
XOUT
PH register
Q
1
MPX
0
Underfined after a reset
Internal
data bus
PH5/XOUT
Hi-Z
RD
PHSL register
"0" after a reset
PH6/INT0
to PH7/INT1
PH register write
S
Reset
R
Internal data bus
IP
RD
Interrupt circuit
PI0/INT2
to PI5/INT7
Q
Hi-Z
CMOS Schmitt input
Internal data bus
IP
RD
Interrupt circuit
Hi-Z
CMOS Schmitt input
– 13 –
CXP921064A
Pin
Circuit format
After a reset
PISL register
"0" after a reset
PI6/NMI
Interrupt circuit (NMI)
Hi-Z
IP
CMOS Schmitt input
Internal data bus
RD
PISL register
"0" after a reset
PI7/AN0
Internal data bus
Hi-Z
IP
RD
A/D converter
Input multiplexer
AN1 to AN3
A/D converter
IP
Hi-Z
Input multiplexer
PJ register
Underfined after a reset
PJD register
"0" after a reset
PJ0/AN4/
KS8
to PJ7/AN11/
KS15
Hi-Z
Internal data bus
RD
Standby release
IP
PJSL register
"0" after a reset
A/D converter
Input multiplexer
– 14 –
CXP921064A
Pin
Circuit format
After a reset
IP
EXTAL
Timing generator
• Diagram shows circuit
configuration during
oscillation.
• Feedback registor is
removed during stop
mode, and XTAL is
driven at "H" level.
EXTAL
XTAL
Oscillation stop control
Oscillation
XTAL
Oscillation stop control
Timing generator,
clock prescaler
IP
TEX
TEX
TX
Oscillation
• TX is driver at Hi-Z
during stop.
IP
TX
Mask option
∗
OP
RST
"L" level
(during a reset)
IP
CMOS Schmitt input
∗ Pull-up transistor
approximately 30kΩ (VDD = 2.7 to 3.3V)
– 15 –
CXP921064A
(VSS = 0V reference)
Absolute Maximum Ratings
Item
Symbol
Rating
Unit
V
AVDD
–0.3 to +4.6
AVSS to +4.6∗1
AVREF
AVSS to +4.6∗1
VDD
Supply voltage
Remarks
V
V
VIN
–0.3 to +0.3
–0.3 to +4.6∗2
Output voltage
VOUT
–0.3 to +4.6∗2
V
High level output current
IOH
–5
mA
Output (value per pin)
High level total output current
∑IOH
–50
mA
Total for all output pins
IOL
15
mA
IOLC
20
mA
Low level total output current
∑IOL
130
mA
Operating temperature
Topr
–20 to +75
°C
Storage temperature
Tstg
–55 to +150
°C
600
mW
QFP-100P-L01
380
mW
LQFP-100P-L01
500
mW
LFLGA-104P-02
AVSS
Input voltage
V
V
Low level output current
Allowable power dissipation
PD
All pins excluding large current output
pins (value per pin)
Large current output pins∗3
(value per pin)
Total for all output pins
∗1 AVDD and AVREF must be the same voltage with VDD.
∗2 VIN and VOUT must not exceed VDD + 0.3V.
∗3 The large current drive transistor is N-ch transistor of PD.
Note) Usage exceeding absolute maximum ratings may permanently impair the LSI. Normal operation should
be conducted under the recommended operating conditions. Exceeding these conditions may adversely
affect the reliability of the LSI.
– 16 –
CXP921064A
(Vss = 0V reference)
Recommended Operating Conditions
Item
Symbol
Min.
Max.
Unit
2.7
3.3
V
2.2
3.3
V
Guaranteed operation range with TEX clock
2.2
3.3
V
Guaranteed operation range for clock mode
2.0
3.3
V
AVDD
2.7
3.3
V
Guaranteed data hold range during stop mode
∗1
AVREF
2.7
3.3
V
∗1
VIH
0.7VDD
VDD
V
∗2
VIHS
0.8VDD
VDD
V
CMOS Schmitt input∗3
VIHEX
0.7VDD
VDD+0.3
V
VIL
0
0.2VDD
V
EXTAL, TEX
∗2
VILS
0
0.2VDD
V
CMOS Schmitt input∗3
VILEX
–0.3
0.3VDD
V
EXTAL, TEX
Topr
–20
+75
°C
VDD
Supply voltage
High level input
voltage
Low level input
voltage
Operating temperature
Remarks
∗1 AVDD and AVREF must be the same voltage with VDD.
∗2 PC4 to PC7, PD, PE, PF0, PG2, PG6, PI7, PJ for normal input port.
∗3 PB4, PB6, PB7, PC0 to PC3, PF1 to PF3, PF5, PG0, PG1, PG3 to PG5, PG7, PH6, PH7, PI0 to PI6, RST.
– 17 –
CXP921064A
Electrical Characteristics
DC Characteristics
Item
High level
output
voltage
Low level
output
voltage
Symbol
VOH
(Topr = –20 to +75°C, Vss = 0V reference)
Pins
IILE
Typ.
Max.
Unit
VDD = 2.7V, IOH = –0.15mA
2.4
V
VDD = 2.7V, IOH = –0.5mA
2.0
V
PC
VDD = 2.7V, IOH = –0.05mA
1.3
V
VDD = 2.7V, IOL = 1.2mA
0.3
V
VDD = 2.7V, IOL = 1.6mA
0.5
V
PC0 to PC3
(SCL0, SCL1,
SDA0, SDA1)
VDD = 2.7V, IOL = 2.0mA
0.3
V
VDD = 2.7V, IOL = 3.0mA
0.5
V
PD
VDD = 2.7V, IOL = 5.0mA
1.0
V
IIHE
Input
current
Min.
PA, PB, PD, PE,
PF4 to PF7, PG,
PH0 to PH5, PJ
PA, PB,
PC4 to PC7, PE,
PF4 to PF7, PG,
PH0 to PH5, PJ
VOL
Conditions
EXTAL
IILR
RST∗1
IIL
PC∗2
VDD = 3.3V, VIH = 3.3V
0.3
20
µA
VDD = 3.3V, VIL = 0.3V
–0.3
–20
µA
–0.9
–250
µA
–250
µA
VDD = 3.3V, VIL = 0.3V
VDD = 2.7V, VIH = 2.4V
–1.0
µA
I/O leakage
IIZ
current
PA, PB,
PD to PG,
PH6, PH7,
PI, PJ,
AN1 to AN3,
TEX, RST∗1
VDD = 3.3V, VI = 0, 3.3V
±10
µA
Open drain
output
leakage
ILOH
current (N-ch
Tr. off state)
PC∗2
VDD = 3.3V, VIH = 3.3V
10
µA
IDD1∗4
VDD = 3.0 ± 0.3V, 20MHz crystal
oscillation, A/D off state
(C1 = C2 = 10pF)
12
20
mA
IDD2
VDD = 3.0 ± 0.3V, 32kHz crystal
oscillation, 20MHz oscillation stop,
A/D off state (C1 = C2 = 47pF)
25
50
µA
IDDS1∗4
VDD = 3.0 ± 0.3V, 20MHz crystal
oscillation, A/D off state
(C1 = C2 = 10pF), sleep mode
5
10
mA
IDDS2
VDD = 3.0 ± 0.3V, 32kHz crystal
oscillation, 20MHz oscillation stop,
A/D off state (C1 = C2 = 47pF),
sleep mode
10
25
µA
IDDS3
VDD = 3.0V, 32kHz crystal
oscillation, 20MHz oscillation stop
(C1 = C2 = 47pF), clock mode
5
15
µA
IDDS4
VDD = 3.0V, stop mode
10
µA
Supply
current∗3
VDD, VSS
– 18 –
CXP921064A
Item
Symbol
Input
CIN
capacitance
Pins
Conditions
PA, PB0 to PB4,
PB6, PB7,
PC to PE,
PF0 to PF3,
PF5, PG, PH6,
PH7, PI, PJ,
AN1 to AN3,
EXTAL, TEX,
RST
Clock 1MHz
0V for all pins excluding measured
pins
Min.
Typ.
Max.
Unit
10
20
pF
∗1 RST specifies the input current when pull-up resistor has been selected; the leakage current when no
resistor has been selected.
∗2 PC specifies the input current when pull-up resistor has been selected; the leakage current when no
resistor has been selected.
∗3 When all output pins are open.
∗4 When the upper two bits (PCK1, PCK0) of the clock control register (CLC: 0002FEh) are set to "00" and
the LSI is operated in high-speed mode (2 frequency dividing clock).
– 19 –
CXP921064A
AC Characteristics
(1) Clock timing
(Topr = –20 to +75°C, VDD = 2.7 to 3.3V, Vss = 0V reference)
Item
Symbol
Main clock base oscillation
frequency
Main clock base oscillation
input pulse width
Main clock base oscillation
input rise time, fall time
Sub clock base oscillation
frequency
Sub clock base oscillation
input pulse width
Sub clock base oscillation
input rise time, fall time
fEX
tXH
tXL
tXR
tXF
fTEX
tTH
tTL
tTR
tTF
Pins
Conditions
EXTAL,
XTAL
EXTAL
EXTAL
TEX,
TX
TEX
TEX
Fig.1
Fig.1, Fig.2
External clock
drive
Fig.1, Fig.2
External clock
drive
Min.
Typ.
Max.
Unit
VDD = 3.0 ± 0.3V
15
20
20.5
MHz
VDD = 3.0 ± 0.3V
20
VDD = 3.0 ± 0.3V
ns
14
ns
Fig.1
VDD = 2.2 to 3.3V 32.735 32.768 33.096 kHz
Fig.1, Fig.2
External clock
drive
Fig.1, Fig.2
External clock
drive
VDD = 3.3V
15.3
µs
VDD = 2.2V
15.3
µs
VDD = 3.3V
200
ns
VDD = 2.2V
200
ns
Note) tsys indicates the four values below according to the upper two bits (PCK1,PCK0) of the clock control
register (CLC: 0002FEh) during main mode and tsys = 2/fTEX = 61.04µs during sub mode.
tsys [ns] = 2/fEX (PCK1, PCK0 = 00), 4/fEX (PCK1, PCK0 = 01), 8/fEX (PCK1, PCK0 = 10), 16/fEX (PCK1,
PCK0 = 11)
1/fc
0.7VDD
EXTAL
0.3VDD
tXH
tXF
tXL
tXR
1/fTEX
0.7VDD
TEX
0.3VDD
tTH
tTF
tTL
tTR
Fig.1. Clock timing
Oscillator connection
example of
main oscillation circuit
EXTAL
XTAL
Oscillator connection
example of
sub oscillation circuit
TEX
TX
Connection example of
external clock
(TEX)
EXTAL
(TX)
XTAL
74HC04
Fig.2. Oscillator connection and clock applied conditions
– 20 –
CXP921064A
(2) Event count input
Item
(Topr = –20 to +75°C, VDD = 2.7 to 3.3V, Vss = 0V reference)
Symbol
tEH,
tEL
Event count input clock
pulse width
Pins
Conditions
EC
Min.
Max.
tsys + 100
Fig.3
Unit
ns
0.8VDD
EC
0.2VDD
tEH
tEL
Fig.3. Event count input timing
(3) Interruption and reset input
Item
External interruption
high, low level width
Symbol
tIH,
tIL
(Topr = –20 to +75°C, VDD = 2.7 to 3.3V, Vss = 0V reference)
Pins
Conditions
Min.
Main mode
Sub mode
NMI
INT0 to INT7 Sleep mode
KS0 to KS15 Clock mode
Stop mode
Noise filter
INT4 to INT7
selected
Reset input low level
width
tRST RST
ns
1
µs
2tsys + 100
PS4
32/fEX + 100
PS6
128/fEX + 100
3tsys + 200
tIH
tIL
0.8VDD
NMI
INT0 to INT7
KS0 to KS15
0.2VDD
Fig.4. Interruption input timing
tRST
RST
0.2VDD
Fig.5. Reset input timing
– 21 –
Unit
tsys + 100
φ
Fig.5
Max.
ns
ns
CXP921064A
(4) A/D converter characteristics
(Topr = –20 to +75°C, VDD = AVDD = AVREF = 2.7 to 3.3V, Vss = AVss = 0V reference)
Item
Symbol
Pins
Conditions
Min.
Typ.
Resolution
Linearity error
VDD = AVDD = AVREF = 3.0V
Absolute error
Conversion time
Sampling time
tCONV
tSAMP
Reference input
voltage
VREF
AVREF
Analog input
voltage
VIAN
AN0 to AN23
IREF
AVREF current
IREFS
AVREF0
AVREF1
Max.
Unit
8
Bits
±1
LSB
±3
LSB
34tsys
µs
9tsys
µs
VDD = AVDD = AVREF
Main mode
Sub mode
2.7
3.3
V
0
AVREF
V
1.5
mA
10
µA
1.1
Clock mode
Stop mode
during ADC off state
∗ When Bit 14 (ADOFF) of A/D control status register (ADCS0: 00013Ch,ADCS1: 00014Ch) is specified to "1".
Note) AVDD and AVREF must be the same voltage with VDD.
(100h)
FFh
FEh
Digital conversion value
Digital conversion value
FFh
FEh
Linearity error
01h
00h
VZT∗1
Analog input
Absolute error
01h
00h
VFT∗2
Absolute error
Analog input
∗1 VZT: Value at which the digital conversion value changes from 00h to 01h and vice versa.
∗2 VFT: Value at which the digital conversion value changes from FEh to FFh and vice versa.
Fig.6. Definition of A/D converter terms
– 22 –
AVREF
CXP921064A
(Topr = –20 to +75°C, VDD = 2.7 to 3.3V, Vss = 0V reference)
(5) Serial transfer (CH0, CH1, CH2)
Item
Symbol
Pins
Conditions
Min.
Max.
Unit
CS ↓ → SCK
delay time
tDCSK
SCK0
External start transfer mode
SCK1
(SCK = output mode)
SCK2
1.5tsys + 200
ns
CS ↑ → SCK
float delay time
SCK0
tDCSKF SCK1 External start transfer mode
(SCK = output mode)
1.5tsys + 200
ns
CS ↓ → SO
delay time
tDCSO
External start transfer mode
1.5tsys + 200
ns
CS ↑ → SO
float delay time
tDCSOF CS1
External start transfer mode
1.5tsys + 200
ns
CS high level width
tWHCS
CS0
CS1
CS2
SCK cycle time
tKCY
SCK2
SO0
SO1
SO2
CS0
CS2
tsys + 100
ns
SCK0 Input mode
SCK1
SCK2 Output mode
2tsys + 200
ns
16/fEX
ns
tsys + 100
ns
8/fEX – 100
ns
100
ns
External start transfer mode
SCK
high, low pulse width
tKH
tKL
SCK0 Input mode
SCK1
SCK2 Output mode
SI input data setup time
(for SCK ↑)
SI0
SI1
SI2
SCK input mode
tSIK
SCK output mode
200 – tsys
ns
SI input data hold time
(for SCK ↑)
SI0
SI1
SI2
SCK input mode
tKSI
tsys + 100
ns
SCK output mode
tsys + 100
ns
SCK ↓ → SO
delay time
SO0
SO1
SO2
SCK input mode
tKSO
Minimum interval time
tINT
SCK output mode
SCK0 SCK input mode
SCK1
SCK2 SCK output mode
ns
100
ns
3tsys + 100
ns
8/fEX – 100
ns
Note) The load condition for the SCK output mode and SO output delay time is 100pF.
– 23 –
tsys + 150
CXP921064A
tWHCS
0.8VDD
CS0
CS1
CS2
0.2VDD
tKCY
tDCSK
tKL
tDCSKF
tKH
0.8VDD
SCK0
SCK1
SCK2
0.2VDD
tSIK
tKSI
0.8VDD
SI0
SI1
SI2
Input data
0.2VDD
tDCSO
tDCSOF
tKSO
0.8VDD
SO0
SO1
SO2
Output data
0.2VDD
tINT
0.8VDD
SCK0
SCK1
SCK2
Fig.7. Serial transfer CH0, CH1, CH2 timing
– 24 –
CXP921064A
(6) Serial transfer (CH3) [SIO mode]
Item
SCK cycle time
Symbol
Pins
SCK3
tKH
tKL
SI input data setup
time (for SCK ↑)
tSIK
SI3
SI input data hold
time (for SCK ↑)
tKSI
SCK ↓ → SO delay
time
tKSO
Min.
Conditions
16/fEX
ns
Input mode
tsys + 100
ns
Output mode
8/fEX – 100
ns
SCK input mode
100
ns
SCK output mode
200
ns
tsys + 100
ns
200
ns
Output mode
SCK input mode
SCK input mode
SCK output mode
Note) The load condition for the SCK output mode and SO output delay time is 100pF.
tKCY
tKL
tKH
SCK3
0.8VDD
0.2VDD
tSIK
tKSI
0.8VDD
Input data
SI3
Unit
ns
SCK output mode
SO3
Max.
2tsys + 200
Input mode
tKCY
SCK high, low pulse
width
(Topr = –20 to +75°C, VDD = 2.7 to 3.3V, Vss = 0V reference)
0.2VDD
tKSO
0.8VDD
Output data
SO3
0.2VDD
Fig.8. Serial transfer CH3 timing (SIO mode)
– 25 –
tsys + 150
ns
100
ns
CXP921064A
(7) Serial transfer (CH3) [Special mode]
Item
Symbol
(Topr = –20 to +75°C, VDD = 2.7 to 3.3V, Vss = 0V reference)
Conditions
Pins
SO cycle time∗
tLCY
SO3
SI3
SI input setup time
tLSU
SI3
SI input hold time
tLHD
SI3
Input start bit high level
width
tLSBH
SI3
SI → SO
delay time
tLIO
Min.
Typ. Max. Unit
104
fEX = 20MHZ
2
1
Communication slave mode
SO3
1
∗ When lower 2 bits (SCK1, SCK0) of serial mode register (SIOM3: 0001A4h) is specified to "00".
Note) The load condition for the SO output delay time is 100pF.
SO3
tLCY
tLCY
Start bit
Output data bit
0.5VDD
tLCY/2
tLHD
tLSU
0.8VDD
Input data
bit
SI3
0.2VDD
Fig.9. Serial transfer CH3 timing (Special mode)
tLSBH
0.8VDD
Input data bit
SI3
0.2VDD
tLHD
tLSU
tLCY/2
tLCY
tLIO
tLCY
SO3
µs
2
0.5VDD
tLSU
tLHD
tLCY
Output data bit
Fig.10. Serial transfer CH3 timing (Special mode)
– 26 –
CXP921064A
(8) I2C bus (CH0, CH1)
(Topr = –20 to +75°C, VDD = 2.7 to 3.3V, Vss = 0V reference)
Item
Symbol
Pins
Standard mode
High-speed mode
Min.
Max.
Min.
Max.
100
0
400
Unit
SCK clock frequency
tSCL
SCL0
SCL1
0
Bus free time between
stop and start conditions
tBUF
SDA0
SDA1
4.7
1.3
µs
Hold time under (resend)
start condition
tHD;STA
SDA0, SDA1
SCL0, SCL1
4.0
0.6
µs
Hold time in SCL clock
low state
tLow
SCL0
SCL1
4.7
1.3
µs
Hold time in SCL clock
high state
tHigh
SCL0
SCL1
4.0
0.6
µs
Setup time under (resend)
start condition
tSU;STA
SDA0, SDA1
SCL0, SCL1
4.7
0.6
µs
Data hold time
tHD;DAT
SDA0, SDA1
SCL0, SCL1
0
0
Data setup time
tSU;DAT
SDA0, SDA1
SCL0, SCL1
250
100
SCL, SDA signal output
rise time
tRd
tRc
tFd
tFc
SDA0, SDA1
SCL0, SCL1
1000
20 + α∗
300
ns
SDA0, SDA1
SCL0, SCL1
300
20 + α∗
300
ns
tSU;STO
SDA0, SDA1
SCL0, SCL1
SCL, SDA signal output
fall time
Setup time under stop
condition
4.0
0.9
kHz
µs
ns
µs
0.6
∗ Due to the total capacitance of the bus.
tSU;DAT
tBUF
SDA0
SDA1
tHD;STA
tRd
tFd
tSCL
tRc
tFc
tLow
SCL0
SCL1
tHD;STA
tHD;DAT
tHigh
Fig.11. I2C bus timing
– 27 –
tSU;STA
tSU;STO
CXP921064A
(9) Remote control reception
Item
(Topr = –20 to +75°C, VDD = 2.7 to 3.3V, Vss = 0V reference)
Symbol
Pins
Conditions
Min.
Max.
Unit
PS5 selected 128/fEX + 100
PS7 selected 512/fEX + 100
Remote control receive
high, low level width
tRMC
RMC
Main mode
PS9 selected 2048/fEX + 100
4/fTEX + 100
32k selected
8/fTEX + 100
Sub mode
0.8VDD
RMC
0.2VDD
tRMC
tRMC
Fig.12. Remote control signal input timing
– 28 –
ns
CXP921064A
Appendix
(i) Main oscillation circuit
EXTAL
(ii) Main oscillation circuit
XTAL
EXTAL
XTAL
Rd
C1
(iii) Sub oscillation circuit
TEX
Rd
TX
Rf
Rd
C2
C1
C1 C2
C2
Fig.13. Recommended oscillation circuit
Manufacturer
MURATA MFG
CO., LTD.
Model
fc (MHz)
C1 (pF)
C2 (pF)
CSA12.0MG
12.0
30
30
0
CSA16.00MXZ040
16.0
15
15
0
CSA20.00MXZ040
CST12.0MTW∗
20.00
10
10
0
12.0
30
30
0
16.0
15
15
0
12.00
10
10
220
12.0
12
12
1.0k
16.0
12
12
470
20.0
12
12
390
CST16.00MXW0C3∗
RIVER ELETEC
HC-49/U03
CO., LTD.
KINSEKI LTD.
HC-49/U-S
CCR12.0MSC5∗
CCR16.0MSC6∗
TDK
Corporation
CCR20.0MSC6∗
Seiko
Instruments Inc.
VTC-200
SP-T
12.0
20 (±20%) 20 (±20%)
16.0
10 (±20%) 10 (±20%)
20.0
10 (±20%) 10 (±20%)
32.768kHZ
18
20
∗ Indicates types with on-chip grounding capacitor (C1, C2).
Reset pin pull-up resistor
Content
Non-existent
Existent
– 29 –
Remarks
(i)
(ii)
(i)
CL = 10pF
(i)
CL = 12pF
0
(ii)
150k
(iii)
Rf = 10MΩ
CL = 12.5pF
CCR∗∗∗: Surface mounted type ceramic oscillator.
CL
: Load capacitor
Mask option table
Item
Rd (Ω) Circuit example
CXP921064A
Notes on PF7 Usage
FLASH EEPROM incorporated PF7 is also used as flash mode setting function. Note the followings:
1. "H" is output to PF7 during a reset. That is driven at comparatively high impedance (approximately 150 kΩ),
and take care that VOH should not fall under 0.7 VDD by the partial pressure with external circuit load
impedance.
2. When using software reset functions, PF7 may not rise enough during a reset. Switching PF7 to "H" output
prior to software reset execution or connecting pull-up resistor is recommended.
RST
Normal operation
PF7
Flash mode
Keep PF7 above 0.7 VDD during
this period.
Mask ROM and piggy/evaluation chip do not have flash mode setting function. Considering that EEPROM
incorporated type is used, above countermeasure should be performed.
– 30 –
CXP921064A
Characteristics Curve
IDD vs. VDD
IDD vs. VDD
(fEX = 20MHz, Topr = 25°C, Typical)
20
20
18
18
16
16
14
2 frequency dividing mode
12
10
8
4 frequency dividing mode
6
IDD – Supply current [mA]
IDD – Supply current [mA]
(fEX = 20MHz, Topr = 25°C, Typical)
8 frequency dividing mode
4
16 frequency dividing mode
2
14
12
10
8
6
Sleep mode (2 frequency division)
4
Sleep mode (4 frequency division)
Sleep mode (8 frequency division)
Sleep mode (16 frequency division)
2
0
2.1
2.4
3
3.3
3.6
2.7
VDD – Supply voltage [V]
3.9
18
32kHz mode
(instruction execution)
32kHz
clock mode
IDD – Supply current [mA]
16
14
12
2 frequency dividing mode
10
8
4 frequency dividing mode
6
4
5
8 frequency dividing mode
16 frequency dividing mode
2
2.1
2.4
3
3.3
3.6
2.7
VDD – Supply voltage [V]
3.9
0
0
5
10
15
20
25
fEX – Main clock base oscillation frequency [MHz]
IDD vs. fEX
(VDD = 3V, Topr = 25°C, Typical)
20
18
16
IDD – Supply current [mA]
3.9
20
10
14
12
10
8
0
3.6
IDD vs. fEX
32kHz
sleep mode
2
3.3
(VDD = 3V, Topr = 25°C, Typical)
15
4
3
IDD vs. VDD
20
6
2.7
(fTEX = 32kHz, Topr = 25°C, Typical)
25
0
2.4
VDD – Supply voltage [V]
30
IDD – Supply current [µA]
2.1
Sleep mode (2 frequency division)
Sleep mode (4 frequency division)
Sleep mode (8 frequency division)
Sleep mode (16 frequency division)
15
20
25
5
10
0
fEX– Main clock base oscillation frequency [MHz]
– 31 –
CXP921064A
Unit: mm
100PIN QFP (PLASTIC)
23.9 ± 0.4
+ 0.4
20.0 – 0.1
+ 0.1
0.15 – 0.05
80
51
+ 0.4
14.0 – 0.1
17.9 ± 0.4
15.8 ± 0.4
50
81
A
31
100
1
30
+ 0.15
0.3 – 0.1
0.65
0.13
+ 0.2
0.1 – 0.05
+ 0.35
2.75 – 0.15
M
0° to 10°
DETAIL A
0.8 ± 0.2
(16.3)
0.15
PACKAGE STRUCTURE
PACKAGE MATERIAL
EPOXY RESIN
SONY CODE
QFP-100P-L01
LEAD TREATMENT
SOLDER PLATING
EIAJ CODE
QFP100-P-1420
LEAD MATERIAL
42/COPPER ALLOY
PACKAGE MASS
1.7g
JEDEC CODE
100PIN LQFP (PLASTIC)
16.0 ± 0.2
∗
14.0 ± 0.1
75
51
76
(15.0)
50
0.5 ± 0.2
A
26 (0.22)
100
1
0.5
+ 0.08
0.18 – 0.03
25
0.13 M
+ 0.2
1.5 – 0.1
+ 0.05
0.127 – 0.02
0.1
0.1 ± 0.1
0° to 10°
0.5 ± 0.2
Package Outline
DETAIL A
NOTE: Dimension “∗” does not include mold protrusion.
PACKAGE STRUCTURE
PACKAGE MATERIAL
EPOXY RESIN
SOLDER PLATING
SONY CODE
LQFP-100P-L01
LEAD TREATMENT
EIAJ CODE
LQFP100-P-1414
LEAD MATERIAL
42 ALLOY
PACKAGE MASS
0.8g
JEDEC CODE
– 32 –
CXP921064A
Unit: mm
104PIN LFLGA
0.15 S A
1.4MAX
X
PIN 1 INDEX
0.10 S
12.0
0.15 S B
0.20 S
12.0
0.01
x4
0.20
S
0.8
DETAIL X
A
103 – φ0.40 ± 0.05
1.6
N
M
L
K
J
H
G
F
E
D
C
B
A
φ0.08 M S A B
0.8
B
0.4
1 2 3 4 5 6 7 8 9 10111213
0.4
1.2
1.6
1.2
Package Outline
PACKAGE STRUCTURE
PACKAGE MATERIAL
SONY CODE
EIAJ CODE
JEDEC CODE
LFLGA-104P-02
LFLGA104-P-1212
TERMINAL TREATMENT
TERMINAL MATERIAL
PACKAGE MASS
– 33 –
ORGANIC SUBSTRATE
GOLD PLATING
NICKEL PLATING
0.4g