SONY CXP829P60Q-1

CXP829P60
CMOS 8-bit Single Chip Microcomputer
Description
The CXP829P60 is a CMOS 8-bit single chip
microcomputer integrating on a single chip an A/D
converter, serial interface, timer/counter, time base
timer, fluorescent display panel controller/driver, I2C
bus interface, remote control transmission circuit,
remote control reception circuit, and 32kHz
timer/counter besides the basic configurations of 8-bit
CPU, PROM, RAM, and I/O port.
This LSI also provides sleep/stop functions which
enable to lower power consumption.
The CXP829P60 is the PROM-incorporated version
of the CXP82960 with built-in mask ROM, and it is
able to write directly into the program. Thus, it is most
suitable for evaluation use during system
development and for small-quantity production.
80 pin QFP (Plastic)
Structure
Silicon gate CMOS IC
Features
• Wide-range instruction system (213 instructions) to cover various types of data
— 16-bit arithmetic/multiplication and division/boolean bit operation instructions
• Minimum instruction cycle
250ns at 16MHz operation
(122µs at 32kHz operation)
• Incorporated PROM capacity
60K bytes
• Incorporated RAM capacity
2048 bytes (including fluorescent display area)
• Peripheral functions
— A/D converter
8 bits, 8 channels, successive approximation method
(Conversion time of 20µs/16MHz)
— Serial interface
Buffer RAM incorporated (Auto transfer for 1 to 32 bytes), 1 channel
8-bit, 8-stage FIFO incorporated
(Auto transfer for 1 to 8 bytes), 1 channel
— Timers
8-bit timer, 8-bit timer/counter, 19-bit time base timer
32kHz timer/counter
— Fluorescent display panel controller/driver High voltage drive output port of 28 pins (40V)
Maximum of 196 segments display possible
1 to 16-digit dynamic display
Dimmer function
On-chip incorporated pull-down resistor
Hardware key scan function
Maximum of 12 × 8 key matrix supportable
2
— I C bus interface
— Remote control transmission circuit
Auto transmission for 1 to 32 bytes,
restart function, carrier output function
— Remote control reception circuit
8-bit pulse measurement counter, 6-stage FIFO
• Interruption
16 factors, 15 vectors, multi-interruption possible
• Standby mode
SLEEP/STOP
• Package
80-pin plastic QFP
Perchase of Sony’s I2C components conveys a licence under the Philips I2C Patent Rights to use these components
in an I2C system, provided that the system conforms to the I2C Standard Specifications as defined by Philips.
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–
E95326-PP
–2–
8
12
S0 to S11
VFDP
KR0 to KR7
AVREF
AVSS
RAM
RAM
ADJ
SCL0
SCL1
SDA0
SDA1
I2C
INTERFACE UNIT
8 BIT TIMER 1
TO
SERIAL
INTERFACE
UNIT (CH1)
SI1
SO1
SCK1
8 BIT TIMER/COUNTER 0
FIFO
SERIAL
INTERFACE
UNIT (CH0)
CS0
SI0
SO0
SCK0
EC
BUFFER
RAM
REMOCON IN
FIFO
BUFFER
REMOCON OUT
RAM
KEY SCAN
FDP
CONTROLLER/
DRIVER
A/D CONVERTER
2
2
INT0
INT1
INT2
INT3/NMI
INTERRUPT CONTROLLER
AVDD
RMC
RMCO
8
T0 to T7
T8/S19 to T15/S12
8
8
PRESCALER/
TIME BASE TIMER
PROM
60K BYTES
SPC 700
CPU CORE
TEX
TX
EXTAL
XTAL
RST
VDD
VSS
Vpp
32KHz
TIMER/COUNTER
RAM
2048 BYTES
CLOCK
GENERATOR/
SYSTEM CONTROL
PB0 to PB7
PC0 to PC7
PD0 to PD7
PE0 to PE5
PE6 to PE7
PF0 to PF3
8
8
8
6
2
4
4
PG0 to PG3
PA0 to PA7
8
PORT B
PORT E
AN0 to AN7
2
PORT A
PORT C
PORT D
PORT F
PORT G
Block Diagram
CXP829P60
CXP829P60
T5
T6
T4
T3
T2
T1
T0
VDD
TX
TEX
Vpp
PG0
PG2
PG1
PG3
PE0/EC/INT0
Pin Assignment (Top View)
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65
PE1/INT1
1
64
T7
PE2/INT2
2
63
T8/S19
PE3/INT3/NMI
3
62
T9/S18
PE4/RMC
4
61
T10/S17
PE5
5
60
T11/S16
PE6/RMCO
6
59
T12/S15
PE7/TO/ADJ
7
58
T13/S14
PB0
8
57
T14/S13
PB1/CS0
9
56
T15/S12
PB2/SCK0
10
55
S11
PB3/SI0
11
54
S10
PB4/SO0
12
53
S9
PB5/SCK1
13
52
S8
PB6/SI1
14
51
PD7/S7
PB7/SO1
15
50
PD6/S6
PA0/AN0
16
49
PD5/S5
PA1/AN1
17
48
PD4/S4
PA2/AN2
18
47
PD3/S3
PA3/AN3
19
46
PD2/S2
PA4/AN4
20
45
PD1/S1
PA5/AN5
21
44
PD0/S0
PA6/AN6
22
43
VFDP
PA7/AN7
23
42
PC7/KR7
AVDD
24
41
PC6/KR6
PC5/KR5
PC3/KR3
PC4/KR4
PC2/KR2
PC1/KR1
RST
PC0/KR0
VSS
TXAL
AVSS
EXTAL
PF3/SDA1
PF1/SCL1
PF2/SDA2
PF0/SCL0
AVREF
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Note) Vpp (Pin 75) must be connected to VDD.
–3–
CXP829P60
Pin Description
Pin code
I/O
PA0/AN0
to
PA7/AN7
I/O/
Analog input
PB0
I/O
PB1/CS0
I/O/Input
PB2/SCK0
I/O/I/O
PB3/SI0
I/O/Input
PB4/SO0
I/O/Output
PB5/SCK1
I/O/I/O
PB6/SI1
I/O/Input
PB7/SO1
I/O/Output
Functions
(Port A)
8-bit I/O port. I/O can
be set in a unit of
single bits.
Incorporation of pull-up
resistor can be set
through the software in
a unit of 4 bits.
(8 pins)
(Port B)
8-bit I/O port. I/O can
be set in a unit of
single bits.
Incorporation of pull-up
resistor can be set
through the software in
a unit of 4 bits.
(8 pins)
Analog inputs to A/D converter. (8 pins)
Chip select input for serial interface (CH0).
Serial clock I/O (CH0).
Serial data input (CH0).
Serial data output (CH0).
Serial clock I/O (CH1).
Serial data input (CH1).
Serial data output (CH1).
(Port C)
8-bit I/O port. I/O can
be set in a unit of single
bits. Capable of driving
Serves as key return inputs when operating
12mA sync current.
key scan with fluorescent display panel (FDP)
Incorporation of pull-up
segment signal (8 pins).
resistor can be set
through the software in
a unit of 4 bits.
(8 pins)
PC0/KR0
to
PC7/KR7
I/O/Input
PE0/INT0/EC
Input/Input/Input
PE1/INT1
Input/Input
PE2/INT2
Input/Input
PE3/INT3/
NMI
Input/Input/Input
PE4/RMC
Input/Input
PE5
Input
PE6/RMCO
Output/Output
Carrier output of remote control transmission
circuit.
PE7/TO/ADJ
Output/Output/
Output
Output for the timer/counter rectangular waves,
and 32kHz oscillation dividing frequency.
(Port E)
8-bit port. Lower 6 bits
are for inputs; upper
2 bits are for outputs.
(8 pins)
–4–
Inputs for
external
interruption
request.
(4 pins)
External event inputs for
timer/counter.
Non-maskable interruption
request input.
Remote control reception circuit input.
CXP829P60
Pin code
I/O
PF0/SCL0
PF1/SCL1
Output/I/O
PF2/SDA0
PF3/SDA1
Output/I/O
Functions
(Port F)
4-bit output port,
operating as N-ch open
drain output for large
current (12mA).
(4 pins)
Transfer clock I/Os for I2C bus interface.
(2 pins)
Transfer data I/Os for I2C bus interface.
(2 pins)
PG0 to PG3
I/O
(Port G)
8-bit I/O port. I/O can be set in a unit of single bits.
Incorporation of pull-up resistor can be set through the software in a unit
of 4 bits.
(4 pins)
PD0/S0
to
PD7/S7
Output/Output
(Port D)
8-bit output ports.
(8 pins)
S8 to S11
Output
FDP segment signal outputs. (4 pins)
T8/S12
to
T15/S19
Output/Output
Outputs for FDP timing signals/segment signals.
(8 pins)
T0 to T7
Output
FDP timing signal outputs.
VFDP
FDP segment signal outputs.
(8 pins)
FDP voltage supply.
Crystal connectors for system clock oscillation. When the clock is
supplied externally, input to EXTAL; opposite phase clock should be
input to XTAL.
EXTAL
Input
XTAL
Output
TEX
Input
TX
Output
Crystal connectors for 32kHz timer/counter clock oscillation. For usage
as event counter, attach clock source to TEX, and open TX.
RST
Input
Low-level active, system reset.
NC
NC. Under normal operation, connect to VDD.
AVDD
Positive power supply for A/D converter.
AVREF
Input
Reference voltage input for A/D converter.
AVSS
A/D converter GND.
Vpp
Positive power supply for built-in PROM writing.
Connect to VDD for normal operation.
VSS
GND.
–5–
CXP829P60
I/O Circuit Format for Pins
Circuit format
Pin
Port A
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
When reset
∗
Pull-up resistor
AA
AAAA
"0" when reset
Port A data
PA0/AN0
to
PA7/AN7
Port A direction
IP
"0" when reset
Input
protection
circuit
Hi-Z
Data bus
RD (Port A)
Port A input
selection
"0" when reset
8 pins
Port B
Input multiplexer
A/D converter
∗ Pull-up transistor approx. 100kΩ
AAAA
AAAA
AAAA
AAAA
∗
Pull-up resistor
AA
AAAA
"0" when reset
Port B data
PB1/CS0
PB3/SI0
PB6/SI1
Port B direction
IP
"0" when reset
Hi-Z
Schmitt input
Data bus
RD (Port B)
CS0
SI0
SI1
3 pins
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
∗ Pull-up transistor approx. 100kΩ
Not Schmitt input for SI0 and SI1.
Port B
∗
Pull-up resistor
PB2/SCK0
PB5/SCK1
"0" when reset
SCK OUT
Serial clock output enable
Port B output
selection
"0" when reset
AA
AAAA
IP
Port B data
Port B direction
"0" when reset
Data bus
2 pins
Schmitt input
RD (Port B)
∗ Pull-up transistor approx. 100kΩ
SCK in
–6–
Hi-Z
CXP829P60
Circuit format
Pin
Port B
When reset
AAAA
AAAA
AAAA
AAAA
AAAA
∗
Pull-up resistor
"0" when reset
SO
Serial data output enable
AA
AAAA
Port B output
selection
"0" when reset
PB4/SO0
PB7/SO1
IP
Port B data
Hi-Z
Port B direction
"0" when reset
Data bus
RD (Port B)
2 pins
∗ Pull-up transistor approx. 100kΩ
AAAA
AAAA
AAAA
AAAA
Port C
∗2
Pull-up resistor
AA
AAAA
"0" when reset
Port C data
PC0/KR0
to
PC7/KR7
∗1
Port C direction
IP
"0" when reset
Data bus
Hi-Z
RD (Port C)
PE0/EC/INT0
PE1/INT1
PE2/INT2
PE3/INT3/NMI
PE4/RMC
5 pins
PE5
∗1 Large current 12mA
Key input signal
8 pins
Port E
∗2 Pull-up transistor approx. 100k Ω
AA
AA
AAAA
AA
AA
AAAA
EC/INT0
INT1
INT2
INT3/NMI
RMC
Schmitt input
IP
Port E
Data bus
RD (Port E)
Data bus
IP
1 pin
Port E
Hi-Z
Hi-Z
RD (Port E)
Remote control
transmission circuit
Port E output selection
PE6/RMCO
"0" when reset
High level
Port E data
"1" when reset
Output enable
Data bus
1 pin
RD (Port E)
–7–
CXP829P60
Circuit format
Pin
When reset
Port E
AAAA
AAAAA
AAAAA
Internal reset signal
00
Port E data
PE7/TO/ADJ
"1" when reset TO
ADJ16K∗1
01
ADJ2K∗1
11
AA
AA
MPX
∗2
10
Port E output selection (upper)
Port E output selection (lower)
∗1 ADJ signal is a frequency dividing output for
32kHz oscillation frequency adjustment.
ADJ2 can be used for buzzer output.
∗2 Pull-up transistor approx. 150kΩ.
"00" when reset
TO output enable
1 pin
AA
AA
Port F
SCL, SDA
PF0/SCL0
PF1/SCL1
PF2/SDA0
PF3/SDA1
AAA
AAA
I2C output enable
("0" when reset)
Port F data
"1" when reset
Schmitt input
SCL, SDA
(I2C circuit)
4 pins
Port B
Port G
AAAA
AAAA
AAAA
AAAA
AAAA
Pull-up resistor
"0" when reset
Port B, G data
PB0
PG0 to PG3
High level
(with approx.
150kΩ
resistor when
reset)
Port B, G direction
"0" when reset
Data bus
RD (Port B or Port G)
AA
AA
Large current
12mA
Hi-Z
IP
BUS SW
To internal I2C pin
(to SCL1 for SCL0)
∗
AA
AA
AA
AA
IP
∗ Pull-up transistor approx. 100kΩ
5 pins
–8–
Hi-Z
CXP829P60
Circuit format
Pin
When reset
Port D
AA
AA
∗ High voltage drive transistor
Segment output data
PD0/S0
to
PD7/S7
∗
AAAAA
AAAAA
Output selection
control signal
("0" when reset)
Port D data
Hi-Z
Data bus
8 pins
RD (Port D)
∗ High voltage drive transistor
Segment output data
Timing output data
S8 to S11
T15/S12
to
T8/S19
T0 to T7
∗
Output selection
control signal
("0" when reset)
Pull-down
resistor
20 pins
EXTAL
XTAL
AA AA A
AA
AA AA A
AA
2 pins
XTAL
TEX
TX
TEX
2 pins
RST
1 pins
IP
EXTAL
IP
IP
IP
AA
AA
AA
AA
Low level
VFDP
• Diagram shows circuit
composition during oscillation.
• Feedback resistor is removed
during stop, and XTAL
becomes High.
• Diagram shows circuit
composition during oscillation.
• When the operation of the oscillation
circuit is stopped by the software,
the feedback resistor is removed,
and TEX becomes Low level and TX
becomes High level.
TX
AA
AA
Oscillation
Oscillation
Pull-up resistor
AA
Low level
IP
–9–
Schmitt input
CXP829P60
Absolute Maximum Ratings
Item
Supply voltage
Symbol
(Vss = 0V reference)
Rating
Unit
VDD
–0.3 to +7.0
V
Vpp
–0.3 to +13.0
AVSS to +7.0∗1
V
V
AVDD
AVSS
Remarks
Incorporated PROM
V
Input voltage
VIN
–0.3 to +0.3
–0.3 to +7.0∗2
Output voltage
VOUT
–0.3 to +7.0∗2
V
Display output voltage
VOD
VDD – 40 to VDD + 0.3
V
IOH
–5
mA
As P channel transistor is open drain,
VDD is reference.
All pins excluding outputs∗3 (value per pin)
IODH1
–15
mA
Display outputs S0 to S11 (value per pin)
IODH2
–35
mA
Display outputs T0 to T7, and T8/S19 to
T15/S12 (value per pin)
∑IOH
–40
mA
Total for all pins excluding display outputs
∑IODH
–100
mA
Total for all display outputs
IOL
15
mA
Port (value per pin)
IOLC
20
mA
Large current Port (value per pin)∗4
Low level total output current ∑IOL
100
mA
Total for all output pins
High level output current
High level total output
current
Low level output current
V
Operating temperature
Topr
–10 to +75
°C
Storage temperature
Tstg
–55 to +150
°C
Allowabl power dissipation
PD
600
mW
∗1
∗2
∗3
∗4
AVDD and VDD should be set to the same voltage.
VIN and VOUT must not exceed VDD + 0.3V.
Specifies output current of general-purpose I/O ports.
The large current drive transistor is the N-CH transistor of Port C (PC) and Port F (PF).
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.
– 10 –
CXP829P60
Recommended Operating Conditions
Item
Supply voltage
Symbol
Min.
Max.
Unit
Remarks
4.5
5.5
V
Guaranteed operation range for high-speed
mode (1/2, 1/4 frequency dividing clock)
3.5
5.5
V
Guaranteed operation range for low-speed
mode (1/16 frequency dividing clock) or
SLEEP mode
2.7
5.5
V
Guaranteed operation range with TEX
clock
2.5
5.5
V
VDD
Vpp
Analog power supply
High level input
voltage
Operating temperature
Vpp = VDD
V
Guaranteed data hold range during STOP
∗4
4.5
5.5
V
∗5
VIH
0.7VDD
VDD
V
∗1
VIHS
0.8VDD
VDD
V
AVDD
VIHEX
Low level input
voltage
(Vss = 0V reference)
VDD – 0.4 VDD + 0.3
V
Hysteresis input∗2
EXTAL∗3
∗1
VIL
0
0.3VDD
V
VILS
0
0.2VDD
V
VILEX
–0.3
0.4
°C
Topr
–10
+75
Hysteresis input∗2
EXTAL∗3
∗1 Value for each pin of normal input port (PA, PB0, PB3, PB4, PB6, PB7, PC, PE5, PG).
∗2 Value of the following pins: RST, CS0, SCK0, SCK1, EC/INT0, INT1, INT2, INT3/NMI, RMC, SCL0, SCL1,
SDA0, SDA1.
∗3 Specifies only during external clock input.
∗4 Vpp and VDD should be set to the same voltage.
∗5 AVDD and VDD should be set to the same voltage.
– 11 –
CXP829P60
Electrical Characteristics
DC Characteristics
Item
High level
output current
Low level
output current
Symbol
VOH
VOL
Pins
PA, PB,
PC, PE6,
PE7, PG
PC, PF
Conditions
IILE
IIHT
Typ.
IILT
EXTAL
TEX
IILR
RST
IIL
PA to PC∗1,
PG∗1
IOH
S12/T15 to
S19/T8,
T0 to T7
Unit
4.0
V
VDD = 4.5V, IOH = –1.2mA
3.5
V
VDD = 4.5V, IOL = 1.8mA
0.4
V
VDD = 4.5V, IOL = 3.6mA
0.6
V
VDD = 4.5V, IOL = 12.0mA
1.5
V
0.4
V
0.6
V
VDD = 5.5V, VIH = 5.5V
0.5
40
µA
VDD = 5.5V, VIL = 0.4V
–0.5
–40
µA
VDD = 5.5V, VIL = 5.5V
0.1
10
µA
VDD = 5.5V, VIL = 0.4V
–0.1
–10
µA
–1.5
–400
µA
–50
µA
VDD = 5.5V, VIL = 0.4V
VDD = 4.5V, VIL = 4.0V
VDD = 4.5V
VOH = VDD – 2.5V
Open drain output
ILOL
leakage current
(P-CH Tr off state)
S0 to S11,
S12/T15 to
S19/T8,
T0 to T7
VDD = 5.5V
VOL = VDD – 35V
VFDP = VDD – 35V
Pull-down
resistance
S8 to S11,
S12/T15 to
S19/T8,
T0 to T7
VDD = 5V
VOD – VFDP = 30V
RL
Max.
VDD = 4.5V, IOH = –0.5mA
S0 to S11
Display output
current
Min.
PF
VDD = 4.5V, IOL = 3.0mA
(SCL0, SCL1,
SDA0, SDA1) VDD = 4.5V, IOL = 4.0mA
IIHE
Input current
(Ta = –10 to +75°C, Vss = 0V reference)
–3.3
µA
–8
mA
–20
mA
60
100
–20
µA
270
kΩ
I/O
IIZ
leakage current
PA to PC∗1, VDD = 5.5V
VI = 0, 5.5V
PG∗1
±10
µA
Open drain
output leakage
current (N-ch
Tr off state)
ILOH
PF
VDD = 5.5V, VOH = 5.5V
10
µA
I2C bus switch
connection
impedance
(Output Tr off
state)
RBS
SCL0: SCL1
SDA0: SDA1
VDD = 4.5V
VSCL0 = VSCL1 = 2.25V
VSDA0 = VSDA1 = 2.25V
120
Ω
– 12 –
CXP829P60
Item
Symbol
Pins
Conditions
Min.
Typ.
Max.
Unit
36
55
mA
46
120
µA
2.6
10
mA
9
30
µA
30
µA
20
pF
High speed mode operation
(1/2 frequency dividing clock)
IDD1
VDD = 5.5V, 10MHz crystal
oscillation (C1 = C2 = 15pF)
VDD = 3V, 32kHz crystal
oscillation (C1 = C2 = 47pF)
IDD2
Power supply
current∗2
Input
capacity
IDDS1
VDD
SLEEP mode
VDD = 5.5V, 16MHz crystal
oscillation (C1 = C2 = 15pF)
IDDS2
VDD = 3V, 32kHz crystal
oscillation (C1 = C2 = 47pF)
IDDS3
STOP mode
VDD = 5.5V, termination of 16MHz
and 32kHz crystal oscillation
CIN
PA to PC,
PE0 to PE5,
PG, PF,
Clock 1MHz
EXTAL,
0V for all pins excluding
XTAL,
measured pins
TX, TEX,
RST
10
∗1 PA to PC and PG specify the input current when pull-up resistance has been selected, leakage current
when no resistance has been selected.
∗2 When all pins are open.
– 13 –
CXP829P60
AC Characteristics
(1) Clock timing
(Ta = –10 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
Item
Symbol
System clock frequency
fC
Event count input clock
rise time, fall time
tXL
tXH
tCR
tCF
tEH
tEL
tER
tEF
System clock frequency
fC
Event count input
pulse width
tTL
tTH
tTR
tTF
System clock input pulse width
System clock input rise time,
fall time
Event count input clock
pulse width
Event count input rise time,
fall time
Pin
Conditions
Min.
XTAL
EXTAL
Fig. 1, Fig. 2
1
EXTAL
Fig. 1, Fig. 2
External clock drive
28
EXTAL
Fig. 1, Fig. 2
External clock drive
EC
Fig. 3
EC
Fig. 3
TEX
TX
VDD = 2.7 to 5.5V
Fig. 2 (32kHz clock
applied condition)
TEX
Fig. 3
TEX
Fig. 3
Typ.
Max.
Unit
16
MHz
ns
200
4tsys∗1
ns
ns
20
32.768
ms
kHz
10
µs
20
ms
∗1 tsys indicates the three values below according to the upper two bits (CPU clock selected) of the control
clock registor (address: 00FEH).
tsys (ns) = 2000/fc (upper two bits = "00"), 4000/fc (upper two bits = "01"), 16000/fc (upper two bits = "11")
Fig. 1. Clock timing
1/fc
VDD – 0.4V
EXTAL
0.4V
tXH
tCF
tXL
tCR
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA AAAAAAAA
Fig. 2. Clock applied conditions
Crystal oscillation
Ceramic oscillation
EXTAL
C1
External clock
EXTAL
XTAL
C2
32kHz clock applied condition
Crystal oscillation
TEX
XTAL
74HC04
TX
C2
C1
Fig. 3. Event count clock timing
0.8VDD
TEX
EC
0.2VDD
tEH
tTH
tEF
tTF
– 14 –
tEL
tTL
tER
tTR
CXP829P60
(2) Serial transfer (CH0)
Item
(Ta = –10 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
Symbol
Pin
Condition
Min.
Max.
Unit
CS0 ↓ → SCK0
delay time
tDCSK
SCK0
Chip select transfer mode
(SCK = output mode)
1.5tsys + 200
ns
CS0 ↑ → SCK0
float delay time
tDCSKF SCK0
Chip select transfer mode
(SCK = output mode)
1.5tsys + 200
ns
CS0 ↓ → SO0
delay time
tDCSO
SO0
Chip select transfer mode
1.5tsys + 200
ns
CS0 ↑ → SO0
float delay time
tDCSOF SO0
Chip select transfer mode
1.5tsys + 200
ns
CS0 High level width
tWHCS CS0
Chip select transfer mode
SCK0 cycle time
tKCY
SCK0
Input mode
Output mode
SCK0
High, Low level width
tKH
tKL
SCK0
SI0 input setup time
(for SCK0 ↑)
tSIK
SI0
SI0 input hold time
(for SCK0 ↑)
tKSI
SCK0 ↓ → SO0
delay time
tKSO
Input mode
Output mode
SCK input mode
SCK output mode
SI0
SCK input mode
SCK output mode
SO0
SCK input mode
SCK output mode
tsys + 200
2tsys + 200
ns
8000/fc
ns
tsys + 100
ns
8000/fc – 100
ns
–tsys + 100
ns
200
ns
2tsys + 100
ns
100
ns
ns
2tsys + 200
ns
100
ns
Note 1) tsys indicates the three values below according to the upper two bits (CPU clock selected) of the
control clock registor (CLC: 00FEH).
tsys (ns) = 2000/fc (upper two bits = "00"), 4000/fc (upper two bits = "01"), 16000/fc (upper two bits = "11")
Note 2) The load condition for the SCK0 output mode, SO0 output delay time is 50pF + 1TTL.
– 15 –
CXP829P60
Fig. 4. Serial transfer CH0 timing (CH0)
tWHCS
0.8VDD
CS0
0.2VDD
tKCY
tDCSK
tKL
tDCSKF
tKH
0.8VDD
0.8VDD
SCK0
0.2VDD
tSIK
tKSI
0.8VDD
Input data
SI0
0.2VDD
tDCSO
tKSO
tDCSOF
0.8VDD
SO0
Output data
0.2VDD
– 16 –
CXP829P60
Serial transfer (CH1) (SIO mode)
Item
SCK1 cycle time
Symbol
tKCY
(Ta = –10 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
Pin
SCK1
SCK1
High, Low level width
tKH
tKL
SCK1
SI1 input setup time
(for SCK1 ↑)
tSIK
SI1
SI1 input hold time
(for SCK1 ↑)
tKSI
SCK1 ↓ → SO1 delay time
tKSO
SI1
SO1
Min.
Condition
Max.
Unit
Input mode
2tsys + 200
ns
Ouput mode
16000/fc
ns
Input mode
tsys + 100
ns
Ouput mode
8000/fc – 50
ns
SCK1 input mode
100
ns
SCK1 ouput mode
200
ns
SCK1 input mode
tsys + 200
ns
SCK1 ouput mode
100
ns
SCK1 input mode
tsys + 200
ns
SCK1 ouput mode
100
ns
Note 1) tsys indicates the three values below according to the upper two bits (CPU clock selected) of the
control clock registor (CLC: 00FEH).
tsys (ns) = 2000/fc (upper two bits = "00"), 4000/fc (upper two bits = "01"), 16000/fc (upper two bits = "11")
Note 2) The load condition for the SCK1output mode, SO1 output delay time is 50pF + 1TTL.
Fig. 5. Serial transfer CH1 timing (SIO mode)
tKCY
tKL
tKH
SCK1
0.8VDD
0.2VDD
tSIK
tKSI
0.8VDD
Input data
SI1
0.2VDD
tKSO
0.8VDD
Output data
SO1
0.2VDD
– 17 –
CXP829P60
Serial transfer (CH1) (Special mode)
Item
Symbol
(Ta = –10 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
Pin
Condition
Min.
Typ.
Max.
Unit
SO1 cycle time
tLCY
SO1
SI1
SI1 data setup time
tLSU
tLHD
SI1
2
µs
SI1
2
µs
SI1 data hold time
∗1
∗1
104
µs
tLCY is specified only when the lower two bits (SO1 clock selected) of the serial mode register (CH1)
(SIOM1: 01E2H) is set to 104µs.
Note) The load condition for SO1 is 50pF + 1TTL.
Fig. 6. Serial transfer CH1 timing (Special mode)
tLCY
tLCY
SO1
Start bit
0.5VDD
Output data bit
tLCY/2
tLSU
tLHD
0.8VDD
Input
data bit
SI1
0.2VDD
– 18 –
CXP829P60
(3) A/D converter characteristics
(Ta = –10 to +75°C, VDD = AVDD = 4.5 to 5.5V, AVREF = 4.0 to AVDD, Vss = AVSS = 0V reference)
Item
Symbol
Pin
Condition
Min.
Typ.
Resolution
Linearity error
Ta = 25°C
VDD = AVDD = AVREF = 5.0V
VSS = AVSS = 0V
Zero transition
voltage
VZT∗1
Full-scale
transition voltage
VFT∗2
Conversion time
Sampling time
tCONV
tSAMP
Reference input voltage
VREF
AVREF
Analog input voltage
VIAN
AN0 to AN7
Unit
8
Bits
±3
LSB
–10
10
70
mV
4910
4970
5030
mV
160/fADC∗3
12/fADC∗3
VDD = AVDD = 4.5 to 5.5V
AVREF
IREFS
µs
µs
AVDD – 0.5
AVDD
V
0
AVREF
V
1.0
mA
10
µA
Operation mode
IREF
AVREF current
Max.
0.6
SLEEP mode
STOP mode
32kHz operation mode
Fig. 7. Definition of A/D converter terms
∗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.
∗3 fADC indicates the below values due to the contents of bit 6
(CKS) of the A/D control register (ADC: 00F9H) and bits 7
(PCK1) and 6 (PCK0) of the clock control register (CLC:
00FEH).
Digital conversion value
FFH
FEH
Linearity error
01H
CKS
00H
VFT
VZT
Analog input
PCK1, PCK0
0 (φ/2 selection)
1 (φ selection)
00 (φ = fEX/2)
fADC = fC/2
fADC = fC
01 (φ = fEX/4)
fADC = fC/4
fADC = fC/2
11 (φ = fEX/16)
fADC = fC/16
fADC = fC/8
– 19 –
CXP829P60
(4) Interruption, reset input
Item
(Ta = –10 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
Symbol
Pin
External interruption
High, Low level width
tIH
tIL
INT0
INT1
INT2
INT3
NMI
Reset input Low level width
tRSL
RST
Condition
Min.
Max.
Unit
1
µs
32/fc
µs
Fig. 8. Interruption input timing
tIH
tIL
0.8VDD
INT0
INT1
INT2
INT3
NMI
(NMI specifies only the
falling edge.)
0.2VDD
tIL
tIH
Fig. 9. RST input timing
tRSL
RST
0.2VDD
– 20 –
CXP829P60
(5) I2C bus timing
(Ta = –10 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
Item
Symbol
Pin
Condition
Min.
Max.
Unit
0
100
kHz
SCL clock frequency
fSLC
SCL
Bus-free time before starting transfer
tBUF
tHD; STA
tLOW
tHIGH
tSU; STA
tHD; DAT
tSU; DAT
tR
tF
tSU; STO
SDA, SCL
4.7
µs
SDA, SCL
4.0
µs
SCL
4.7
µs
SCL
4.0
µs
SDA, SCL
µs
SDA, SCL
4.7
0∗1
SDA, SCL
250
ns
Hold time for starting transfer
Clock Low level width
Clock High level width
Setup time for repetitive transfers
Data hold time
Data setup time
SDA, SCL rise time
SDA, SCL fall time
Setup time for transfer completion
µs
SDA, SCL
1
µs
SDA, SCL
300
ns
SDA, SCL
µs
4.7
∗1 The data hold time must exceed 300ns because the SCL rise time (300ns max.) is not taken into
consideration.
Fig.10. I2C bus transfer timing
SDA
tBUF
tR
tF
tHD ; STA
SCL
tHD ; STA
tSU ; STA
P
S
tLOW
tHD ; DAT
tHIGH
St
tSU ; DAT
tSU ; STO
P
Fig.11. Recommended circuit example for I2C device
I2C
device
RS
I2C
device
RS RS
R S RP
RP
SDA0
(or SDA1)
SCL0
(or SCL1)
• Pull-up resistors (RP) must be connected to SDA0 (or SDA1) and SCL0 (or SCL1).
• Serial resistance (Rs = 300Ω or less) of SDA0 (or SDA1) and SCL0 (or SCL1) reduces spike noise caused
by CRT flash-over.
– 21 –
CXP829P60
Appendix
Fig. 12. Recommended oscillation circuit
AAAAA
AAAAA
AAAAA
AAAAA
AAAAA
AAAAA
(i)
EXTAL
(ii)
TEX
XTAL
Rd
C1
RIVER
ELETEC
CO., LTD.
Rd
C2
Manufacturer
Model
HC-49/U03
TX
C2
C1
Rd (Ω)
Circuit
example
0
(i)
fc (MHz)
C1 (pF)
C2 (pF)
8.00
10
10
5
5
8.00
16 (12)
16 (12)
10.00
16 (12)
16 (12)
12.00
12
12
0
16.00
12
12
0
32.768kHz
30
18
470k
10.00
12.00
16.00
HC-49/U (-S)
KINSEKI
LTD.
P3
0
(i)
(ii)
Product List
Option item
Mask product
CXP82940 CXP82948 CXP82952 CXP82960
Package
ROM capacitance
Reset pull-up resistance
High voltage drive pin
pull-down resistance
PROM version
CXP829P60Q-1-
80-pin plasitc QFP
80-pin plasitc QFP
40 Kbytes 48 Kbytes 52 Kbytes 60 Kbytes
PROM 60 Kbytes
Existent/Non-existent
Existent
Existent/Non-existent
Non-existent
(PD0/S0 to PD7/S7)
Existent
(T0 to T15, S8 to S11)
– 22 –
CXP829P60
Characteristics Curve
IDD vs. VDD
IDD vs. fc
(fc = 16MHz, Ta = 25°C, Typical)
(VDD = 5V, Ta = 25°C, Typical)
1/2 frequency
dividing mode
1/4 frequency
dividing mode
1/2 frequency
dividing mode
1/16 frequency
dividing mode
SLEEP mode
1
32kHz mode
(instruction)
25
IDD – Supply current [mA]
IDD – Supply current [mA]
10
30
20
1/4 frequency
dividing mode
15
10
0.1
32kHz
SLEEP mode
3
4
5
5
1/16 frequency
dividing mode
SLEEP mode
6
0
VDD – Supply voltage [ V ]
2
4
6
8
10
12
Frequency [MHz]
– 23 –
14
16
CXP829P60
Package Outline
Unit: mm
80PIN QFP (PLASTIC)
23.9 ± 0.4
+ 0.1
0.15 – 0.05
+ 0.4
20.0 – 0.1
64
0.15
41
65
16.3
17.9 ± 0.4
+ 0.4
14.0 – 0.1
40
A
+ 0.2
0.1 – 0.05
25
1
24
0.8
0.12
M
+ 0.15
0.35 – 0.1
+ 0.35
2.75 – 0.15
0° to 10°
DETAIL A
PACKAGE STRUCTURE
SONY CODE
QFP-80P-L01
EIAJ CODE
∗QFP080-P-1420-A
JEDEC CODE
PACKAGE MATERIAL
EPOXY RESIN
LEAD TREATMENT
SOLDER PLATING
LEAD MATERIAL
COPPER / 42 ALLOY
PACKAGE WEIGHT
1.6g
– 24 –
0.8 ± 0.2
80