View detail for Migration from TSC87C52 to TS87C52X2

ANM082
Migration from TSC87C52 to TS87C52X2
1. Introduction
This application note compares the features, SFRs, AC&DC parameters between TSC87C52 of Atmel Wireless &
Microcontrollers and the new TS87C52X2. It shows the differences in the DC and AC characteristics and also the
different SFR settings. It should also be noted that the new Atmel Wireless & Microcontrollers TS87C52X2 core
includes the programmable clock doubler feature which is described in the application note available on our website.
It shows the differences in the DC and AC characteristics and also the different SFR settings .
2. Feature Improvement
TSC87C52
TS87C52X2
256b RAM
Yes
Yes
32 I/Os
Yes
Yes
3 16 bit-Timers
Yes
Yes
Timer 2 : Clock output mode
No
Yes
Timer 2 : Auto reload Up/Down mode
No
Yes
6 Interrupt Sources
Yes
Yes
4 priority level interrupt system
No
Yes
Wake up from Power Down by INT0 & INT1
No
Yes
UART
yes
Yes
Enhanced UART
No
Yes
Framing error detection
Yes
Yes
Mulitprocessor communication
No
Yes
X2 Mode
No
Yes
Dual Data Pointer
No
Yes
Power Off Flag
No
Yes
Commercial Temperature
Yes
Yes
Industrial Temperature
Yes
Yes
Asynchronous port reset
No
Yes
Maximum Frequency @ 5V
33 MHz
40 MHz X1 mode
60 MHz eq. X2 mode
Maximum Frequency @ 3V
16 Mhz
30 MHz X1 mode
40 MHz eq. X2 mode
X1 mode is standard mode (12 clocks per instruction)
X2 mode is new mode (6 clocks per instruction)
Rev.A - 20-Apr-01
1
ANM082
3. SFR Mapping
Hereafter a SFR mapping comparison table between TSC87C52 and TS87C52X2.
TSC87C52
TS87C52X2
PCON Register (Sfr:87h)
PCON Register (Sfr:87h)
7
6
5
4
3
2
1
0
SMOD
-
-
-
GF1
GF0
PD
IDL
7
6
SMOD SMOD
1
0
5
4
3
2
1
0
-
POF
GF1
GF0
PD
IDL
Reset Value : 000x 0000b
Reset Value : 00x1 0000b
Comments : Power On flag , EUART
TSC87C52
TS87C52X2
Reserved Register (Sfr:8Fh)
CKCON Register (Sfr:8Fh)
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
X2
Reset Value : xxxx xxx0b
Comments : X2 mode
TSC87C52
TS87C52X2
SCON Register (Sfr:98h)
SCON Register (Sfr:98h)
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
SM0
SM1
SM2
REN
TB8
RB8
TI
RI
FE/
SM0
SM1
SM2
REN
TB8
RB8
TI
RI
Reset Value : 0000 0000b
Reset Value : 0000 0000b
Comments : EUART : FE/SM0 Framing Error
TSC87C52
TS807C52X2
Reserved (Sfr:0A2h)
AUXR1 Register (Sfr:0A2h)
7
6
5
4
3
2
1
0
-
-
-
-
GF3
0
-
DPS
Reset Value : xxxx 00x0b
Comments : Dual DPTR
2
Rev.A - 20-Apr-01
ANM082
TSC8752
TS87C52X2
Reserved (Sfr:0A9h)
SADDR Register (Sfr:0A9h)
7
6
5
4
3
2
1
0
Reset Value : 0000 0000b
Comments : EUART : Multiprocessor communication
TSC87C52
TS87C52X2
Reserved (Sfr:0B7h)
IPH Register (Sfr:0B7h)
7
6
5
4
3
2
1
0
-
-
-
PSH
PT1H
PX1H
PT0H
PX0H
1
0
Reset Value : xxx0 0000b
Comments : 4 level priority interrupt
TSC87C52
TS87C52X2
Reserved (Sfr:0B9h)
SADEN Register (Sfr:0B9h)
7
6
5
4
3
2
Reset Value : 0000 0000b
Comments : EUART : Multi processor communication
All other registers are identical
Rev.A - 20-Apr-01
3
ANM082
4. DC Parameters
Vcc = 2.7V to 5.5V +/-10% ; T = -40° to +85°C or T = 0° to 70°C
Symbol
Parameters
TSC87C52
Min
4
VIH
Input High Voltage except
XTAL1, RST
IPD
Power Down Current
Max
0.2Vcc+1.4
TS87C52X2
Min
Comments
Max
0.2Vcc+0.9
75
Unit
V
50
µΑ
Vcc = 2.0V to 5.5V
Rev.A - 20-Apr-01
ANM082
5. AC parameters
5.1. External Program Memory Characteristics
TSC87C52
Symbol
Parameter
Cond.
TS87C52X2
-Mxx
-Lxx
t LHLL
t AVLL
ALE pulse width
Min
2tCLCL-40
2tCLCL-10
2tCLCL-15
Unit
ns
Address valid to ALE low
Min
tCLCL-40
tCLCL-15
tCLCL-20
ns
t LLAX
t LLIV
Address hold after ALE low
Min
tCLCL-30
tCLCL-15
tCLCL-20
ns
ALE low to valide instruction in
Max
4tCLCL-100
4tCLCL-30
4tCLCL-35
ns
t LLPL
t PLPH
ALE low to PSEN low
Min
tCLCL-30
tCLCL-10
tCLCL-15
ns
PSEN pulse width
Min
3tCLCL-45
3tCLCL-20
3tCLCL-25
ns
t PLIV
t PXIX
PSEN low to valid instruction in
Max
3tCLCL-105
3tCLCL-40
3tCLCL-45
ns
Input instruction hold after PSEN
Min
0
0
0
ns
t PXIZ
t AVIV
Input instruction float after PSEN
Max
tCLCL-25
tCLCL-7
tCLCL-15
ns
Address to valid instruction in
Max
5tCLCL-105
5tCLCL-40
5tCLCL-45
ns
t PLAZ
PSEN low to address float
Max
10
10
10
ns
5.2. External Data Memory Characteristics
TSC87C52
Symbol
Parameter
Cond.
TS87C52X2
-Mxx
-Lxx
Unit
t RLRH
t WLWH
RD pulse width
Min
6tCLCL-100
6tCLCL-20
6tCLCL-25
ns
WR pulse width
Min
6tCLCL-100
6tCLCL-20
6tCLCL-25
ns
t RLDV
t RHDX
RD Low to valid data in
Max
5tCLCL-165
5tCLCL-25
5tCLCL-30
ns
Data hold after RD
Min
0
0
0
ns
t RHDZ
t LLDV
Data float after RD
Max
2tCLCL-60
2tCLCL-20
2tCLCL-25
ns
ALE low to valid data in
Max
8tCLCL-150
8tCLCL-40
8tCLCL-45
ns
t AVDV
t LLWL
Address to valid data in
Max
9tCLCL-165
9tCLCL-60
9tCLCL-65
ns
ALE low to RD or WR low
Min
3tCLCL-50
3tCLCL+25
3tCLCL+30
ns
t LLWL
t AVWL
ALE low to RD or WR low
Max
3tCLCL+50
3tCLCL+25
3tCLCL+30
ns
Address valid to WR low or RD low
Min
4tCLCL-130
4tCLCL-25
4tCLCL-30
ns
t QVWX
t WHQX
Data valid to WR transition
Min
tCLCL-50
tCLCL-15
tCLCL-20
ns
Data hold after WR
Min
tCLCL-50
tCLCL-10
tCLCL-15
ns
t QVWH
t TRLAZ
Data valid to to WR High
Min
7tCLCL-150
7tCLCL-15
7tCLCL-20
ns
RD low to address float
Min
0
0
0
ns
t WHLH
t WHLH
RD or WR high to ALE high
Min
tCLCL-40
tCLCL+15
tCLCL+20
ns
RD or WR high to ALE high
Max
tCLCL+40
tCLCL+15
tCLCL+20
ns
5.3. Serial Port Timing - Shift register
TSC87C52
Symbol
Parameter
-Mxx
-Lxx
Unit
t XLXL
t QVXH
Serial port clock cycle time
Min
12tCLCL
12tCLCL
12tCLCL
ns
Output data setup to clock rising edge
Min
10tCLCL-133
10tCLCL-50
10tCLCL-50
ns
t XHQX
t XHDX
Output data hold after clock edge
Min
2tCLCL-117
2tCLCL-20
2tCLCL-20
ns
Input data hold after clock rinsing edge
Min
0
0
0
ns
t XHDV
Clock rising edge to input data valid
Max
10tCLCL-133
ns
Rev.A - 20-Apr-01
Cond.
TS87C52X2
10tCLCL-133 10tCLCL-133
5
ANM082
6. Packages
VQFP44
PQFP44 F2
PQFP44 F1
TQFP44
PQFP44 F2
PQFP44 F1
VFQP44
TQFP44
6
A
C
D
D1
E
E1
e
f
J
L
N1
N2
Min
1.90
0.10
12.10
9.90
12.10
9.90
0.80
0.25
0.00
0.35
11
11
Max
2.40
0.20
12.50
10.10
12.50
10.10
0.45
0.20
0.65
11
11
11
11
11
11
Min
2.00
0.10
13.65
9.90
13.65
9.90
Max
2.40
0.20
14.15
10.1
14.15
10.10
Min
-
0.10
11.90
9.90
11.90
9.90
Max
1.6
0.20
12.10
10.10
12.10
10.10
Min
-
0.09
12.00
10.00
12.00
10.00
Max
1.20
0.20
0.80
0.80
0.80
0.20
0.00
0.65
0.40
0.30
0.95
0.35
0.05
0.45
-
0.75
0.30
0.05
0.45
0.45
0.15
0.75
Rev.A - 20-Apr-01
ANM082
7. Cross Reference
Old Atmel W&M part
New Atmel W&M part
Old Atmel W&M part
New Atmel W&M part
TSC87C52-16CA
TS87C52X2-MCA
TSC87C52-20CA
TSC87C52-16CB
TS87C52X2-MCB
TSC87C52-20CB
TS87C52X2-MCA
TS87C52X2-MCB
TSC87C52-16CC
TS87C52X2-MCC
TSC87C52-20CC
TS87C52X2-MCC
TSC87C52-16CD
TS87C52X2-MCE
TSC87C52-20CD
TS87C52X2-MCE
TSC87C52-16CE
TS87C52X2-MCE
TSC87C52-20CE
TS87C52X2-MCE
TSC87C52-16CF
TS87C52X2-MCE
TSC87C52-20CD
TS87C52X2-MCE
TSC87C52-16IA
TS87C52X2-MIA
TSC87C52-20IA
TS87C52X2-MIA
TSC87C52-16IB
TS87C52X2-MIB
TSC87C52-20IB
TS87C52X2-MIB
TSC87C52-16IC
TS87C52X2-MIC
TSC87C52-20IC
TS87C52X2-MIC
TSC87C52-16ID
TS87C52X2-MIE
TSC87C52-20ID
TS87C52X2-MIE
TSC87C52-16IE
TS87C52X2-MIE
TSC87C52-20IE
TS87C52X2-MIE
TSC87C52-16IF
TS87C52X2-MIE
TSC87C52-20ID
TS87C52X2-MIE
TSC87C52-L16CA
TS87C52X2-LCA
TSC87C52-25CA
TS87C52X2-MCA
TSC87C52-L16CB
TS87C52X2-LCB
TSC87C52-25CB
TS87C52X2-MCB
TSC87C52-L16CC
TS87C52X2-LCC
TSC87C52-25CC
TS87C52X2-MCC
TSC87C52-L16CD
TS87C52X2-LCE
TSC87C52-25CD
TS87C52X2-MCE
TSC87C52-L16CE
TS87C52X2-LCE
TSC87C52-25CE
TS87C52X2-MCE
TSC87C52-L16CF
TS87C52X2-LCE
TSC87C52-25CD
TS87C52X2-MCE
TSC87C52-L16CJ
TS87C52X2-LCJ
TSC87C52-25CJ
TS87C52X2-MCJ
TSC87C52-L16CK
TS87C52X2-LCK
TSC87C52-25CK
TS87C52X2-MCK
TSC87C52-L16CH
TS87C52X2-LCJ
TSC87C52-25CH
TS87C52X2-MCJ
TSC87C52-L16CI
TS87C52X2-LCK
TSC87C52-25CI
TS87C52X2-MCK
TSC87C52-L16IA
TS87C52X2-LIA
TSC87C52-25IA
TS87C52X2-MIA
TSC87C52-L16IB
TS87C52X2-LIB
TSC87C52-25IB
TS87C52X2-MIB
TSC87C52-L16IC
TS87C52X2-LIC
TSC87C52-25IC
TS87C52X2-MIC
TSC87C52-L16ID
TS87C52X2-LIE
TSC87C52-25ID
TS87C52X2-MIE
TSC87C52-L16IE
TS87C52X2-LIE
TSC87C52-25IE
TS87C52X2-MIE
TSC87C52-L16IF
TS87C52X2-LIE
TSC87C52-25ID
TS87C52X2-MIE
TSC87C52-12CA
TS87C52X2-MCA
TSC87C52-33CA
TS87C52X2-MCA
TSC87C52-12CB
TS87C52X2-MCB
TSC87C52-33CB
TS87C52X2-MCB
TSC87C52-12CC
TS87C52X2-MCC
TSC87C52-33CC
TS87C52X2-MCC
TSC87C52-12CD
TS87C52X2-MCE
TSC87C52-33CD
TS87C52X2-MCE
TSC87C52-12CE
TS87C52X2-MCE
TSC87C52-33CE
TS87C52X2-MCE
TSC87C52-12CD
TS87C52X2-MCE
TSC87C52-33CD
TS87C52X2-MCE
TSC87C52-12IA
TS87C52X2-MIA
TSC87C52-33IA
TS87C52X2-MIA
TSC87C52-12IB
TS87C52X2-MIB
TSC87C52-33IB
TS87C52X2-MIB
TSC87C52-12IC
TS87C52X2-MIC
TSC87C52-33IC
TS87C52X2-MIC
TSC87C52-12ID
TS87C52X2-MIE
TSC87C52-33ID
TS87C52X2-MIE
TSC87C52-12IE
TS87C52X2-MIE
TSC87C52-33IE
TS87C52X2-MIE
TSC87C52-12IF
TS87C52X2-MIE
TSC87C52-33ID
TS87C52X2-MIE
Rev.A - 20-Apr-01
7
ANM082
8. Bibliography
Atmel W&M TSC87C52 datasheet (Rev C, 10 Sept 1997).
Atmel W&M TS80C32X2, TS80C52X2 and TS87C52X2 datasheet Rev. B (Aug. 1999).
8
Rev.A - 20-Apr-01