TSC51C1XXX-12CIB [TEMIC]

8-Bit Microcontroller for Digital Computer Monitors; 8位微控制器的数字电脑显示器
TSC51C1XXX-12CIB
型号: TSC51C1XXX-12CIB
厂家: TEMIC SEMICONDUCTORS    TEMIC SEMICONDUCTORS
描述:

8-Bit Microcontroller for Digital Computer Monitors
8位微控制器的数字电脑显示器

显示器 微控制器 电脑
文件: 总31页 (文件大小:321K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
TSC8051C1  
8-Bit Microcontroller for Digital Computer Monitors  
1. Introduction  
The TSC8051C1 is a stand–alone high performance In addition, the TSC8051C1 has 2 software selectable  
CMOS 8–bit embedded microcontroller and is designed modes of reduced activity for further reduction in power  
for use in CRT monitors. It is also suitable for automotive consumption. In the idle mode the CPU is frozen while  
and industrial applications.  
the RAM, the timers, the serial ports, and the interrupt  
system continue to function. In the power down mode the  
RAM is saved and all other functions are inoperative.  
The TSC8051C1 includes the fully static 8–bit “80C51”  
CPU core with 256 bytes of RAM; 8 Kbytes of ROM; two  
16–bit timers; 12 PWM Channels; a 6 sources and 2–level The TSC8051C1 enables the users reducing a lot of  
2
interrupt controller; a full duplex serial port; a full I C * external discrete components while bringing the  
interface; a watchdog timer and on–chip oscillator.  
maximum of flexibility.  
2. Features  
D Boolean processor  
D Fully static design  
D Watchdog reset  
D On chip oscillator for crystal or ceramic resonator  
D 2 power saving control modes:  
D 8K bytes of ROM  
G
G
Idle mode  
D 256 bytes of RAM  
D 2 x 16–bit timer/counter  
D Programmable serial port  
Power–down mode  
D Controlled HSYNC & VSYNC outputs  
D Up to 12 programmable PWM channels with 8–bit  
2
D Programmable Multimaster I C controller  
resolution  
D 6 interrupt sources:  
D Up to 32 programmable I/O lines depending on the  
G
G
G
G
External interrupts (2)  
Timers interrupt (2)  
Serial port interrupt  
package  
D 40 pins DIP, 44 pins PQFP, 44 and 52 pins PLCC  
packages  
2
I C interrupt  
D Commercial and industrial temperature ranges  
D Operating Frequency: 12 MHz to 16 MHz  
* I2C is a trademark of PHILIPS Corporation  
MATRA MHS  
1
Rev. D (14 Jan. 97)  
TSC8051C1  
3. Block Diagram  
T1  
3
INT1  
T0 INT0 SDA SCL  
VCC  
VSS  
3
3
3
3
3
XTAL1  
T0  
INT0  
TWO 16–BIT  
XTAL2  
PROGRAM  
MEMORY  
8k x 8 ROM  
DATA  
MEMORY  
256 x 8 RAM  
SPECIAL  
EXTERNAL  
INPUTS  
2
SERIAL I C  
PORT  
TIMER/EVENT  
CPU  
COUNTER  
EA  
ALE  
80C51 CORE  
EXCLUDING  
ROM/RAM  
PSEN  
3
WR  
RD  
8–BIT INTERNAL BUS  
3
0
2
AD0–7  
CONTROLLED  
HSYNC & VSYNC  
OUTPUTS  
PARALLEL I/O  
PORTS AND  
EXTERNAL BUS  
SERIAL  
UART  
PORT  
WATCHDOG  
TIMER  
12 x 8–bit PWM  
CHANNELS  
A8–15  
RST  
3
3
1
3
3
3
3
P0 P1 P2 P3  
TxD  
RxD  
PWM0  
PWM8  
VSYNC  
HSYNC  
VOUT  
HOUT  
PWM7  
PWM11  
0
2
3
ALTERNATE FUNCTION OF PORT0  
ALTERNATE FUNCTION OF PORT1  
ALTERNATE FUNCTION OF PORT2  
ALTERNATE FUNCTION OF PORT3  
1
Figure 1. TSC8051C1 block diagram.  
2
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
4. Pin Configurations  
P1.0/PWM8  
P1.1/PWM9  
P1.2/PWM10  
P1.3/PWM11  
P1.4  
1
40 VCC  
2
39 P0.0/AD0  
38 P0.1/AD1  
37 P0.2/AD2  
36 P0.3/AD3  
35 P0.4/AD4  
34 P0.5/AD5  
33 P0.6/AD6  
32 P0.7/AD7  
31 EA  
INDEX  
CORNER  
3
4
44  
40  
43 42 41  
6
5
4
3
2
1
5
39  
38  
37  
36  
35  
P1.5  
P1.6  
P0.4  
7
P1.5  
6
P0.5  
8
P1.6  
7
P1.7  
P0.6  
9
P1.7  
8
RST  
P0.7  
10  
11  
12  
13  
14  
15  
16  
17  
RST  
9
P3.0/RXD  
NC  
EA  
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  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
DIL 40  
NC  
34  
33  
32  
31  
30  
29  
PLCC 44  
30 ALE  
P3.1/TXD  
P3.2/INT0/VSYNC  
PWM7*  
ALE  
29 PSEN  
PSEN  
PWM7*  
PWM6*  
PWM5*  
28 PWM7 *  
27 PWM6 *  
26 PWM5 *  
25 PWM4 *  
24 PWM3 *  
23 PWM2 *  
22 PWM1 *  
21 PWM0 *  
PWM6*  
PWM5*  
18  
23 24  
28  
26 26 27  
19  
21 22  
20  
XTAL1  
VSS  
*PWMx or P2.x depending on option (see ordering information)  
INDEX  
CORNER  
7
6
5
4
3
2
1
52 51 50 49 48 47  
P0.5  
8
46  
NC  
P1.5  
P0.6  
P0.7  
EA  
9
45  
44  
43  
42  
41  
40  
39  
38  
37  
36  
35  
34  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
P1.6  
P1.7  
ALE  
PSEN  
P2.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  
PLCC 52  
PWM7  
P2.6  
PWM6  
P2.5  
PWM5  
PWM4  
P3.6/WR/SCL  
21 22 23 24 25 26 27 28 29 30 31 32 33  
Figure 2. TSC8051C1 pin configurations.  
MATRA MHS  
3
Rev. D (14 Jan. 97)  
TSC8051C1  
5. Pin Description  
Port 2 emits the high–order 8–bit address during fetches  
from external Program Memory and during accesses to  
external Data Memory that use 16–bit addresses. In this  
application it uses strong internal pull–up when emitting  
1’s.  
VSS  
Circuit ground.  
VCC  
Power supply voltage.  
Port 2 can sink and source 3 LS TTL loads.  
RST  
PORT 3 (P3.0–P3.7)  
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 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.  
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.  
Each line on this port has 2 or 3 functions either a general  
I/O or special control signal, as listed below:  
Port Pin  
Alternate Function  
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.  
P3.0  
RXD: serial input port.  
P3.1  
P3.2  
TXD: serial output port.  
INT0: external interrupt 0.  
VSYNC: vertical synchro input.  
Port 0 can sink and source 8 LS TTL loads.  
P3.3  
P3.4  
P3.5  
P3.6  
P3.7  
INT1: external interrupt 1.  
VOUT: buffered V-SYNC output.  
PORT 1 (P1.0–P1.7)  
T0: Timer 0 external input.  
HSYNC: horizontal synchro input.  
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.  
T1: Timer 1 external input.  
HOUT: buffered H–SYNC output.  
WR: external data memory write strobe.  
2
SCL: serial port clock line I C bus.  
RD: external data memory read strobe.  
2
SDA: serial port data line I C bus.  
Port 1 also serves 4 programmable PWM open drain  
outputs, as listed below:  
Port 3 can sink and source 3 LS TTL loads.  
Port Pin  
Alternate Function  
PWM0–7  
PWM8: Pulse Width Modulation output 8.  
PWM9: Pulse Width Modulation output 9.  
PWM10: Pulse Width Modulation output 10.  
PWM11: Pulse Width Modulation output 11.  
P1.0  
P1.1  
P1.2  
P1.3  
These eight Pulse Width Modulation outputs are true  
open drain outputs and are floating after reset.  
ALE  
Port 1 can sink and source 3 LS TTL loads.  
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.  
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.  
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.  
4
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
EA  
XTAL1  
When the External Access input is held high, the CPU  
executes out of internal program memory (unless the  
Program Counter exceeds 1FFFh). When EA is held low  
the CPU executes only out of external program memory.  
must not be left floating.  
Input to the inverting oscillator amplifier and input to the  
external clock generator circuits.  
XTAL2  
Output from the inverting oscillator amplifier. This pin  
should be non–connected when external clock is used.  
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.  
MATRA MHS  
5
Rev. D (14 Jan. 97)  
TSC8051C1  
6. Basic Functional Description  
6.1. Idle And Power Down Operation  
Figure 3 shows the internal Idle and Power Down clock  
configuration. As illustrated, Power Down operation  
stops the oscillator. Idle mode operation allows the  
interrupt, serial port, and timer blocks to continue to  
operate while the clock to the CPU is gated off.  
XTAL1  
XTAL2  
OSC  
These special modes are activated by software via the  
Special Function Register, its hardware address is 87h.  
PCON is not bit addressable.  
INTERRUPT  
SERIAL PORT  
TIMER BLOCKS  
CLOCK  
GEN.  
CPU  
PD  
IDL  
Figure 3. Idle and Power Down Hardware.  
PCON: Power Control Register  
MSB  
SFR 87h  
LSB  
SMOD  
GF1  
GF0  
PD  
IDL  
Symbol  
Position  
PCON.0  
PCON.1  
PCON.2  
PCON.3  
PCON.4  
PCON.5  
PCON.6  
PCON.7  
Name and Function  
IDL  
PD  
Idle mode bit. Setting this bit activates idle mode operation.  
Power Down bit. Setting this bit activates power down operation.  
GF0  
GF1  
General–purpose flag bit.  
General–purpose flag bit.  
(Reserved).  
(Reserved).  
(Reserved).  
SMOD  
Double Baud rate bit. Setting this bit causes the baud rate to double when the serial port  
is being used in either modes 1, 2 or 3.  
If 1’s are written to PD and IDL at the same time, PD takes precedence. The reset value of PCON is 0XXX0000b.  
6.1.1. Idle Mode  
The instruction that sets PCON.0 is the last instruction  
executed before the Idle mode is activated. Once in the  
Idle mode the CPU status is preserved in its entirety: the  
Stack Pointer, Program Counter, Program Status Word,  
Accumulator, RAM, and all other register maintain their  
data during Idle Table 1 describes the status of the  
external pins during Idle mode.  
The flag bits GF0 and GF1 may be used to determine  
whether the interrupt was received during normal  
execution or during the Idle mode. For example, the  
instruction that writes to PCON.0 can also set or clear  
one or both flag bits. When Idle mode is terminated by  
an enabled interrupt, the service routine can examine the  
status of the flag bits.  
There are two ways to terminate the Idle mode.  
Activation of any enabled interrupt will cause PCON.0  
to be cleared by hardware terminating Idle mode. The  
interrupt is serviced, and following RETI, the next  
instruction to be executed will be the one following the  
instruction that wrote 1 to PCON.0.  
The second way of terminating the Idle is with a  
hardware reset. Since the oscillator is still running, the  
hardware reset needs to be active for only 2 machine  
cycles (24 oscillator periods) to complete the reset  
operation.  
6
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
6.1.2. Power Down Mode  
The instruction that sets PCON.1 is the last executed  
prior to entering power down. Once in power down, the  
oscillator is stopped. The contents of the onchip RAM  
and the Special Function Register are saved during  
power down mode. A hardware reset is the only way of  
exiting the power down mode. The hardware reset  
initiates the Special Function Register. In the Power  
Down mode, VCC may be lowered to minimize circuit  
power consumption. Care must be taken to ensure the  
voltage is not reduced until the power down mode is  
entered, and that the voltage is restored before the  
hardware reset is applied which frees the oscillator.  
Reset should not be released until the oscillator has  
restarted and stabilized. Table 1 describes the status of  
the external pins while in the power down mode. It  
should be noted that if the power down mode is activated  
while in external program memory, the port data that is  
held in the Special Function Register P2 is restored to  
Port 2. If the data is a 1, the port pin is held high during  
the power down mode by the strong pullup transistor.  
Table 1. Status of the external pins during Idle and Power Down modes.  
Program  
Mode  
ALE  
PSEN  
Port 0  
Port 1  
Port 2  
Port 3  
PWMx  
Memory  
Idle  
Internal  
1
1
0
0
1
1
0
0
Port Data  
Floating  
Port Data  
Floating  
Port Data  
Port Data  
Port Data  
Port Data  
Port Data  
Address  
Port Data  
Port Data  
Port Data  
Port Data  
Floating  
Floating  
Floating  
Floating  
Idle  
External  
Internal  
Power Down  
Power Down  
Port Data  
Port Data  
External  
6.2. Stop Clock Mode  
6.4. I/O Configurations  
Due to static design, the TSC8051C1 clock speed can be  
reduced down to 0 MHz without any data loss in memory  
or register. This mode allows step by step code  
execution, and permits to reduce system power  
consumption by bringing the clock frequency down to  
any value. When the clock is stopped, the power  
consumption is the same as in the Power Down Mode.  
Figure 4. shows a functional diagram of the generic bit  
latch and I/O buffer in each of the four ports. The bit  
latch, (one bit in the port SFR) is represented as a D type  
flip–flop. A ‘write to latch’ signal from the CPU latches  
a bit from the internal bus and a ‘read latch’ signal from  
the CPU places the Q output of the flip–flop on the  
internal bus. A ‘read pin’ signal from the CPU places the  
actual pin logical level on the internal bus.  
6.3. I/O Ports Structure  
Some instructions that read a port read the actual pin,  
and other instructions read the latch (SFR).  
The TSC8051C1 has four 8–bit ports. Each port consist  
of a latch (special function register P0 to P3), an input  
buffer and an output driver. These ports are the same as  
in 80C51, with the exception of the additional functions  
of port 1 and port 3 (see Pin Description section).  
MATRA MHS  
7
Rev. D (14 Jan. 97)  
TSC8051C1  
ADDR/DATA  
CONTROL  
VCC  
PWMX  
CONTROL  
VCC  
READ  
LATCH  
READ  
LATCH  
INTERNAL  
PULL–UP*  
P0.X  
PIN  
P1.X  
PIN  
INT.  
BUS  
INT.  
BUS  
D
Q
D
Q
P0.X  
LATCH  
LE  
P1.X  
LATCH  
LE  
WRITE  
TO  
LATCH  
WRITE  
TO  
LATCH  
MUX  
MUX  
Q
Q
PIN  
READ  
PIN  
PORT 1 BIT  
PORT 0 BIT  
* Internal pull–up not present on P1.0 to P1.3 when PWM8 to PWM11  
are enabled  
ALTERNATE  
VCC  
ADDR  
CONTROL  
VCC  
OUTPUT  
SIO1  
FUNCTION  
CONTROL*  
READ  
LATCH  
READ  
LATCH  
INTERNAL  
PULL–UP  
INTERNAL  
PULL–UP*  
P2.X  
PIN  
P3.X  
PIN  
INT.  
BUS  
INT.  
BUS  
D
Q
D
Q
P2.X  
LATCH  
LE  
P3.X  
LATCH  
LE  
WRITE  
TO  
LATCH  
MUX  
WRITE  
TO  
LATCH  
Q
Q
READ  
PIN  
READ  
PIN  
ALTERNATE  
INPUT  
FUNCTION  
PORT 2 BIT  
PORT 3 BIT  
* Internal pull–up not present on P3.6 and P3.7 when SIO1 is enabled.  
Figure 4. Port Bit Latches and I/O buffers  
6.5. Reset Circuitry  
The reset circuitry for the TSC8051C1 is connected to  
the reset pin RST. A Schmitt trigger is used at the input  
for noise rejection (see Figure 5. ).  
Register  
ACC  
Content  
00h  
B
00h  
A reset is accomplished by holding the RST pin high for  
at least two machine cycles (24 oscillator periods) while  
the oscillator is running. The CPU responds by  
executing an internal reset. It also configures the ALE  
and PSEN pins as inputs (they are quasi–bidirectional).  
A Watchdog timer underflow if enabled, will force a  
reset condition to the TSC8051C1 by an internal  
connection.  
DPTR  
EICON  
HWDR  
IE  
0000h  
00h  
00h  
0X000000b  
XX000000b  
XXXXXXX0b  
00h  
IP  
MSCON  
MXCR0–1  
P0–P3  
The internal reset is executed during the second cycle in  
which reset is high and is repeated every cycle until RST  
goes low. It leaves the internal registers as follows:  
FFh  
8
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
VCC  
Register  
PC  
Content  
VCC  
0000h  
+
1 F  
TSC8051C1  
RST  
PCON  
0XXX0000b  
PSW  
00h  
00h  
PWM0–11  
PWMCON  
S1CON  
S1DAT  
S1STA  
SBUF  
R
RST  
V
RST  
XXXXXXX0b  
00h  
VSS  
00h  
Figure 6. Power–on Reset Circuit  
F8h  
00h  
SCON  
00h  
6.6. Oscillator Characteristics  
SOCR  
00h  
SP  
07h  
XTAL1 and XTAL2 are respectively the input and  
output of an inverting amplifier which is configured for  
use as an on–chip oscillator. As shown in Figure 7. ,  
either a quartz crystal or ceramic resonator may be used.  
To drive the device from an external clock source,  
XTAL1 should be driven while XTAL2 is left  
unconnected as shown in Figure 8.  
TCON  
TH0, TH1  
TL0, TL1  
TMOD  
00h  
00h  
00h  
00h  
The internal RAM is not affected by reset. At power–on  
reset, the RAM content is indeterminate.  
There are no requirements on the duty cycle of the  
external clock signal, since the input to the internal  
clocking circuitry is through a divide–by–two flip–flop.  
The minimum high and low times specified on the data  
sheet must be observed however.  
Reset  
RST  
Circuitry  
XTAL2  
XTAL1  
VSS  
On–chip  
resistor  
R
RST  
Schmitt  
Trigger  
Watchdog  
Reset  
Figure 5. On–Chip Reset Configuration.  
Figure 7. Crystal Oscillator  
An automatic reset can be obtained when VCC is turned  
on by connecting the RST pin to VCC through a 1µF  
capacitor providing the VCC setting time does not  
exceed 1ms and the oscillator start–up time does not  
exceed 10ms. This power–on reset circuit is shown in  
Figure 6. When power comes on, the current drawn by  
RST starts to charge the capacitor. The voltage at RST  
is the difference between VCC and the capacitor  
voltage, and decreases from VCC as the capacitor  
charges. VRST must remain above the lower threshold of  
the Schmitt trigger long enough to effect a complete  
reset. The time required is the oscillator start–up time,  
plus 2 machine cycles.  
NC  
XTAL2  
XTAL1  
VSS  
EXTERNAL  
OSCILLATOR  
SIGNAL  
Figure 8. External Drive Configuration  
MATRA MHS  
9
Rev. D (14 Jan. 97)  
TSC8051C1  
The internal data memory space is divided into a  
256–bytes internal RAM address space and a 128 bytes  
special function register address space.  
6.7. Memory organization  
The memory organisation of the TSC8051C1 is the same  
as in the 80C51, with the exception that the TSC8051C1  
has 8k bytes ROM, 256 bytes RAM, and additional  
SFRs. Details of the differences are given in the  
following paragraphs.  
The internal data RAM address space is 0 to FFh. Four  
8–bit register banks occupy locations 0 to 1Fh. 128 bit  
locations of the internal data RAM are accessible  
through direct addressing. These bits reside in 16 bytes  
of internal RAM at location 20h to 2Fh. The stack can  
be located anywhere in the internal data RAM address  
space by loading the 8–bit stack pointer (SP SFR).  
In the TSC8051C1, the lowest 8k of the 64k program  
memory address space is filled by internal ROM.  
Depending on the package used, external access is  
available or not. By tying the EA pin high, the processor  
fetches instructions from internal program ROM. Bus  
expansion for accessing program memory from 8k  
upward is automatic since external instruction fetches  
occur automatically when the program counter exceeds  
1FFFh. If the EA pin is tied low, all program memory  
fetches are from external memory. The execution speed  
is the same regardless of whether fetches are from  
external or internal program memory. If all storage is  
on–chip, then byte location 1FFFh should be left vacant  
to prevent an undesired pre–fetch from external program  
memory address 2000h.  
The SFR address space is 100h to 1FFh. All registers  
except the program counter and the four 8–bit register  
banks reside in this address space. Memory mapping of  
the SFRs allows them to be accessed as easily as internal  
RAM, and as such, they can be operated on by most  
instructions.The mapping in the SFR address space of  
the 43 SFRs is shown in Table 2. The SFR names in  
italic are TSC8051C1 new SFRs and are described in  
Peripherals Functional Description section. The SFR  
names in bold are bit addressable.  
Certain locations in program memory are reserved for  
specific purposes. Locations 0000h to 0002h are  
reserved for the initialisation program. Following reset,  
the CPU always begins execution at location 0000h.  
Locations 0003h to 0032h are reserved for the six  
interrupt request service routines.  
10  
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
Table 2. Mapping of Special Function Register  
0/8  
1/9  
2/A  
3/B  
4/C  
5/D  
6/E  
7/F  
PWM11  
PWM7  
PWM8  
PWM4  
PWM0  
EICON  
PWM9  
PWM5  
PWM1  
SOCR  
PWM10  
PWM6  
PWM2  
HWDR  
F8  
F0  
E8  
E0  
D8  
D0  
C8  
C0  
B8  
B0  
A8  
A0  
98  
B
PWM3  
ACC  
S1CON  
PSW  
MXCR0  
PWMCON  
MXCR1  
S1STA  
S1DAT  
IP  
P3  
IE  
MSCON  
P2  
SCON  
P1  
SBUF  
90  
TCON  
P0  
TMOD  
SP  
TL0  
DPL  
TL1  
TH0  
TH1  
88  
DPH  
PCON  
80  
6.8. Interrupts  
6.8.1. Interrupt Enable Register:  
The TSC8051C1 has six interrupt sources, each of which  
can be assigned one of two priority levels. The five  
interrupt sources common to the 80C51 are the external  
interrupts (INT0 and INT1), the timer 0 and timer 1  
interrupts (IT0 and IT1), and the serial I/O interrupt (RI  
or TI). In the TSC8051C1, the standard serial I/O is  
called SIO0.  
Each interrupt source can be individually enabled or  
disabled by setting or clearing a bit in the interrupt  
enable register (IE SFR). All interrupts sources can also  
be globally enabled or disabled by setting or clearing the  
EA bit in IE register.  
2
The SIO1 (I C) interrupt is generated by the SI flag in  
the control register (S1CON SFR). This flag is set when  
the status register (S1STA SFR) is loaded with a valid  
status code.  
MATRA MHS  
11  
Rev. D (14 Jan. 97)  
TSC8051C1  
IE: Interrupt Enable Register  
MSB  
SFR A8h  
LSB  
EA  
ES1  
ES0  
ET1  
EX1  
ET0  
EX0  
Symbol  
Position  
IE.0  
Name and Function  
EX0  
ET0  
Enable external interrupt 0.  
Enable timer 0 interrupt.  
IE.1  
EX1  
ET1  
ES0  
ES1  
Enable external interrupt 1.  
Enable timer 1 interrupt.  
IE.2  
IE.3  
IE.4  
IE.5  
IE.6  
IE.7  
Enable SIO0 (UART) interrupt.  
2
Enable SIO1 (I C) interrupt.  
(Reserved).  
EA  
Enable all interrupts.  
6.8.2. Interrupt Priority Structure:  
Each interrupt source can be assigned one of two priority  
levels. Interrupt priority levels are defined by the  
interrupt priority register (IP SFR). Setting a bit in the  
interrupt priority register selects a high priority  
interrupt, clearing it selects a low priority interrupt.  
IP: Interrupt Priority Register  
MSB  
SFR B8h  
LSB  
PS1  
PS0  
PT1  
PX1  
PT0  
PX0  
Symbol  
Position  
IP.0  
Name and Function  
PX0  
PT0  
PX1  
PT1  
PS0  
PS1  
External interrupt 0 priority level.  
Timer 0 interrupt priority level.  
External interrupt 1 priority level.  
Timer 1 interrupt priority level.  
SIO0 (UART) interrupt priority level.  
IP.1  
IP.2  
IP.3  
IP.4  
2
IP.5  
SIO1 (I C) interrupt priority level.  
IP.6  
(Reserved).  
(Unused).  
IP.7  
A low priority interrupt service routine may be  
interrupted by a high priority interrupt. A high priority  
interrupt service routine cannot be interrupted by any  
other interrupt source.  
If two requests of different priority levels occur  
simultaneously, the high priority level request is  
serviced. If requests of same priority are received  
simultaneously, an internal polling sequence determines  
which request is serviced. Thus, within each priority  
level, there is a second priority structure determined by  
the polling sequence, as follows:  
12  
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
Order  
Source  
INT0  
Priority Within Level  
1
2
3
4
5
6
(highest)  
Timer 0  
INT1  
Timer 1  
SIO0  
SIO1  
(lowest)  
6.8.3. Interrupt Handling:  
The interrupt flags are sampled at S5P2 of every  
machine cycle. The samples are polled during the  
following machine cycle. If one of the flags was in a set  
condition at S5P2 of the previous machine cycle, the  
polling cycle will find it and the interrupt system will  
generate a LCALL to the appropriate service routine,  
provided this hardware–generated LCALL is not  
blocked by any of the following conditions:  
The processor acknowledges an interrupt request by  
executing  
a hardware–generated LCALL to the  
appropriate service routine. In some cases it also clears  
the flag that generated the interrupt, and in other case it  
does not. It clears the timer 0, timer 1, and external  
interrupt flags. An external interrupt flag (IE0 or IE1) is  
cleared only if it was transition–activated. All other  
interrupt flags are not cleared by hardware and must be  
cleared by the software. The LCALL pushes the  
contents of the program counter onto the stack (but it  
does not save the PSW) and reloads the PC with an  
address that depends on the source of the interrupt being  
vectored to, as listed below:  
1. An interrupt of higher or equal priority is  
already in progress.  
2. The current (polling) cycle is not the final  
cycle in the execution of the instruction in progress.  
3. The instruction in progress is RETI or any  
access to the IE or IP SFR.  
Any of these three conditions will block the generation  
of the LCALL to the interrupt service routine. Note that  
if an interrupt is active but not being responded to for one  
of the above conditions, if the flag is not still active when  
the blocking condition is removed, the denied interrupt  
will not be serviced. In other words, the facts that the  
interrupt flag was once active but not serviced is not  
memorized. Every polling cycle is new.  
Source  
IE0  
Vector Address  
0003h  
TF0  
000Bh  
IE1  
0013h  
TF1  
001Bh  
RI + TI  
SI  
0023h  
002Bh  
Execution proceeds from the vector address until the  
RETI instruction is encountered. The RETI instruction  
clears the ‘priority level active’ flip–flop that was set  
when this interrupt was acknowledged. It then pops two  
bytes from the the top of the stack and reloads the  
program counter with them. Execution of the interrupted  
program continues from where it was interrupted.  
MATRA MHS  
13  
Rev. D (14 Jan. 97)  
TSC8051C1  
7. Peripherals Functional Description  
For detailed functionnal description of standard 80C51  
peripherals, please refer to C51 Family, Hardware  
Description and Programmer’s Guides.  
The 4–bit timer is decremented every ‘t’ seconds, where:  
t = 12 x 131072 x 1/fosc. (131.072ms at fosc = 12MHz).  
Thus, the interval may vary from 131.072ms to  
2097.152ms in 16 possible steps (see Table 3. ).  
7.1. Watchdog Timer  
The watchdog timer has to be reloaded (write to HWDR  
SFR) within periods that are shorter than the  
programmed watchdog interval, otherwise the  
watchdog timer will underflow and a system reset will  
be generated which will reset the TSC8051C1.  
The watchdog timer consists of a 4–bit timer with a  
17–bit prescaler as shown in Figure 9. The prescaler is  
fed with a signal whose frequency is 1/12 the oscillator  
frequency (1MHz with a 12MHz oscillator).  
HWDR: Hardware WatchDog Register  
MSB  
SFR E6h  
LSB  
WTE  
WT3  
WT2  
WT1  
WT0  
Symbol  
Position  
HWDR.0  
HWDR.1  
HWDR.2  
HWDR.3  
HWDR.4  
HWDR.5  
HWDR.6  
HWDR.7  
Name and Function  
WT0  
WT1  
WT2  
WT3  
Watchdog Timer Interval bit 0.  
Watchdog Timer Interval bit 1.  
Watchdog Timer Interval bit 2.  
Watchdog Timer Interval bit 3.  
Reserved for test purpose, must remain to 0 for normal operation.  
(Reserved).  
(Reserved).  
WTE  
Watchdog Timer Enable bit. Setting this bit activates watchdog operation.  
HWDR is a write only register. Its value after reset is 00h  
which disables the watchdog operation.  
Table 3. Watchdog timer interval value format.  
WT3  
WT2  
WT1  
WT0  
Interval  
t x 16  
t x 1  
t x 2  
:
HWDR is using TSC8051C1 Special Function Register  
address, E6h.  
0
0
0
:
0
0
0
:
0
0
1
:
0
1
0
:
fosc/12  
Prescaler  
(17–bit)  
Timer (4–bit)  
Load  
Underflow  
Internal  
reset  
Clear  
:
:
:
:
:
Q
Set  
Write HWDR  
Internal bus  
1
1
1
1
t x 15  
WTE  
Once the watchdog timer enabled setting WTE bit, it  
cannot be disabled anymore, except by a system reset.  
Figure 9. Watchdog timer block diagram  
The watchdog timer is frozen during idle or power down  
mode.  
14  
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
7.2. Pulse Width Modulated Outputs  
The TSC8051C1 contains twelve pulse width  
modulated output channels (see Figure 10. ). These  
channels generate pulses of programmable duty cycle  
with an 8–bit resolution.  
The pulse–width ratio is therefore defined by the  
contents of these registers, and is in the range of 0 (all ‘0’  
written to PWM register) to 255/256 or 1 (all ‘1’ written  
to PWM register) and may be programmed in  
increments of 1/256 or 1/254. When the 8–bit counter  
counts modulo 254, it can never reach the value of the  
PWM registers when they are loaded with FEh or FFh.  
The 8–bit counter counts modulo 256 by default i.e.,  
from 0 to 255 inclusive but can count modulo 254 i.e.,  
from 0 to 253 inclusive by programming the bit 0 of the  
PWMCON register. The counter clock is supplied by the  
oscillator frequency. Thus, the repetition frequency  
fpwm is constant and equals to the oscillator frequency  
divided by 256 or 254 (fpwm=46.875KHz or  
47.244KHz with a 12MHz oscillator). The 8–bit counter  
is common to all PWM channels, its value is compared  
to the contents of the twelve registers: PWM0 to  
PWM11. Provided the content of each of these registers  
is greater than the counter value, the corresponding  
output is set low. If the contents of these registers are  
equal to, or less than the counter value the output will be  
high.  
PWMx: Pulse Width Modulator x Register  
MSB  
LSB  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
When a compare register (PWM0 to PWM11) is loaded  
with a new value, the associated output is updated  
immediately. It does not have to wait until the end of the  
current counter period. All the PWM outputs are  
open–drain outputs with standard current drive and  
standard maximum voltage capability. When they are  
disabled, eight of them (PWM0 to PWM7) are in high  
impedance while the other four (PWM8 to PWM11) are  
standard Port outputs with internal pullups.  
Table 4. PWM SFR register addresses  
Channel  
SFR address  
PWM0  
PWM1  
PWM2  
PWM3  
PWM4  
PWM5  
PWM6  
PWM7  
PWM8  
PWM9  
PWM10  
PWM11  
ECh  
EDh  
EEh  
EFh  
F4h  
F5h  
F6h  
F7h  
FCh  
FDh  
FEh  
FFh  
PWM0 to PWM11 are write only registers. Their value  
after reset is 00h.  
PWM0 to PWM11 are using TSC8051C1 Special  
Function Registers addresses as detailed in Table 4.  
Two 8–bit control registers: MXCR0 and MXCR1 are  
used to enable or disable PWM outputs.  
MXCR0 is used for PWM0 to PWM7. MXCR1 is used  
for PWM8 to PWM11, these PWMs are multiplexed  
with PORT 1 (see Table 5. )  
MATRA MHS  
15  
Rev. D (14 Jan. 97)  
TSC8051C1  
MXCR0: PWM Multiplexed Control Register 0  
MSB  
SFR E7h  
LSB  
PE7  
PE6  
PE5  
PE4  
PE3  
PE2  
PE1  
PE0  
Symbol  
Position  
Name and Function  
PEx  
MXCR0.x  
PWM Enable bit. Setting this bit enables PWMx output. Clearing this bit disables  
X
PWMx output.  
MXCR1: PWM Multiplexed Control Register 1  
MSB  
SFR D7h  
LSB  
PE11  
PE10  
PE9  
PE8  
Symbol  
Position  
Name and Function  
PEx  
MXCR1.x  
PWM  
Enable bit. Setting this bit enables PWMx output. Clearing this bit disables  
X+8  
PWMx output and activates the I/O pin (see Table 5).  
MXCR0 and MXCR1 are read/write registers. Their  
value after reset is 00h which corresponds to all PWM  
disabled.  
Table 5. PWM alternate pin.  
Channel  
PWM8  
Pin assignment  
PWM will not operate in idle and power down modes  
(frozen counter). When idle or power down mode is  
entered, the PWM0 to PWM7 output pins are floating  
and PWM8 to PWM11 pins are set to general purpose P1  
port with the value of P1 SFR.  
P1.0  
P1.1  
P1.2  
P1.3  
PWM9  
PWM10  
PWM11  
MXCR0 and MXCR1 are using TSC8051C1 Special  
Function Register addresses, E7h and D7h respectively.  
PWMCON is used to control the PWM counter.  
PWMCON: PWM Control Register  
MSB  
SFR DFh  
LSB  
CMOD  
Symbol  
Position  
Name and Function  
CMOD  
PWMCON.0  
Counter modulo. Setting this bit sets the modulo to 254. Clearing this bit sets the  
modulo to 256.  
PWMCON is a write only register. Its value after reset  
is 00h which sets the PWM counter modulo to 256.  
PWMCON is using TSC8051C1 Special Function  
Register address, DFh.  
16  
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
Note: when packaging P2.X is selected, PWM0 to  
PWM7 are not available. Please refer to ordering  
information.  
Internal  
bus  
PWMX register  
8–bit comparator X  
8–bit counter  
PEX bit  
7.3. Controlled HSYNC and VSYNC  
Outputs  
Output  
buffer X  
PWMX  
SOCR is used to configure P3.3 and P3.5 pins as  
buffered HSYNC and VSYNC outputs or as general  
purpose I/Os. When either HSYNC or VSYNC is  
selected, the output level can be respectively  
programmed as P3.4 or P3.2 input level (inverted or  
not), or as a low level if not enabled. Figure 12. shows  
the programmable HSYNC and VSYNC output block  
diagram.  
fosc  
CMOD bit  
Figure 10. Pulse width modulated outputs block  
diagram  
Figure 11. shows a PWM programming example with  
PWM register content 55h and counter modulo 256.  
55h  
ABh  
100h  
Figure 11. PWM programming example.  
SOCR: Synchronisation Output Control Register.  
MSB  
SFR E5h  
LSB  
VOS  
HOS  
VOP  
VOE  
HOP  
HOE  
Symbol  
HOE  
Position  
Name and Function  
SOCR.0  
SOCR.1  
SOCR.2  
SOCR.3  
SOCR.4  
HSYNC Output Enable bit. Setting this bit enables the HSYNC signal.  
HSYNC Output Polarity bit. Setting this bit inverts the HSYNC output.  
VSYNC Output Enable bit. Setting this bit enables the VSYNC signal.  
VSYNC Output Polarity bit. Setting this bit inverts the VSYNC output.  
HOP  
VOE  
VOP  
HOS  
HSYNC Output Selection bit. Setting this bit selects the VSYNC output, clearing it selects  
P3.5 SFR bit.  
VOS  
SOCR.5  
VSYNC Output Selection bit. Setting this bit selects the VSYNC output, clearing it selects  
P3.3 SFR bit.  
SOCR is a write only register. Its value after reset is 00h  
which enables P3.3 and P3.5 general purpose I/O pins.  
SOCR is using TSC8051C1 Special Function Register  
address, E5h.  
MATRA MHS  
17  
Rev. D (14 Jan. 97)  
TSC8051C1  
8051 CORE  
P3.5  
7.4. HSYNC and VSYNC Inputs  
MUX  
P3.5/HOUT  
PIN  
EICON is used to control INT0VSYNC input. Thus, an  
interrupt on either falling or rising edge and on either  
high or low level can be requested. Figure 13. shows the  
programmable INT0/VSYNC input block diagram.  
P3.4/T0/HSYNC  
PIN  
EICON is also used to control T0/HSYNC input as short  
pulses input capture to be able to count them with timer  
0. Pulse duration shorter than 1 clock period is rejected;  
depending on the position of the sampling point in the  
pulse, pulse duration longer than 1 clock period and  
shorter than 1.5 clock period may be rejected or  
accepted; and pulse duration longer than 1.5 clock  
period is accepted. Moreover selection of negative or  
positive pulses can be programmed.  
HOP  
HOE  
HOS  
8051 CORE  
P3.3  
MUX  
P3.3/VOUT  
PIN  
P3.2/INT0/HSYNC  
PIN  
Accepted pulse is lengthened up to 1 cycle period to be  
sampled by the 8051 core (one time per machine cycle:  
12 clock periods), this implies that the maximum pulse  
VOP  
VOE  
VOS  
frequency is unchanged and equal to  
f /24.  
OSC  
Figure 14. shows the programmable T0/HSYNC input  
block diagram. The Digital Timer Delay samples  
T0/HSYNC pulses and rejects or lengthens them.  
Figure 12. Buffered HSYNC and VSYNC block  
diagram  
EICON: External Input Control Register  
MSB  
SFR E4h  
LSB  
T0L  
T0S  
I0L  
Symbol  
Position  
Name and Function  
I0L  
EICON.0  
INT0/VSYNC input Level bit. Setting this bit inverts INT0/VSYNC input signal.  
Clearing it allows standard use of INT0/VSYNC input.  
T0S  
T0L  
EICON.1  
EICON.2  
T0/HSYNC input Selection bit. Setting this bit allows short pulse capture. Clearing it  
allows standard use of T0/HSYNC input.  
T0/HSYNC input Level bit. Setting this bit allows positive pulse capture. Clearing it  
allows negative pulse capture.  
EICON is a write only register. Its value after reset is 00h  
which allows standard INT0 and T0 inputs feature.  
MUX  
T0  
EICON is using TSC8051C1 Special Function Register  
address, E4h.  
Digital  
Time  
Delay  
P3.4/T0/HSYNC  
PIN  
T0S  
T0L  
f
OSC  
MUX  
Figure 14. T0/HSYNC input block diagram  
INT0  
P3.2/INT0/VSYNC  
7.5. SIO1, I2C Serial I/O  
PIN  
2
SIO1 provides a serial interface that meets the I C bus  
specification and supports the master transfer modes  
with multimaster capability from and to the I C bus. The  
I0L  
2
Figure 13. INT0/VSYNC input block diagram  
SIO1 logic handles bytes transfer autonomously. It also  
keeps track of serial transfers and a status register  
2
reflects the status of SIO1 and the I C bus.  
18  
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
2
Figure 15. shows a typical use of I C bus with SIO1, and  
Figure 16. shows a complete data transfer with SIO1.  
TSC8051C1  
Device  
1
Device  
2
Device  
N
Rp Rp  
SCL/P3.6  
SDA/P3.7  
2
Figure 15. Typical I C bus configuration  
SDA  
MSB  
Slave Address  
Nth data byte  
Acknowledgment  
Acknowledgment  
signal from receiver  
signal from receiver  
R/W  
direction  
bit  
SCL  
S
1
2
8
9
1
2
8
9
P/S  
Clock line held low while interrupts are serviced  
2
Figure 16. Complete data transfer on I C bus  
Three 8–bit special function registers are used to control  
SIO1: the control register (S1CON SFR), the status  
register (S1STA SFR) and the data register (S1DAT  
SFR).  
S1CON is used to enable SIO1, to program the bit rate  
(see Table 6. ), to acknowledge or not a received data, to  
send a start or a stop condition on the I C bus, and to  
2
acknowledge a serial interrupt.  
S1CON: Synchronous Serial Control Register  
MSB  
SFR D8h  
LSB  
CR2  
ENS1  
STA  
STO  
SI  
AA  
CR1  
CR0  
Symbol  
Position  
S1CON.0  
S1CON.1  
S1CON.2  
Name and Function  
CR0  
CR1  
AA  
Control Rate bit 0. See Table 6.  
Control Rate bit 1. See Table 6.  
Assert Acknowledge flag. In receiver mode, setting this bit forces an acknowledge  
(low level on SDA). In receiver mode, clearing this bit forces a not acknowledge  
(high level on SDA). When in transmitter mode, this bit has no effect.  
SI  
S1CON.3  
Synchronous Serial Interrupt flag. This bit is set by hardware when a serial interrupt  
is requested. This bit must be reset by software to acknowledge interrupt.  
ST0  
STA  
S1CON.4  
S1CON.5  
S1CON.6  
S1CON.7  
Stop flag. Setting this bit causes a stop condition to be sent on bus.  
Start flag. Setting this bit causes a start condition to be sent on bus.  
Synchronous Serial Enable bit. Setting this bit enables the SIO1 controller.  
Control Rate bit 2. See Table 6.  
ENS1  
CR2  
S1CON is a read/write. Its value after reset is 00h which  
disables the I C controller.  
S1CON is using TSC8051C1 Special Function Register  
address, D8h.  
2
MATRA MHS  
19  
Rev. D (14 Jan. 97)  
TSC8051C1  
Table 6. Serial Clock Rates  
Bit frequency (kHz)  
CR2  
CR1  
CR0  
6MHz  
12MHz  
47  
fosc divided by  
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
23.5  
27  
256  
224  
192  
160  
960  
120  
60  
53.5  
62.5  
75  
31.25  
37.5  
6.25  
12.5  
100  
50  
100  
0.25<62.5  
0.5<62.5  
Timer 1 overflow  
96 x (256 – reload value)  
value: 0–254 in mode 2  
S1STA contains a status code which reflects the status  
2
of SIO1 and the I C bus. The three least significant bits  
are always zero. The five most significant bits contains  
the status code. There are 12 possible status code. When  
S1STA contains F8h, no relevant state information is  
available and no serial interrupt is requested. A valid  
status code is available in S1STA one machine cycle  
after SI is set by hardware and is still present one  
machine cycle after SI has been reset by software.  
Table 7. to Table 9. give the status for the operating  
modes and miscellaneous states.  
S1STA: Synchronous Serial Status Register  
MSB  
SFR D9h  
LSB  
SC4  
SC3  
SC2  
SC1  
SC0  
0
0
0
Symbol  
Position  
S1STA.3  
S1STA.4  
S1STA.5  
S1STA.6  
S1STA.7  
Name and Function  
Status Code bit 0.  
Status Code bit 1.  
Status Code bit 2.  
Status Code bit 3.  
Status Code bit 4.  
SC0  
SC1  
SC2  
SC3  
SC4  
S1STA is a read only register. Its value after reset is F8h.  
S1STA is using TSC8051C1 Special Function Register  
address, D9h.  
20  
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
Table 7. Status for master transmitter mode.  
Table 9. Status for miscellaneous states  
Status code  
Status of I2C bus and SIO1 hardware  
Status code  
Status of I2C bus and SIO1 hardware  
Bus error.  
08h  
10h  
A START condition has been transmitted.  
00h  
F8h  
A repeated START condition has been  
transmitted  
No relevant state information available.  
18h  
20h  
28h  
30h  
38h  
SLA+W has been transmitted; ACK has been  
received.  
S1DAT contains a byte of serial data to be transmitted or  
a byte which has just been received. It is addressable  
while it is not in process of shifting a byte. This occurs  
when SIO1 is in a defined state and the serial interrupt  
flag is set. Data in S1DAT remains stable as long as SI  
is set. While data is being shifted out, data on the bus is  
simultaneously shifted in; S1DAT always contains the  
last byte present on the bus.  
SLA+W has been transmitted; NOT ACK has  
been received.  
Data byte has been transmitted; ACK has been  
received.  
Data byte has been transmitted; NOT ACK has  
been received.  
Arbitration lost in SLA+R/W or data bytes.  
Table 8. Status for master receiver mode  
Status code  
Status of I2C bus and SIO1 hardware  
08h  
10h  
A START condition has been transmitted.  
A repeated START condition has been  
transmitted.  
38h  
40h  
Arbitration lost in NOT ACK bit  
SLA+R has been transmitted; ACK has been  
received.  
48h  
50h  
58h  
SLA+R has been transmitted; NOT ACK has  
been received.  
Data byte has been received; ACK has been  
received.  
Data byte has been received; NOT ACK has  
been received.  
S1DAT: Synchronous Serial Data Register  
MSB  
SFR DAh  
LSB  
SD7  
SD6  
SD5  
SD4  
SD3  
SD2  
SD1  
SD0  
Symbol  
Position  
S1DAT.0  
S1DAT.X  
Name and Function  
SD0  
Address bit 0 (R/W) or Data bit 0.  
Address bit X or Data bit X.  
SDX  
S1DAT is a read/write register. Its value after reset is  
00h.  
When SIO1 is enabled, P3.6 and P3.7 must be set to 1 to  
avoid low level asserting on SCL or SDA lines.  
S1DAT is using TSC8051C1 Special Function Register  
address, DAh.  
When SIO1 is used, external data memory access is not  
available.  
MATRA MHS  
21  
Rev. D (14 Jan. 97)  
TSC8051C1  
8. Electrical Characteristics  
Absolute Maximum Ratings(1)  
Operating Temperature:  
Commercial . . . . . . . . . . . . . . . . . . . . . . . . 0°C to 70°C  
Industrial . . . . . . . . . . . . . . . . . . . . . . . –40°C to +85°C  
Voltage on VCC to VSS . . . . . . . . . . . . . . –0.5V to +7V  
Voltage on Any Pin to VSS . . . . –0.5V to VCC + 0.5V  
(2)  
Power Dissipation . . . . . . . . . . . . . . . . . . . . . . . . 1W  
Storage Temperature . . . . . . . . . . . . . –65ºC to +150ºC  
Notice:  
2. This value is based on the maximum allowable die temperate  
and the thermal resistance of the package.  
1. Stresses above those listed under “Absolute Maximum  
Ratings” may cause permanent damage to the device. This  
is a stress rating only and functional operation of the device  
at these or any other conditions above those indicated in the  
operational sections of this specification is not implied.  
Exposure to absolute maximum rating conditions for  
extended periods may affect device reliability.  
8.1. DC Characteristics  
TA = 0°C to +70°C; VSS = 0V; VCC = 5V ± 10%; F = 0 to 16MHz.  
TA = –40°C to +85°C; VSS = 0V; VCC = 5V ± 10%; F = 0 to 16MHz.  
Symbol  
Inputs  
VIL  
Parameter  
Min  
Typ  
Max  
Unit  
Test Conditions  
Input Low Voltage, except SCL, SDA  
–0.5  
–0.5  
0.2 Vcc – 0.1  
0.3 Vcc  
V
V
V
(5)  
VIL1  
Input Low Voltage, SCL, SDA  
VIH  
Input High Voltage except XTAL1, RST, SCL, 0.2 Vcc + 0.9  
SDA  
Vcc + 0.5  
VIH1  
VIH2  
IIL  
Input High Voltage, XTAL1, RST  
0.7 Vcc  
0.7 Vcc  
Vcc + 0.5  
Vcc + 0.5  
–50  
V
(5)  
Input High Voltage, SCL, SDA  
V
Logical 0 Input Current ports 1, 2 and 3  
Input Leakage Current  
µA  
µA  
µA  
Vin = 0.45V  
0.45 < Vin < Vcc  
Vin = 2.0V  
ILI  
±10  
ITL  
Logical 1 to 0 Transition Current, ports 1, 2, 3  
–650  
Outputs  
VOL  
(4)  
Output Low Voltage, ports 1, 2, 3, SCL, SDA,  
PWM0–7  
0.3  
0.45  
1.0  
V
V
V
IOL = 100µA  
IOL = 1.6mA  
IOL = 3.5mA  
(7)  
(4)  
(4)  
(7)  
(4)  
VOL1  
VOH  
Output Low Voltage, port 0, ALE, PSEN  
0.3  
0.45  
1.0  
V
V
V
IOL = 200µA  
IOL = 3.2mA  
IOL = 7.0mA  
(4)  
(4)  
Output High Voltage, ports 1, 2, 3, SCL, SDA  
Output High Voltage, port 0, ALE, PSEN  
RST Pulldown Resistor  
Vcc – 0.3  
Vcc – 0.7  
Vcc – 1.5  
V
V
V
IOH = –10µA  
IOH = –30µA  
IOH = –60µA  
Vcc = 5V ± 10%  
VOH1  
RRST  
Vcc – 0.3  
Vcc – 0.7  
Vcc – 1.5  
V
V
V
IOH =–200µA  
IOH = –3.2mA  
IOH = –7.0mA  
Vcc = 5V ± 10%  
(6)  
50  
90  
200  
kΩ  
22  
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
Symbol  
CIO  
Parameter  
Min  
Typ  
Max  
Unit  
Test Conditions  
Capacitance of I/O Buffer  
10  
pF  
fc = 1MHz, TA = 25°C  
(8)  
ICC  
Power Supply Current  
Active Mode 12MHz  
Idle Mode 12MHz  
(6)  
(1)  
8.5  
2.6  
17  
8
mA  
mA  
Vcc = 5.5V  
(6)  
(2)  
Vcc = 5.5V  
(6)  
(3)  
IPD  
Power Down Current  
5
30  
µA  
Vcc = 2.0V to 5.5V  
Notes for DC Electrical Characteristics  
VCC  
1. ICC is measured with all output pins disconnected; XTAL1 driven  
with TCLCH, TCHCL = 5 ns (see Figure 20. ), VIL = VSS +  
0.5V, VIH = VCC – 0.5V; XTAL2 N.C.; EA = RST = Port 0 =  
VCC. ICC would be slightly higher if a crystal oscillator used  
(see Figure 17. ).  
2. Idle ICC is measured with all output pins disconnected; XTAL1  
driven with TCLCH, TCHCL = 5ns, VIL = VSS + 0.5V, VIH =  
VCC–0.5V; XTAL2 N.C; Port 0 = VCC; EA = RST = VSS (see  
Figure 19. ).  
ICC  
VCC  
P0  
VCC  
RST  
EA  
3. Power Down ICC is measured with all output pins disconnected;  
EA = PORT 0 = VCC; XTAL2 NC.; RST = VSS (see  
Figure 19. ).  
XTAL2  
XTAL1  
(NC)  
CLOCK SIGNAL  
4. Capacitance loading on Ports 0 and 2 may cause spurious noise  
pulses to be superimposed on the VOLs of ALE and Ports 1 and  
3. The noise is due to external bus capacitance discharging into  
the Port 0 and Port 2 pins when these pins make 1 to 0  
transitions during bus operation. In the worst cases (capacitive  
loading 100pF), the noise pulse on the ALE line may exceed  
0.45V with maxi VOL peak 0.6V. A Schmitt Trigger use is not  
necessary.  
VSS  
All other pins are disconnected.  
Figure 18. ICC Test Condition, Idle Mode.  
VCC  
ICC  
2
5. The input threshold voltage of SCL and SDA (SIO1) meets the I C  
.
specification, so an input voltage below 0.3 VCC will be  
.
recognised as a logic 0 while an input voltage above 0.7 VCC  
VCC  
VCC  
will be recognised as a logic 1.  
6. Typicals are based on a limited number of samples and are not  
guaranteed. The values listed are at room temperature and 5V.  
7. Under steady state (non–transient) conditions, IOL must be  
externally limited as follows:  
P0  
RST  
EA  
Maximum IOL per port pin:  
Maximum IOL per 8–bit port:  
Port 0:  
Ports 1, 2 and 3:  
Maximum total IOL for all output pins:  
10 mA  
XTAL2  
XTAL1  
(NC)  
26 mA  
15 mA  
71 mA  
VSS  
All other pins are disconnected.  
If IOL exceeds the test condition, VOL may exceed the related  
specification. Pins are not guaranteed to sink current greater than  
the listed test conditions.  
Figure 19. ICC Test Condition, Power Down Mode.  
8. For other values, please contact your sales office.  
VCC  
ICC  
VCC  
VCC  
P0  
VCC  
RST  
EA  
XTAL2  
XTAL1  
(NC)  
CLOCK SIGNAL  
VSS  
All other pins are disconnected.  
Figure 17. ICC Test Condition, Active Mode.  
MATRA MHS  
23  
Rev. D (14 Jan. 97)  
TSC8051C1  
Vcc–0.5V  
0.7Vcc  
0.2Vcc–0.1  
0.45V  
TCHCL  
TCLCH  
TCLCH = TCHCL = 5ns.  
Figure 20. Clock Signal Waveform for ICC Tests in Active and Idle Modes.  
Example:  
8.2. Explanation Of The AC Symbol  
TAVLL = Time for Address Valid to ALE low.  
TLLPL = Time for ALE low to PSEN low.  
Each timing symbol has 5 characters. The first character  
is always a “T” (stands for time). The other characters,  
depending on their positions, stand for the name of a  
signal or the logical status of that signal. The following  
is a list of all the characters and what they stand for.  
A: Address.  
Q: Output data.  
C: Clock.  
R: READ signal.  
T: Time.  
D: Input data.  
H: Logic level HIGH.  
I: Instruction (Program memory contents).  
L: Logic level LOW, or ALE.  
P: PSEN.  
V: Valid.  
W: WRITE signal.  
X: No longer a valid logic level.  
Z: Float.  
TA = –40°C to +85°C; VSS = 0V; VCC = 5V ± 10%; F  
= 0 to 12MHz.  
(Load Capacitance for PORT 0, ALE and PSEN = 100pf;  
Load Capacitance for all other outputs = 80 pF.)  
8.3. AC Parameters  
TA = 0 to +70_C; VSS = 0V VCC = 5V±10%; 0 to  
12MHz  
8.4. External Program Memory Characteristics  
0 to 12MHz  
Units  
Symbol  
Parameter  
Min  
Max  
TLHLL  
TAVLL  
TLLAX  
TLLIV  
TLLPL  
TPLPH  
TPLIV  
TPXIX  
ALE pulse width  
2TCLCL – 40  
TCLCL – 40  
TCLCL – 30  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
Address Valid to ALE  
Address Hold After ALE  
ALE to Valid Instruction In  
ALE to PSEN  
4TCLCL – 100  
3TCLCL – 105  
TCLCL – 30  
3TCLCL – 45  
PSEN Pulse Width  
PSEN to Valid Instruction In  
Input Instruction Hold After PSEN  
0
24  
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
0 to 12MHz  
Symbol  
Parameter  
Units  
Max  
Min  
TPXIZ  
TPXAV  
TAVIV  
TPLAZ  
Input Instruction Float After PSEN  
PSEN to Address Valid  
TCLCL – 25  
ns  
ns  
ns  
ns  
TCLCL – 8  
Address to Valid Instruction In  
PSEN Low to Address Float  
5TCLCL – 105  
10  
8.5. External Program Memory Read Cycle  
12 TCLCL  
TLHLL  
TLLIV  
TLLPL  
ALE  
PSEN  
TPLPH  
TPXAV  
TPXIZ  
TLLAX  
TAVLL  
TPLIV  
TPLAZ  
TPXIX  
INSTR IN  
PORT 0  
PORT 2  
INSTR IN  
A0–A7  
A0–A7  
INSTR IN  
TAVIV  
ADDRESS A8–A15  
ADDRESS  
OR SFR–P2  
ADDRESS A8–A15  
8.6. External Data Memory Characteristics  
0 to 12MHz  
Symbol  
Parameter  
Units  
Min  
Max  
TRLRH  
TWLWH  
TRLDV  
TRHDX  
TRHDZ  
TLLDV  
TAVDV  
TLLWL  
TAVWL  
TQVWX  
TQVWH  
TWHQX  
TRLAZ  
TWHLH  
RD Pulse Width  
WR Pulse Width  
6TCLCL–100  
6TCLCL–100  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
RD to Valid Data In  
5TCLCL–165  
Data Hold After RD  
0
Data Float After RD  
2TCLCL–60  
8TCLCL–150  
9TCLCL–165  
3TCLCL+50  
ALE to Valid Data In  
Address to Valid Data In  
ALE to WR or RD  
3TCLCL–50  
4TCLCL–130  
TCLCL–50  
Address to WR or RD  
Data Valid to WR Transition  
Data set–up to WR High  
Data Hold After WR  
7TCLCL–150  
TCLCL–50  
RD Low to Address Float  
RD or WR High to ALE high  
0
TCLCL–40  
TCLCL+40  
MATRA MHS  
25  
Rev. D (14 Jan. 97)  
TSC8051C1  
8.7. External Data Memory Write Cycle  
TWHLH  
ALE  
PSEN  
TLLWL  
TWLWH  
WR  
PORT 0  
PORT 2  
TQVWX  
TWHQX  
TLLAX  
TQVWH  
A0–A7  
TAVWL  
DATA OUT  
ADDRESS  
OR SFR–P2  
ADDRESS A8–A15 OR SFR P2  
8.8. External Data Memory Read Cycle  
TWHLH  
TLLDV  
ALE  
PSEN  
TLLWL  
TRLRH  
RD  
PORT 0  
PORT 2  
TRHDZ  
TAVDV  
TLLAX  
A0–A7  
TAVWL  
TRHDX  
DATA IN  
TRLAZ  
ADDRESS A8–A15 OR SFR P2  
ADDRESS  
OR SFR–P2  
8.9. Serial Port Timing–Shift Register Mode  
0 to 12MHz  
Symbol  
Parameter  
Units  
Min  
12TCLCL  
10TCLCL–133  
2TCLCL–117  
0
Max  
TXLXL  
TQVHX  
TXHQX  
TXHDX  
TXHDV  
Serial port clock cycle time  
ns  
ns  
ns  
ns  
ns  
Output data set–up to clock rising edge  
Output data hold after clock rising edge  
Input data hold after clock rising edge  
Clock rising edge to input data valid  
10TCLCL–133  
26  
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
8.10. Shift Register Timing Waveforms  
0
1
2
3
4
5
6
7
8
INSTRUCTION  
ALE  
TXLXL  
CLOCK  
TXHQX  
1
TQVXH  
0
2
3
4
5
6
7
OUTPUT DATA  
TXHDX  
SET TI  
TXHDV  
WRITE to SBUF  
INPUT DATA  
VALID  
VALID  
VALID  
VALID  
VALID  
VALID  
VALID  
VALID  
SET RI  
CLEAR RI  
8.11. SIO1 (I2C) Interface Timing  
Symbol  
THD; STA  
TLOW  
Parameter  
Input  
Output  
(1)  
Start condition hold time  
SCL low time  
14 TCLCL  
16 TCLCL  
14 TCLCL  
1µs  
> 4.0µs  
> 4.7µs  
> 4.0µs  
(1)  
(1)  
THIGH  
SCL high time  
(2)  
TRC  
SCL rise time  
(3)  
TFC  
SCL fall time  
0.3µs  
< 0.3µs  
TSU; DAT1  
TSU; DAT2  
TSU; DAT3  
THD; DAT  
TSU; STA  
TSU; STO  
TBUF  
Data set–up time  
250ns  
> 20 TCLCL – TRD  
(1)  
SDA set–up time (before repeated START condition)  
SDA set–up time (before STOP condition)  
Data hold time  
250ns  
> 1µs  
250ns  
> 8 TCLCL  
0ns  
> 8 TCLCL – TFC  
(1)  
Repeated START set–up time  
STOP condition set–up time  
Bus free time  
14 TCLCL  
14 TCLCL  
14 TCLCL  
1µs  
> 4.7µs  
(1)  
> 4.0µs  
(1)  
> 4.7µs  
(2)  
TRD  
SDA rise time  
(3)  
TFD  
SDA fall time  
0.3µs  
< 0.3µs  
Notes:  
1. At 100 kbit/s. At other bit–rates this value is inversely proportional  
to the bit–rate of 100 kbit/s.  
2. Determined by the external bus–line capacitance and the external  
bus–line pull–up resistor, this must be < 1µs.  
3. Spikes on the SDA and SCL lines with a duration of less than 3  
TCLCL will be filtered out. Maximum capacitance on bus–lines  
SDA and SCL = 400pF.  
MATRA MHS  
27  
Rev. D (14 Jan. 97)  
TSC8051C1  
8.12. SIO1 (I2C) Timing Waveforms  
START or repeated START condition  
Repeated START condition  
STOP condition  
Repeated START condition  
;STA  
T
SU  
T
RD  
SDA  
0.7 VCC  
0.3 VCC  
(INPUT/OUTPUT)  
T
BUF  
T
FD  
T
RC  
T
FC  
;STO  
T
SU  
SCL  
0.7 VCC  
0.3 VCC  
(INPUT/OUTPUT)  
T
SU  
;DAT3  
T
HD  
;STA  
T
T
T
;DAT1 T ;DAT  
T
SU  
;DAT2  
LOW HIGH SU  
HD  
8.13. External Clock Drive Characteristics (XTAL1)  
Symbol  
TCLCL  
TCHCX  
TCLCX  
TCLCH  
TCHCL  
Parameter  
Min  
83.3  
5
Max  
Units  
ns  
Oscillator Period  
High Time  
Low Time  
ns  
5
ns  
Rise Time  
5
5
ns  
Fall Time  
ns  
8.14. External Clock Drive Waveforms  
Vcc–0.5V  
0.7Vcc  
0.2Vcc–0.1  
0.45V  
TCHCX  
TCLCH  
TCLCX  
TCHCL  
TCLCL  
8.15. AC Testing Input/Output Waveforms  
Vcc –0.5 V  
0.2 Vcc + 0.9  
0.2 Vcc – 0.1  
INPUT/OUTPUT  
0.45 V  
AC inputs during testing are driven at Vcc – 0.5 for a  
logic “1” and 0.45V for a logic “0”. Timing  
measurement are made at VIH min for a logic “1” and  
VIL max for a logic “0”.  
28  
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
8.16. Float Waveforms  
FLOAT  
FLOAT  
VLOAD  
VOH – 0.1 V  
VOL + 0.1 V  
VLOAD + 0.1 V  
VLOAD – 0.1 V  
For timing purposes as port pin is no longer floating  
when a 100 mV change from load voltage occurs and  
begins to float when a 100 mV change from the loaded  
VOH/VOL level occurs. IOL/IOH ≥ ± 20mA.  
MATRA MHS  
29  
Rev. D (14 Jan. 97)  
TSC8051C1  
8.17. Clock Waveform  
STATE4  
P1 P2  
STATE5  
P1 P2  
STATE6  
P1 P2  
STATE1  
STATE2  
P1 P2  
STATE3  
P1 P2  
STATE4  
P1 P2  
STATE5  
P1 P2  
INTERNAL  
CLOCK  
P1  
P2  
XTAL2  
ALE  
THESE SIGNALS ARE NOT ACTIVATED DURING THE  
EXECUTION OF A MOVX INSTRUCTION  
EXTERNAL PROGRAM MEMORY FETCH  
PSEN  
P0  
DATA  
PCL OUT  
DATA  
PCL OUT  
DATA  
PCL OUT  
SAMPLED  
SAMPLED  
SAMPLED  
FLOAT  
FLOAT  
FLOAT  
P2 (EXT)  
INDICATES ADDRESS TRANSITIONS  
READ CYCLE  
RD  
PCL OUT (IF PROGRAM  
MEMORY IS EXTERNAL)  
00H IS EMITTED  
DURING THIS PERIOD  
P0  
P2  
DPL OR Rt OUT  
DATA  
SAMPLED  
FLOAT  
INDICATES DPH OR P2 SFR TO PCH TRANSITION  
WRITE CYCLE  
WR  
PCL OUT (EVEN IF PROGRAM  
MEMORY IS INTERNAL)  
P0  
P2  
DPL OR Rt OUT  
PCL OUT (IF PROGRAM  
MEMORY IS EXTERNAL)  
DATA OUT  
INDICATES DPH OR P2 SFR TO PCH TRANSITION  
PORT OPERATION  
MOV PORT SRC  
OLD DATA  
NEW DATA  
P0 PINS SAMPLED  
P0 PINS SAMPLED  
MOV DEST P0  
MOV DEST PORT (P1. P2. P3)  
(INCLUDES INTO. INT1. TO T1)  
P1, P2, P3 PINS SAMPLED  
RXD SAMPLED  
P1, P2, P3 PINS SAMPLED  
RXD SAMPLED  
SERIAL PORT SHIFT CLOCK  
TXD (MODE 0)  
This diagram indicates when signals are clocked  
internally. The time it takes the signals to propagate to  
the pins, however, ranges from 25 to 125ns. This  
propagation delay is dependent on variables such as  
temperature and pin loading. Propagation also varies  
from output to output and component. Typically though  
(TA=25_C fully loaded) RD and WR propagation delays  
are approximately 50ns. The other signals are typically  
85ns. Propagation delays are incorporated in the AC  
specifications.  
30  
MATRA MHS  
Rev. D (14 Jan. 97)  
TSC8051C1  
9. Ordering Information  
12  
16  
TSC  
51C1  
XXX  
–A  
C
B
R
Packaging  
Part Number  
8051C1: Romless version  
51C1: 8Kx8 Mask ROM  
–12 : 12 MHz version  
–16 : 16 MHz version  
A : PDIL 40  
B : PLCC 44  
C : PQFP 44  
D : SSOP 44  
E : PLCC 52  
G : CDIL 40  
H : LCC 44  
I : CQPJ 44  
Bounding Option  
–none : 12 PWM  
–A : 4 PWM & P2x  
Customer Rom Code  
TEMIC Semiconductor  
Microcontroller Product Line  
Conditioning  
R : Tape & Reel  
D : Dry Pack  
B : Tape & Reel  
and Dry Pack  
Temperature Range  
C : Commercial 0° to 70°C  
I : Industrial –40° to 85°C  
Examples  
Part Number  
Description  
TSC51C1XXX–12CA  
TSC8051C1–16CER  
Mask ROM XXX, 12 MHz, PDIL 40, 0 to 70°C  
ROMless, 16 MHz, PLCC 52, 0 to 70°C, Tape and Reel  
Development Tools  
Reference  
Description  
ANM059  
Application Note: “How to recognize video mode and generate free running  
synchronization signals using TSC8051C1/C2 Microcontroller”  
IM–80C51–RB–400–40  
PC–TSC8051C1–RB–16  
Emulator Base  
Probe card for TSC8051C1. These products are released by Metalink. Please consult the  
local tools distributor or your sales office.  
Product Marking :  
TEMIC  
Customer P/N  
Temic P/N  
Intel 80, 82  
YYWW Lot Number  
MATRA MHS  
31  
Rev. D (14 Jan. 97)  

相关型号:

TSC51C1XXX-12CID

8-Bit Microcontroller for Digital Computer Monitors

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
TEMIC

TSC51C1XXX-12CIR

8-Bit Microcontroller for Digital Computer Monitors

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
TEMIC

TSC51C1XXX-12IA

8-Bit Microcontroller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
ETC

TSC51C1XXX-12IAB

8-Bit Microcontroller for Digital Computer Monitors

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
TEMIC

TSC51C1XXX-12IAD

8-Bit Microcontroller for Digital Computer Monitors

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
TEMIC

TSC51C1XXX-12IAR

8-Bit Microcontroller for Digital Computer Monitors

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
TEMIC

TSC51C1XXX-12IB

8-Bit Microcontroller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
ETC

TSC51C1XXX-12IBB

8-Bit Microcontroller for Digital Computer Monitors

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
TEMIC

TSC51C1XXX-12IBD

8-Bit Microcontroller for Digital Computer Monitors

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
TEMIC

TSC51C1XXX-12IBR

8-Bit Microcontroller for Digital Computer Monitors

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
TEMIC

TSC51C1XXX-12IC

8-Bit Microcontroller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
ETC

TSC51C1XXX-12ICB

8-Bit Microcontroller for Digital Computer Monitors

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
TEMIC