TS80C32X2 ATMEL Corporation, TS80C32X2 Datasheet

no-image

TS80C32X2

Manufacturer Part Number
TS80C32X2
Description
8-bit Microcontroller ROMless
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TS80C32X2-LCB
Manufacturer:
ATMEL
Quantity:
2 144
Part Number:
TS80C32X2-LCB
Manufacturer:
ATMEL
Quantity:
5 800
Part Number:
TS80C32X2-LCB
Quantity:
6 990
Part Number:
TS80C32X2-LCB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C32X2-LCB
Manufacturer:
XILINX
0
Part Number:
TS80C32X2-LCC
Manufacturer:
JRC
Quantity:
1 400
Part Number:
TS80C32X2-LCC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C32X2-LCE
Manufacturer:
TEMIC
Quantity:
37
Part Number:
TS80C32X2-LCE
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C32X2-LIB
Manufacturer:
Atmel
Quantity:
10 000
8-bit CMOS Microcontroller ROMless
1. Description
TS80C31X2 is high performance CMOS and ROMless
versions of the 80C51 CMOS single chip 8-bit
microcontroller.
The TS80C31X2 retains all features of the TSC80C31
with 128 bytes of internal RAM, a 5-source, 4 priority
level interrupt system, an on-chip oscilator and two timer/
counters.
In addition, the TS80C31X2 has a dual data pointer, a
more
multiprocessor communication (EUART) and a X2 speed
improvement mechanism.
2. Features
Rev. C - 15 January, 2001
80C31 Compatible
High-Speed Architecture
Dual Data Pointer
Asynchronous port reset
8031 pin and instruction compatible
Four 8-bit I/O ports
Two 16-bit timer/counters
128 bytes scratchpad RAM
40 MHz @ 5V, 30MHz @ 3V
X2 Speed Improvement capability (6 clocks/
machine cycle)
30 MHz @ 5V, 20 MHz @ 3V (Equivalent to
60 MHz @ 5V, 40 MHz @ 3V)
versatile
serial
channel
that
facilitates
The fully static design of the TS80C31X2 allows to
reduce system power consumption by bringing the clock
frequency down to any value, even DC, without loss of
data.
The TS80C31X2 has 2 software-selectable modes of
reduced activity for further reduction in power
consumption. In the idle mode the CPU is frozen while
the timers, the serial port and the interrupt system are still
operating. In the power-down mode the RAM is saved
and all other functions are inoperative.
Interrupt Structure with
Full duplex Enhanced UART
Power Control modes
Once mode (On-chip Emulation)
Power supply: 4.5-5.5V, 2.7-5.5V
Temperature ranges: Commercial (0 to 70
Industrial (-40 to 85
Packages: PDIL40, PLCC44, VQFP44 1.4, PQFP F1
(13.9 footprint)
5 Interrupt sources,
4 priority level interrupt system
Framing error detection
Automatic address recognition
Idle mode
Power-down mode
Power-off Flag
o
C)
TS80C31X2
o
C) and
1

Related parts for TS80C32X2

TS80C32X2 Summary of contents

Page 1

CMOS Microcontroller ROMless 1. Description TS80C31X2 is high performance CMOS and ROMless versions of the 80C51 CMOS single chip 8-bit microcontroller. The TS80C31X2 retains all features of the TSC80C31 with 128 bytes of internal RAM, a 5-source, 4 priority ...

Page 2

