In addition, the TSC8051C1 has 2 software selectable
modes of reduced activity for further reduction in power
consumption. In the idle mode the CPU is frozen while
the RAM, the timers, the serial ports, and the interrupt
The TSC8051C1 includes the fully static 8–bit “80C51” system continue to function. In the power down mode the
CPU core with 256 bytes of RAM; 8 Kbytes of ROM; two RAM is saved and all other functions are inoperative.
16–bit timers; 12 PWM Channels; a 6 sources and 2–level The TSC8051C1 enables the users reducing a lot of
interrupt controller; a full duplex serial port; a full I
2
C™* external discrete components while bringing the
maximum of flexibility.
interface; a watchdog timer and on–chip oscillator.
The TSC8051C1 is a stand–alone high performance
CMOS 8–bit embedded microcontroller and is designed
for use in CRT monitors. It is also suitable for automotive
and industrial applications.
2. Features
D
Boolean processor
D
Fully static design
D
8K bytes of ROM
D
256 bytes of RAM
D
2 x 16–bit timer/counter
D
Programmable serial port
D
Programmable Multimaster I
2
C controller
D
6 interrupt sources:
G
External interrupts (2)
G
Timers interrupt (2)
G
Serial port interrupt
G
I
2
C interrupt
D
Watchdog reset
D
On chip oscillator for crystal or ceramic resonator
D
2 power saving control modes:
G
Idle mode
G
Power–down mode
D
Controlled HSYNC & VSYNC outputs
D
Up to 12 programmable PWM channels with 8–bit
resolution
D
Up to 32 programmable I/O lines depending on the
package
D
40 pins DIP, 44 pins PQFP, 44 and 52 pins PLCC
packages
D
Commercial and industrial temperature ranges
D
Operating Frequency: 12 MHz to 16 MHz
* I2C is a trademark of PHILIPS Corporation
MATRA MHS
Rev. D (14 Jan. 97)
1
VCC
3
3
VSS
3
3
3
3
XTAL1
XTAL2
EA
ALE
PSEN
3 WR
3 RD
T0
TWO 16–BIT
TIMER/EVENT
COUNTER
INT0
CPU
PROGRAM
MEMORY
8k x 8 ROM
DATA
MEMORY
256 x 8 RAM
SPECIAL
EXTERNAL
INPUTS
SERIAL I2C
PORT
80C51 CORE
EXCLUDING
ROM/RAM
8–BIT INTERNAL BUS
0
AD0–7
2
A8–15
RST
PARALLEL I/O
PORTS AND
EXTERNAL BUS
SERIAL
UART
PORT
WATCHDOG
TIMER
12 x 8–bit PWM
CHANNELS
CONTROLLED
HSYNC & VSYNC
OUTPUTS
3
P0
P1
P2
P3
TxD
3
RxD
PWM0
–
PWM7
1
PWM8
–
PWM11
3
3
3
3
VSYNC
HSYNC
VOUT
HOUT
0 ALTERNATE FUNCTION OF PORT0
1 ALTERNATE FUNCTION OF PORT1
2 ALTERNATE FUNCTION OF PORT2
3 ALTERNATE FUNCTION OF PORT3
Figure 1. TSC8051C1 block diagram.
2
MATRA MHS
Rev. D (14 Jan. 97)
6
P1.4
P1.5
P1.6
P1.7
RST
P3.0/RXD
P3.1/TXD
P3.2/INT0/VSYNC
P3.3/INT1/VOUT
P3.4/TO/HSYNC
P3.5/T1/HOUT
P3.6/WR/SCL
P3.7/RD/SDA
XTAL2
XTAL1
VSS
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
P0.3/AD3
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
EA
ALE
PSEN
PWM7 *
PWM6 *
PWM5 *
PWM4 *
PWM3 *
PWM2 *
PWM1 *
PWM0 *
P1.5
P1.6
P1.7
RST
P3.0/RXD
NC
P3.1/TXD
P3.2/INT0/VSYNC
PWM7*
PWM6*
PWM5*
7
8
9
10
11
12
13
14
15
16
17
5
4
3
2
1
44 43 42 41 40
39
38
37
36
35
P0.4
P0.5
P0.6
P0.7
EA
NC
ALE
PSEN
PWM7*
PWM6*
PWM5*
DIL 40
PLCC 44
34
33
32
31
30
29
18 19 20 21 22 23 24 26 26 27 28
P3.6/WR/SCL
P3.7/RD/SDA
XTAL2
XTAL1
VSS
P1.2/PWM10
P1.1/PWM9
P1.0/PWM8
VCC
P0.0
P0.1
P0.2
4
3
2
1
52 51 50 49 48 47
46
45
44
43
42
41
P0.5
P0.6
P0.7
EA
ALE
PSEN
P2.7
PWM7
P2.6
PWM6
P2.5
PWM5
PWM4
*PWMx or P2.x depending on option (see ordering information)
P1.3/PWM11
NC
P1.4
7
NC
P1.5
P1.6
P1.7
RST
P3.0/RXD
P3.1/TXD
P3.2/INT0/VSYNC
P3.3/INT1/VOUT
P3.4/T0/HSYNC
P3.5/T1/HOUT
NC
P3.6/WR/SCL
8
9
10
11
12
13
14
15
16
17
18
19
20
6
5
PLCC 52
NC
INDEX
CORNER
P0.3
P0.4
40
39
38
37
36
35
34
21 22 23 24 25 26 27 28 29 30 31 32 33
P3.7/RD/SDA
XTAL2
XTAL1
VSS
PWM0
P2.1
PWM1
P2.2
PWM2
P2.3
Figure 2. TSC8051C1 pin configurations.
PWM3
P2.4
P2.0
NC
PWM0*
PWM1*
PWM2*
PWM3*
PWM4*
MATRA MHS
Rev. D (14 Jan. 97)
3
Power supply voltage.
Port 2 can sink and source 3 LS TTL loads.
RST
A high level on this pin for two machine cycles while the
oscillator is running resets the device. An internal
pulldown resistor permits power–on reset using only a
capacitor connected to VCC.
PORT 3 (P3.0–P3.7)
Port 3 is an 8–bit bidirectional I/O port with internal
pullups. Port 3 pins that have 1’s written to them are
pulled high by the internal pullups, and in that state can
be used as inputs. As inputs, Port 3 pins that are
externally being pulled low will source current (IIL on
the data–sheet) because of the internal pullups.
Each line on this port has 2 or 3 functions either a general
I/O or special control signal, as listed below:
Port Pin
P3.0
P3.1
P3.2
P3.3
PORT 0 (P0.0–P0.7)
Port 0 is an 8–bit open–drain bidirectional I/O port. Port
0 pins that have 1’s written to them float, and in that state
can be used as high–impedance inputs.
Port 0 is also the multiplexed low–order address and data
bus during access to external Program and Data memory.
In this application it uses strong internal pull–up when
emitting 1’s.
Port 0 can sink and source 8 LS TTL loads.
Alternate Function
RXD: serial input port.
TXD: serial output port.
INT0: external interrupt 0.
VSYNC: vertical synchro input.
INT1: external interrupt 1.
VOUT: buffered V-SYNC output.
T0: Timer 0 external input.
HSYNC: horizontal synchro input.
T1: Timer 1 external input.
HOUT: buffered H–SYNC output.
WR: external data memory write strobe.
SCL: serial port clock line I
2
C bus.
RD: external data memory read strobe.
SDA: serial port data line I
2
C bus.
PORT 1 (P1.0–P1.7)
Port 1 is an 8–bit bidirectional I/O port with internal
pullups. Port 1 pins that have 1’s written to them are
pulled high by the internal pullups, and in that state can
be used as inputs. As inputs, Port 1 pins that are
externally being pulled low will source current (IIL on
the data–sheet) because of the internal pullups.
Port 1 also serves 4 programmable PWM open drain
outputs, as listed below:
Port Pin
P1.0
P1.1
P1.2
P1.3
P3.4
P3.5
P3.6
P3.7
Port 3 can sink and source 3 LS TTL loads.
Alternate Function
PWM8: Pulse Width Modulation output 8.
PWM9: Pulse Width Modulation output 9.
PWM10: Pulse Width Modulation output 10.
PWM11: Pulse Width Modulation output 11.
PWM0–7
These eight Pulse Width Modulation outputs are true
open drain outputs and are floating after reset.
ALE
The Address Latch Enable output signal occurs twice
each machine cycle except during external data memory
access. The negative edge of ALE strobes the address
into external data memory or program memory. ALE
can sink and source 8 LS TTL loads.
If desired, ALE operation can be disabled by setting bit
0 of SFR location AFh (MSCON). With the bit set, ALE
is active only during MOVX instruction and external
fetches. Otherwise the pin is pulled low.
Port 1 can sink and source 3 LS TTL loads.
PORT 2 (P2.0–P2.7)
Port 2 is an 8–bit bidirectional I/O port with internal
pullups. Port 2 pins that have 1’s written to them are
pulled high by the internal pullups, and in that state can
be used as inputs. As inputs, Port 2 pins that are
externally being pulled low will source current (IIL on
the data–sheet) because of the internal pullups.
4
MATRA MHS
Rev. D (14 Jan. 97)
PSEN
The Program Store Enable output signal remains high
during internal program memory. An active low output
occurs during an external program memory fetch. PSEN
can sink and source 8 LS TTL loads.
should be non–connected when external clock is used.
MATRA MHS
Rev. D (14 Jan. 97)
5