Sony CXP852P32A Datasheet

CMOS 8-bit Single-chip Microcomputer
Description
The CXP852P32A is highly integrated micro­computers composed of 8-bit CPU, PROM, RAM, and I/O ports. This IC featureS many other high­performance circuits in a single-chip CMOS design, including an A/D converter, serial interface, timer/counter, time base timer, vector interrupt, on­screen display function, I2C bus interface, PWM generator, remote control receiver, HSYNC counter, power supply frequency counter, and watchdog timer.
Also this IC provides power-on reset and sleep functions. The designers have ensured low power consumption for these powerful microcomputers.
The CXP852P32A is the on-chip PROM version of the CXP85232A with on-chip mask ROM, providing the function of being able to write directly into the program. Furthermore, because of the OSD character ROM can also be written directly into, it is suitable for evaluation use during system development and for small quantity production.
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 cycle During operation 1µs at 4MHz
Incorporated PROM capacity 32K bytes (For program)
3K bytes (for OSD)
Incorporated RAM capacity 448 bytes
Peripheral functions
— On-screen display function 12 × 16 dots, 128 types
4 Iines of 21 characters (5 or more lines possible) , double scanning mode
supported, jitter elimination circuit — I2C bus interface — PWM output 14 bits, 1 channel
6 bits, 8 channels — Remote control reception circuit 8-bit pulse measuring counter, 6-stage FIFO — A/D converter 4 bits, 4 channels, successive approximation method
(Conversion time of 40µs at 4MHz) — HSYNC counter — Power supply frequency counter — Watchdog timer — Serial I/O 8-bit clock synchronization — Timer 8-bit timer, 8-bit timer/counter, 19-bit time base timer
Interruption 14 factors, 14 vectors, multi-interrupt possible
Standby mode Sleep
– 1 –
E93Z16A7Z-PS
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.
64 pin SDIP (Plastic) 64 pin QFP (Plastic)
Structure
Silicon gate CMOS IC
CXP852P32A
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 conforms to the I2C Standard Specifications as defined by Philips.
– 2 –
CXP852P32A
ON SCREEN DISPLAY
PROM 3K BYTES
SERIAL I/O
TIMER/COUNTER
REMOCON FIFO
HSYNC COUNTER
AC TIMER
A/D CONVERTER
I
2
C INTERFACE UNIT
WATCHDOG TIMER
14 BIT PWM
6 BIT PWM 8CH
CLOCK GEN./
SYSTEM CONTROL
RAM
448 BYTES
SPC700
CPU CORE
PRESCALER/
TIME BASE TIMER
PORT APORT BPORT CPORT DPORT EPORT F
2
2
V
SS
V
DD
MP
XTAL
EXTAL
RST
PF0/PWM0
to
PF7/PWM7
INTERRUPT CONTROLLER
PA0 to PA7
PB0 to PB7
PC0 to PC7
PD0 to PD7
PE0 to PE5
PE6 to PE7
PF0 to PF7
XLC
B
R
BLK
HSYNC
VSYNC
PD3/SI
PD2/SO
PD1/SCK
PD7/EC
PE7/TO
PD6/RMC
PD4/HSI
PD5/ACI
PE2/AN0
to
PE5/AN3
PF4/SCL0
PF5/SCL1
PF6/SDA0
PF7/SDA1
PE6/PWM
PE0/INT0
PE1/INT1
PD0/INT2
G
EXLC
PROM
32K BYTES
Vpp
Block Diagram
– 3 –
CXP852P32A
VDD Vpp V
SS
MP PF0/PWM0 PF1/PWM1 PF2/PWM2 PF3/PWM3
BLK R G B VSYNC HSYNC EXLC XLC PE0/INT0 PE1/INT1 PE2/AN0 PE3/AN1 PE4/AN2 PE5/AN3 PE6/PWM PE7/TO RST EXTAL XTAL PD0/INT2
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
61
63
64
62
53
54
55
56
57
58
59
60
PF4/PWM4/SCL0 PF5/PWM5/SCL1 PF6/PWM6/SDA0 PF7/PWM7/SDA1
PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0 PB7 PB6 PB5 PB4 PB3 PB2 PB1
PB0 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0
PD7/EC
PD6/RMC
PD5/ACI PD4/HSI
PD3/SI
PD2/SO
PD1/SCK
V
SS
4
5 6 7 8 9
10
2 3
1
11 12 13 14 15 16 17
18
19
20 21
22
23
24 25 26
27
28
29 30
31
32
Note) 1. Vpp (Pin 63) is always connected to VDD.
2. Vss (Pins 32 and 62) are both connected to GND.
3. MP (Pin 61) is always connected to GND.
Pin Assignment 1 (Top View) 64 pin SDIP Package
– 4 –
CXP852P32A
PF3/PWM3
BLK R G B VSYNC HSYNC EXLC
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
61
63
64
62
53
54
55
56
57
58
59
60
PF4/PWM4/SCL0 PF5/PWM5/SCL1 PF6/PWM6/SDA0 PF7/PWM7/SDA1
PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0
PD7/EC
4 5 6 7 8 9
10
2 3
1
11
12
13 14 15 16
17 18
19
20
21
22
23
24
25
26
27
28
29
30
PA2
PA3
PA4
PA5
PA7
V
SS
PA6
V
DD
Vpp
MP
PF0/PWM0
PF2/PWM2
PF1/PWM1
PA1 PA0
PD6/RMC
PD5/ACI
PD4/HSI
PD3/SI
PD1/SCK
V
SS
PD2/SO
PD0/INT2
XTAL
EXTAL
RST
PE6/PWM
PE7/TO
31
32
XLC PE0/INT0 PE1/INT1 PE2/AN0 PE3/AN1 PE4/AN2 PE5/AN3
Note) 1. Vpp (Pin 56) is always connected to VDD.
2. Vss (Pins 26 and 58) are both connected GND.
3. MP (Pin 55) is always connected to GND.
Pin Assignment 2 (Top View) 64 pin QFP Package
– 5 –
CXP852P32A
(Port A) 8-bit I/O port. I/O can be set in a unit of single bits. (8 pins)
(Port B) 8-bit I/O port. I/O can be set in a unit of single bits.
(8 pins)
(Port C) 8-bit I/O port. I/O can be set in a unit of single bits. (8 pins)
(Port D) 8-bit I/O port. I/O can be set in a unit of single bits. Capable of driving 12mA sink current. (8 pins)
(Port E) 8-bit port. Lower 6 bits are for inputs; upper 2 bits are for outputs. (8 pins)
(Port F) 8-bit output port, operating as N-ch open drain output for high current (12mA). Lower 4 bits are for medium voltage drive outputs (12V), upper 4bits are for
5V drive outputs.
(8 pins) 4-bit outputs for CRT display. Horizontal synchronizing signal input for CRT display. Vertical synchronizing signal input for CRT display.
Pin Description
Symbol
PA0 to PA7
PB0 to PB7
PC0 to PC7
PD0/INT2 PD1/SCK
PD2/SO PD3/SI PD4/HSI PD5/ACI PD6/RMC PD7/EC
PE0/INT0 PE1/INT1
PE2/AN0
to
PE5/AN3 PE6/PWM
PE7/TO PF0/PWM0
to
PF3/PWM3 PF4/PWM4/
SCL0 PF5/PWM5/ SCL1
PF6/PWM6/ SDA0 PF7/PWM7/ SDA1
R, G, B, BLK HSYNC VSYNC
I/O
I/O
I/O
I/O/Input I/O/I/O
I/O/Output I/O/Input I/O/Input I/O/Input I/O/Input I/O/Input
Input/Input
Input/Input
Output/Output
Output/Output
Output/Output
Output/Output/ I/O
Output/Output/ I/O
Output Input Input
I/O Description
External interruption request input. Active at falling edge.
Serial clock I/O. Serial data output. Serial data input. HSYNC counter input. Input for power supply frequency counter. Input for remote control reception circuit. External event input for timer/counter. External interruption request inputs.
Active at falling edge. (2 pins)
Analog inputs for A/D converter. (4 pins)
14-bit PWM output. (CMOS output)
Rectangular waveform output for Timer 1. (Duty output 50%)
6-bit PWM outputs. (8 pins)
Transfer clock I/Os for I2C bus interface.
Transfer data I/Os for I2C data bus.
– 6 –
CXP852P32A
Symbol EXLC XLC EXTAL XTAL
RST
MP VDD
Vpp Vss
Input Output Input Output
I/O
Input
Clock oscillation I/Os for CRT display. Oscillation frequency is set using the external L and C.
Crystai connectors for system clock oscillation. When the clock is supplied externally, input to EXTAL and leave XTAL open.
Low-level active, system reset. RST is an I/O, from which Low level is output when the built-in power-on reset function is activated at the rise of power on.
Microprocessor mode input. For this device, this pin must be grounded. Positive power supply. Positive power supply pin for on-chip PROM writing.
Connect to VDD for normal operation. GND. Both Vss mvst be grounded.
I/O Description
– 7 –
CXP852P32A
A
Port D
2 pins
PD1/SCK PD2/SO
Input/Output Circuit Formats for Pins
Port A Port B Port C
Port D
24 pins
6 pins
Hi-Z
Hi-Z
Hi-Z
Pin When resetCircuit format
PA0 to PA7 PB0 to PB7
PC0 to PC7
PD0/INT2 PD3/SI PD4/HSI PD5/ACI PD6/RMC PD7/EC
Direction for Ports A, B, and C
Data bus
RD (Ports A, B, and C)
Port D direction
Data bus
RD (Port D)
INT2, SI, HSI, ACI, RMC, EC
Data for Ports A, B, and C
AA
Port D data
Schmitt input
Input protection
IP
circuit
High current 12mA
IP
Data bus
SCK or SO
Output eneble
Port D direction
RD (Port D)
SCK only
Port D data
High current 12mA
IP
Schmitt input
Loading...
+ 14 hidden pages