TS80C31X2 3. Block Diagram XTAL1 XTAL2 ALE/ PROG PSEN CPU EA ( (1) (1) RAM EUART 128x8 C51 CORE IB-bus Timer 0 INT Parallel I/O Ports & Ext. Bus Timer 1 Ctrl Port 0 Port 1 ...

Page 3

SFR Mapping The Special Function Registers (SFRs) of the TS80C31X2 fall into the following categories: C51 core registers: ACC, B, DPH, DPL, PSW, SP, AUXR1 I/O port registers: P0, P1, P2, P3 Timer registers: TCON, TH0, TH1, TMOD, TL0, ...

Page 4

TS80C31X2 5. Pin Configuration P1 P1.1 / T2EX 2 38 P1 P1.7 RST 9 32 P3.0/RxD 10 31 PDIL/ P3.1/TxD ...

Page 5

Table 2. Pin Description for 40/44 pin packages PIN NUMBER MNEMONIC DIL LCC VQFP 1 Vss1 P0.0-P0.7 39-32 43-36 37-30 P1.0-P1.7 1-8 2-9 40-44 1-3 P2.0-P2.7 21-28 24-31 ...

Page 6

TS80C31X2 6. TS80C31X2 Enhanced Features In comparison to the original 80C31, the TS80C31X2 implements some new features, which are The X2 option. The Dual Data Pointer. The 4 level interrupt priority system. The power-off flag. The ONCE mode. Enhanced UART ...

Page 7

XTAL1 XTAL1:2 X2 bit CPU clock STD Mode The X2 bit in the CKCON register (See Table 3.) allows to switch from 12 clock cycles per instruction to 6 clock cycles and vice versa. At reset, the standard speed is ...

Page 8

TS80C31X2 CKCON - Clock Control Register (8Fh Bit Bit Number Mnemonic Reserved 7 - The value read from this bit is indeterminate. Do not set this bit. Reserved 6 - The value read from this bit ...

Page 9

Dual Data Pointer Register Ddptr The additional data pointer can be used to speed up code execution and reduce code size in a number of ways. The dual DPTR structure is a way by which the chip will specify ...

Page 10

TS80C31X2 Bit Bit Number Mnemonic Reserved 7 - The value read from this bit is indeterminate. Do not set this bit. Reserved 6 - The value read from this bit is indeterminate. Do not set this ...

Page 11

ASSEMBLY LANGUAGE ; Block move using dual data pointers ; Destroys DPTR0, DPTR1, A and PSW ; note: DPS exits opposite of entry state ; unless an extra INC AUXR1 is added ; 00A2 AUXR1 EQU 0A2H ; 0000 909000MOV ...

Page 12

TS80C31X2 6.3 TS80C31X2 Serial I/O Port The serial I/O port in the TS80C31X2 is compatible with the serial I/O port in the 80C31. It provides both synchronous and asynchronous communication modes. It operates as an Universal Asynchronous Receiver and Transmitter ...

Page 13

Software may examine FE bit after each reception to check for data errors. Once set, only software or a reset can clear FE bit. Subsequently received frames with valid stop bits cannot clear FE bit. When FE feature is enabled, ...

Page 14

TS80C31X2 6.3.3 Given Address Each device has an individual address that is specified in SADDR register; the SADEN register is a mask byte that contains don’t-care bits (defined by zeros) to form the device’s given address. The don’t-care bits provide ...

Page 15

Reset Addresses On reset, the SADDR and SADEN registers are initialized to 00h, i.e. the given and broadcast addresses are XXXX XXXXb (all don’t-care bits). This ensures that the serial port will reply to any address, and so, that ...

Page 16

TS80C31X2 SCON - Serial Control Register (98h FE/SM0 SM1 SM2 Bit Bit Number Mnemonic Framing Error bit (SMOD0=1) Clear to reset the error state, not cleared by a valid stop bit Set by hardware when an ...

Page 17

PCON - Power Control Register (87h SMOD1 SMOD0 Bit Bit Number Mnemonic Serial port Mode bit 1 7 SMOD1 Set to select double baud rate in mode Serial port Mode bit 0 6 SMOD0 ...

Page 18

TS80C31X2 6.4 Interrupt System The TS80C31X2 has a total of 5 interrupt vectors: two external interrupts (INT0 and INT1), two timer interrupts (timers 0 and 1) and the serial port interrupt. These interrupts are shown in Figure 7. INT0 IE0 ...

Page 19

IPH low-priority interrupt can be interrupted by a high priority interrupt, but not by another low-priority interrupt. A high-priority interrupt can’t be interrupted by any other interrupt source. If two interrupt requests of different priority ...

Page 20

TS80C31X2 IP - Interrupt Priority Register (B8h Bit Bit Number Mnemonic Reserved 7 - The value read from this bit is indeterminate. Do not set this bit. Reserved 6 - The value read from this bit ...

Page 21

IPH - Interrupt Priority High Register (B7h Bit Bit Number Mnemonic Reserved 7 - The value read from this bit is indeterminate. Do not set this bit. Reserved 6 - The value read from this bit ...

Page 22

TS80C31X2 6.5 Idle mode An instruction that sets PCON.0 causes that to be the last instruction executed before going into the Idle mode. In the Idle mode, the internal clock signal is gated off to the CPU, but not to ...

Page 23

Table 11. The state of ports during idle and power-down modes Program Mode ALE Memory Idle External Power Down External Rev January, 2001 PSEN PORT0 1 1 Floating 0 0 Floating TS80C31X2 PORT1 PORT2 PORT3 Port Data ...

Page 24

TS80C31X2 TM 6.7 ONCE Mode (ON Chip Emulation) The ONCE mode facilitates testing and debugging of systems using TS80C31X2 without removing the circuit from the board. The ONCE mode is invoked by driving certain pins of the TS80C31X2; the following ...

Page 25

Power-Off Flag The power-off flag allows the user to distinguish between a “cold start” reset and a “warm start” reset. A cold start reset is the one induced by V the device and could be generated for example by ...

Page 26

TS80C31X2 7. Electrical Characteristics 7.1 Absolute Maximum Ratings Ambiant Temperature Under Bias commercial I = industrial Storage Temperature Voltage Voltage Voltage on Any Pin to V ...

Page 27

DC Parameters for Standard Voltage + - + Table 14. DC Parameters in Standard ...

Page 28

TS80C31X2 Symbol Parameter I Power Supply Current Maximum values (7) mode: operating I Power Supply Current Maximum values (7) mode: idle 7.4 DC Parameters for Low Voltage + ...

Page 29

Symbol Parameter I Power Supply Current Maximum values (7) mode: idle NOTES 1. I under reset is measured with all output pins disconnected; XTAL1 driven with 0.5V; XTAL2 N.C RST ...

Page 30

TS80C31X2 Reset = Vss after a high pulse during at least 24 clock cycles Reset = Vss after a high pulse during at least 24 clock cycles Figure 11. I Reset = Vss after a high pulse during at least ...

Page 31

AC Parameters 7.5.1 Explanation of the AC Symbols 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 ...

Page 32

TS80C31X2 7.5.2 External Program Memory Characteristics Symbol T Oscillator clock period T ALE pulse width LHLL T Address Valid to ALE AVLL T Address Hold After ALE LLAX T ALE to Valid Instruction In LLIV T ALE to PSEN LLPL ...

Page 33

Table 20. AC Parameters for a Variable Clock: derating formula Symbol Type Standard Clock T Min LHLL T Min AVLL T Min LLAX T Max LLIV ...

Page 34

TS80C31X2 7.5.4 External Data Memory Characteristics Symbol T RD Pulse Width RLRH T WR Pulse Width WLWH Valid Data In RLDV T Data Hold After RD RHDX T Data Float After RD RHDZ T ALE to Valid ...

Page 35

Table 22. AC Parameters for a Fix Clock Speed -M 40 MHz Symbol Min Max T 130 RLRH T 130 WLWH T 100 RLDV T 0 RHDX T 30 RHDZ T 160 LLDV T 165 AVDV T 50 100 LLWL ...

Page 36

TS80C31X2 Table 23. AC Parameters for a Variable Clock: derating formula Symbol Type Standard Clock T Min RLRH T Min WLWH T Max RLDV T Min x RHDX ...

Page 37

External Data Memory Read Cycle ALE PSEN RD PORT 0 ADDRESS PORT 2 OR SFR-P2 Figure 16. External Data Memory Read Cycle 7.5.7 Serial Port Timing - Shift Register Mode Symbol T XLXL T QVHX T XHQX T XHDX ...

Page 38

TS80C31X2 Table 26. AC Parameters for a Variable Clock: derating formula Symbol Type Standard Clock T Min 12 T XLXL T Min QVHX T Min XHQX T Min x XHDX T Max ...

Page 39

External Clock Drive Characteristics (XTAL1) Symbol Parameter T Oscillator Period CLCL T High Time CHCX T Low Time CLCX T Rise Time CLCH T Fall Time CHCL T /T Cyclic ratio in X2 mode CHCX CLCX 7.5.10 External Clock ...

Page 40

TS80C31X2 For timing purposes a 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 V 7.5.13 Clock Waveforms Valid in normal clock ...

Page 41

Ordering Information TS 80C31X2 -M: VCC: 5V +/- 10% 40 MHz, standard mode 20 MHz, X2 mode -V: VCC: 5V +/- 10% 40 MHz, standard mode 30 MHz, X2 mode -L: VCC: 2 MHz, standard ...

Page 42

TS80C31X2 TS80C31X2 ROMless -MCA X -MCB X -MCC X -MCE X -VCA X -VCB X -VCC X -VCE X -LCA X -LCB X -LCC X -LCE X -MIA X -MIB X -MIC X -MIE X -VIA X -VIB X -VIC ...

Related keywords