For the availability of this product, please contact the sales office.
CMOS 8-bit Single Chip Microcomputer
Description
The CXP85632/85640 is a CMOS 8-bit microcomputer which consists of A/D converter, serial
interface, timer/counter, time-base timer, closed
caption decoder, data slicer, on-screen display
function, I2C bus interface, PWM output, remote
control receiver, HSYNC counter and watchdog
timer as well as basic configuration like 8-bit CPU,
ROM, RAM and I/O port.
Also this IC provides power-on reset function and
sleep function which enables to lower power
consumption.
Features
• A wide instruction set (213 instructions) to cover various types of data.
— 16-bit arithmetic/multiplication and division/boolean bit operation instructions
• Minimum instruction cycle333ns at 12MHz operation
• Incorporated ROM32K bytes (CXP85632)
40K bytes (CXP85640)
• Incorporated RAM1888 bytes
(excluding the closed caption decoder and on-screen display VRAM)
Purchase of Sony's I2C components conveys a license under the Philips I2C Patent Rights to use these components
in an I2C system, provided that the system conform 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 –
E95510-PS
Page 2
Vss
V
DD
MP
RST
XTAL
EXTAL
PA0 to PA78PB0 to PB78PC0 to PC78PD0 to PD78PE0 to PE23PF0 to PF7
OSD display vertical sync signal input.
OSD display horizontal sync signal input.
(Port B)
8-bit I/O port. I/O can be set in a unit of single bits.
(8 pins)
Input for external interruption request. Active at
the falling edge.
(Port C)
8-bit I/O port. I/O can be set in a unit of single bits. (8 pins)
Input for external interruption request. Active at
the falling edge.
(Port D)
8-bit I/O port. I/O
can be set in a unit
of single bits.
Capable of driving
12mA sync current.
(8 pins)
Serial clock I/O.
Serial data output.
Serial data input.
HSYNC counter (CH0) input.
HSYNC counter (CH1) input.
Remote control receiver circuit input.
PD7/EC
PE0/TO
PE1
PE2/INT0
PF0/PWM0
to
PF3/PWM3
PF4/SCL0
PF5/SCL1
PF6/SDA0
PF7/SDA1
R, G, B, I, YS, YM
I/O/Input
I/O/Output
I/O
I/O/Input
Output/Output
Output/I/O
Output/I/O
Output
External event input for timer/counter.
(Port E)
Rectangular wave output for timer/counter.
3-bit I/O port. I/O
can be set in a unit
of single bits.
(3 pins)
(Port F)
8-bit output port
with large current
Input for external interruption request.
Active at the falling edge.
8-bit PWM outputs.
(4 pins)
(12mA) N-ch open
drain output.
Transfer clock I/O for I2C bus interface. (2 pins)
Lower 4 bits are
12V drive and upper
4 bits are 5V drive.
Transfer data I/O for I2C bus interface. (2 pins)
OSD display 6-bit outputs. (6 pins)
– 5 –
Page 6
CXP85632/85640
Pin name
EXLC
XLC
VIN
Cap
Rex
CVDD
CVSS
EXTAL
XTAL
RST
MP
NC
I/OFunctions
Input
Output
Input
—
—
OSD display clock oscillation I/O.
Oscillator frequency is determined by external L and C.
Input of external composite video signal. Input a 2Vp-p signal via a
capacitor.
Capacitor connection for the data slicer. Connect a capacitor between
Cap and CVSS.
Resistor connection for the data slicer. Connect a 33kΩ resistor
between Rex and CVDD.
Positive power supply for data slicer.
GND for data slicer.
Input
Output
System clock oscillator crystal connection. When using an external
clock, input to EXTAL pin and leave XTAL pin open.
Low level active system reset. This pin acts as I/O pin and outputs low
I/O
level through incorporated power-on reset function when the power
turned on. (Mask option)
Input
Test mode input. Must be connected to GND.
Not connected.
Under normal conditions, connect to VDD.
VDD
Vss
Positive power supply.
GND. Connect two VSS pins to GND.
– 6 –
Page 7
I/O Circuit Format for Pins
PinWhen resetCircuit format
Port A
CXP85632/85640
Port A data
PA0/AN0
to
PA5/AN5
6 pins
PA6/VSYNC
PA7/HSYNC
Data bus
Port A function selection
“0” when reset
A/D converter
Port A
Data bus
Port A direction
“0” when reset
RD (Port A)
RD (Port A)
Input multiplexer
Port A data
Port A direction
Schmitt input
IP
IP
Input
protection
circuit
Hi-Z
Hi-Z
2 pins
PB0 to PB6
PB7/INT1
PC0 to PC7
16 pins
VSYNC, HSYNC
Port B
Port C
Data bus
Port B, C data
Port B, C direction
“0” when reset
RD (Port B, C)
INT1
Input polarity
"0" when reset
IP
Hi-Z
Schmitt input
– 7 –
Page 8
PinWhen resetCircuit format
Port D
Port D data
PD0/INT2
PD3/SI
PD4/HS0
PD5/HS1
Port D direction
“0” when reset
PD6/RMC
PD7/EC
6 pins
Data bus
RD (Port D)
INT2, SI, HS0, HS1, RMC, EC
Port D
SCK, SO
Serial output enable
Schmitt input
∗
∗
IP
Large current 12mA
CXP85632/85640
Hi-Z
PD1/SCK
PD2/SO
2 pins
PE0/TO
PE1
PE2/INT0
Port E
Port D data
Port D direction
“0” when reset
Data bus
RD (Port D)
SCK only
TO
Port E function selection
“1” when reset
Port E data
“1” when reset for PE0, 1
Port E direction
“1” when reset for PE0, 1
“0” when reset for PE2
Data bus
Schmitt input
∗
Large current 12mA
Schmitt input
only for PE2
∗
IP
Hi-Z
PE0, PE1:
IP
High
PE2: Hi-Z
3 pins
RD (Port E)
INT0
– 8 –
Page 9
PinWhen resetCircuit format
CXP85632/85640
PF0/PWM0
to
PF3/PWM3
4 pins
PF4/SCL0
PF5/SCL1
PF6/SDA0
PF7/SDA1
4 pins
Port F
Port F
PWM0 to PWM3
Port F selection
“0” when reset
Port F data
“1” when reset
SCL, SDA
I2C output enable
Port F data
“1” when reset
SCL, SDA
2
C circuit)
(I
Schmitt input
Hi-Z
∗
∗
12V drive voltage
Large current 12mA
∗
Hi-Z
IP
BUS SW
To internal I
(To SCL1 for SCL0)
∗
Large current 12mA
2
C pins
R
G
B
I
YS
YM
6 pins
EXLC
XLC
2 pins
R, G, B, I, YS, YM
Output polarity
“0” when reset
EXLC
XLC
Hi-Z
Output becomes active
by data writing to output
polarity register.
IP
Oscillator control
Oscillation
halted
IP
OSD display clock
– 9 –
Page 10
PinWhen resetCircuit format
A
EXTAL
EXTAL
IP
XTAL
XTAL
2 pins
Pull-up resistor
RST
Mask option
OP
Schmitt input
1 pin
• Diagram indicates equivalent
circuit during oscillation.
• Feedback resistor is disconnected
during STOP.
(This device does not enter in the
STOP mode.)
From power-on reset circuit
(Mask option)
CXP85632/85640
Oscillation
Low level
– 10 –
Page 11
CXP85632/85640
Absolute Maximum Ratings(Vss = 0V reference)
ItemSymbolRatingsUnitRemarks
Supply voltage
Input voltage
Output voltage
Medium voltage tolerance output voltage
High level output current
High level total output current
VDD
VIN
VOUT
VOUTP
IOHΣIOH
IOL
–0.3 to +7.0
–0.3 to +7.0
–0.3 to +7.0
–0.3 to +15.0
–5
–50
15
∗1
∗1
V
V
V
V
mA
mA
mA
PF0 to PF3 pins
Total of all output pins
Excludes large current output
port (value per pin)
Low level output current
IOLC
Low level total output current
Operating temperature
Storage temperature
Allowable power dissipation
∗1
VIN and VOUT should not exceed VDD + 0.3V.
∗2
The large current output port is Port D (PD) and Port F (PF).
ΣIOL
Topr
Tstg
PD
20
100
–20 to +75
–55 to +150
1000
600
mA
mA
mW
mW
Large current output port
(value per pin∗2)
Total of all output pins
°C
°C
SDIP
QFP
Note) Usage exceeding absolute maximum ratings may permanently impair the LSI. Normal operation should
better take place under the recommended operating conditions. Exceeding those conditions may
adversely affect the reliability of the LSI.
(2) Serial transfer(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
Item
SCK cycle time
SCK
high and low level widths
SI input set-up time
(for SCK↑)
SI input hold time
(for SCK↑)
SystemPinConditionMin.Max.Unit
tKCY
tKH
tKL
tSIK
tKSI
SCK
Input mode
Output mode
SCK input mode
SCK
SCK output mode
SCK input mode
SI
SCK output mode
SCK input mode
SI
SCK output mode
1000
8000/fc
400
4000/fc – 50
100
200
200
100
SCK input mode
SCK ↓ → SO delay time
tKSO
SO
SCK output mode
Note) The load condition for the SCK output mode, SO output delay time is 50pF + 1TTL.
Fig. 4. Serial transfer timing
tKCY
200
100
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
SCK
SI
SO
tKLtKH
tSIK
Input data
tKSO
0.8VDD
0.2VDD
0.8VDD
0.2VDD
tKSI
0.8VDD
0.2VDD
Output data
– 14 –
Page 15
CXP85632/85640
(3) A/D converter characteristics(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
ItemSymbolPinConditionMin.Typ.Max.Unit
Resolution
Linearity error
Zero transition
voltage
Full-scale transition
voltage
Conversion time
Sampling time
Analog input voltage
∗1
VZT
∗2
VFT
tCONV
tSAMP
VIAN
AN0 to AN5
Fig. 5. Definitions for A/D converter terms
FF
H
FEH
Digital conversion value
Linearity error
8
±1
Ta = 25°C
VDD = 5.0V
–50
10
70
Vss = 0V
4910
160/fADC
12/fADC
∗3
∗3
0
∗1
VZT: Digital conversion values change between 00H←→01H.
∗2
VFT: Digital conversion values change between 0EH←→0FH.
∗3
fADC indicates the below values due to the bit 6 (CKS) of
4970
5030
VDD
A/D control registor (ADC: 00F9H) and the bit 7 (PCK1) and
bit 6 (PCK0) of clock control registor (CLC: 00FEH)
Bits
LSB
mV
mV
µs
µs
V
01H
00H
VZTVFT
Analog input
PCK1, 0
00 (φ = fEX/2)
01 (φ = fEX/4)
11 (φ = fEX/16)
CKS
0 (φ/2 selection)1 (φ selection)
fADC = fC/2
fADC = fC/4
fADC = fC/16
fADC = fC
fADC = fC/2
fADC = fC/8
– 15 –
Page 16
(4) Interrupt, reset input(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
ItemSymbolPinConditionMin.Max.Unit
CXP85632/85640
External interrupt
high and low level widths
Reset input low level width
Fig. 6. Interrupt input timing
INT0
INT1
INT2
(falling edge)
Fig. 7. RST input timing
RST
tIH
tIL
tRSL
INT0
INT1
INT2
RST
tIHtIL
0.8VDD
tRSL
0.2VDD
1
32/fc
µs
µs
0.2VDD
(5) Power-on reset
∗1
ItemSymbolPinConditionMin.Max.Unit
Power supply rise time
tR
Power-on reset
VDD
Power supply cutt-off time
∗1
Specified only when power-on reset function is selected.
tOFF
Repeated power-on reset
Fig. 8. Power-on reset
DD
V
4.5V
0.2V
tRtOFF
Take care when turning on power.
(Ta = –20 to +75°C, Vss = 0V reference)
0.05
1
50ms
ms
0.2V
– 16 –
Page 17
CXP85632/85640
(6) I2C bus timing(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
Item
SCL clock frequency
Bus-free time before starting transfer
Hold time for starting transfer
Clock low level width
Clock high level width
Set-up time for repeated transfers
Data hold time
Data set-up time
SDA, SCL rise time
SDA, SCL fall time
Set-up time for transfer completion
∗1
For data hold time, the SCL rise time is not taken into account so that 300ns must be exceeded.
SymbolPinConditionMin.Max.Unit
fSLC
tBUF
tHD; STA
tLOW
tHIGH
tSU; STA
tHD; DAT
tSU; DAT
tR
tF
tSU; STO
• A pull-up resistor must be connected to SDA0 (or SDA1), and SCL0 (or SCL1).
• The SDA0 (or SDA1) and SCL0 (or SCL1) series resistance (Rs = 300Ω or less) can be used to reduce spike
noise caused by CRT flashover.
– 17 –
Page 18
(7) OSD (On Screen Display) timing(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
CXP85632/85640
Item
OSD clock frequency
HSYNC pulse width
HSYNC after-write
rise and fall times
VSYNC before-write
rise and fall times
Fig. 11. OSD timing
For OPOL register (01FDH)
HSYNC
bit 7 at “0”
Symbol
fOSC
tHWD
tHCG
tVCG
PinCondiiton
EXLC
XLC
HSYNC
HSYNC
VSYNC
tVCG
Fig. 12
Fig. 11
Fig. 11
Fig. 11
tHWD
Min.Max.
4
16.5
1.2
200
1.0
tHCG
0.8VDD
0.2VDD
Unit
MHz
µs
ns
µs
For OPOL register (01FDH)
VSYNC
bit 6 at “0”
0.8VDD
0.2VDD
Fig. 12. LC oscillator circuit connection
EXLCXLC
∗
1
L
∗1
The XLC series resistor can reduce the occurrence of undersired radiation.
R
2C1
C
– 18 –
Page 19
CXP85632/85640
(8) Data slicer external circuit(Ta = –20 to +75°C, VDD = 4.5 to 5.5V, Vss = 0V reference)
Item
VIN pin coupling capacitor
Cap pin capacitor
Rex pin pull-up resistor
Composite video signal input
SymbolPinMin.Unit
CVIN
Ccap
Rrex
Video In
VIN
Cap
Rex
VIN
Fig. 13. Data slicer external recommeded circuit
5.0V
Rrex
CVDD
Rex
Typ.Max.
0.47
4700
33
2.0
µF
pF
kΩ
Vp-p
Remarks
B or more of temperature
characteristics is
recommended.
B or more of temperature
characteristics is
recommended.
CVINR1
IN
V
C
1R2Video In
Cap
Ccap
CVss
[Recommended Constant]
R1 = 100Ω (error: 5%; allowable power dissipation: 1/8 W or more)
R2 = 1MΩ (error: 5%; allowable power dissipation: 1/8 W or more)
C1 = 820pF (ceramic), B or more of temperature characteristics is recommended.
– 19 –
Page 20
Supplement
A
A
Fig. 14. SPC700 Series recommended oscillation circuit
(i)
EXTAL
EXTAL
AA
AA
XTAL
XTAL
Rd
Rd
C2C1
CXP85632/85640
Manufacturer
RIVER ELETEC
CO., LTD.
KINSEKI LTD.
∗1
The XTAL series resistor can reduce the effect of electrostatic discharge noise.