PRELIMINARY (November, 1998, Version 0.0)AMIC Technology, Inc.
A83516 Series
Preliminary8 Bit Microcontroller
Features
n 8-bit CMOS microcontroller
n Fully static design with power saving idle mode and
power down mode
n Low standby current at full supply voltage
n Versions for 12/24/40MHZ operating frequency
n On chip 256B RAM
n On chip 64KB X 8 MASK-ROM program memory
n 64K bytes external data memory space
General Description
The AMIC A83516 is a high-performance 8-bit
microcontroller. It is compatible with the industry
standard 80C52 microcontroller series.
The A83516 contains a 256B RAM, 64KB X 8 ROM, four
8-bit bidirectional parallel ports, three 16-bit
P0.0,AD0
P0.1,AD1
P0.2,AD2
P0.3,AD3
P0.4,AD4
P0.5,AD5
P0.6,AD6
P0.7,AD7
EA
ALE
PSEN
P2.7,A15
P2.6,A14
P2.5,A13
P2.4,A12
P2.3,A11
P2.2,A10
P2.1,A9
P2.0,A8
n Four 8-bit bidirectional ports
n Three 16-bit Timers/Counters (Timer 2 with up/down
counter feature)
n One full duplex serial port
n Boolean processor
n Six interrupt sources, two priority levels
n Available in 40-pin P-DIP and 44-pin PLCC packages
timer/counters, a serial port and six interrupt sources
with two priority levels.
The A83516 has two power reduction modes, idle mode
and power-down mode. It supports 64KB external data
memory.
P1.4
P1.3
P1.2
P1.1,T2EX
P1.0,T2NCVCC
P0.0,AD0
P0.1,AD1
P0.2,AD2
P0.3,AD3
1
2
3
4
5
P1.5
P1.6
P1.7
RST
RXD,P3.0
NC
TXD,P3.1
INT0, P3.2
INT1,P3.3
T0,P3.4
T1,P3.5
6
7
8
9
10
11
12
13
14
15
16
17
20
19
18
4443424140
A83516L
24
23
22
21
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
P0.4,AD4
P0.5,AD5
P0.6,AD6
P0.7,AD7
EA
NC
ALE
PSEN
P2.7,A15
P2.6,A14
P2.5,A13
NC
GND
XTAL1
RD,P3.7
WR,P3.6
XTAL2
P2.0,A8
P2.1,A9
P2.3,A11
P2.2,A10
P2.4,A12
PRELIMINARY (November, 1998, Version 0.0)1AMIC Technology, Inc.
Block Diagram
A83516 Series
CPU CORE
SFR
256B
RAM
64K BYTE
ROM
PSEN ALE EA RST
TIMING AND
CONTROL
PORT 1
P1.0-P1.7
XTAL1XTAL2
OSCILLATOR
TIMER 2INTERRUPT
P0.0-P0.7
PORT 0
(AD0-AD7)
ADDRESS
SERIAL PORTTIMER 0.1
PORT 3
P3.0-P3.7
P2.0-P2.7
PORT 2
A8-A15
ADDRESS
PRELIMINARY (November, 1998, Version 0.0)2AMIC Technology, Inc.
Pin Description
RXD
TXD
INT1
WR
RD
EA
Pin No.
P-DIPPLCC
A83516 Series
SymbolTypeDescription
1 - 82 - 9P1.0 - P1.7
910RSTIReset input, active high. It must be kept high for at least two
10 - 1711,
13 - 19
1820XTAL2OCrystal2. This is the output of crystal oscillator. It is the inversion
P3.0 - P3.7I/OPort3. Port3 is a bidirectional I/O port with internal pull-ups. Port3
I/OPort1. Port1 is a bidirectional I/O port with internal pull-ups. Pin
P1.0 and P1.1 also provide alternate functions as follows:
I/OP1.0T2Timer/Counter2 external input/clock out
IP1.1T2EXTimer/Counter2 capture/reload input
machine cycles to be recognized by the processor
pins also serve alternate functions as follows:
IP3.0
OP3.1
IP3.2
IP3.3
IP3.4T0Timer/Counter 0 input
IP3.5T1Timer/Counter 1 input
OP3.6
OP3.7
of XTAL1
INT0
Serial receive port
Serial transmit port
External interrupt 0
External interrupt 1
External data memory write strobe
External data memory read strobe
1921XTAL1ICrystal1. This is the input of crystal oscillator. It can be driven by
an external clock
2022GNDIGround
21 - 2824 - 31P2.0 - P2.7I/OPort2. Port2 is a bidirectional I/O port with internal pull-ups. Port2
is also the multiplexed upper-order address bus during accesses
to external data memory
2932
3033ALEOAddress Latch Enable : active high. ALE is used to enable the
3135
32 - 3936 - 43P0.7 - P0.0I/OPort0. Port0 is an open drain, bidirectional I/O port. Port0 is also
4044VCCIPower supply
PRELIMINARY (November, 1998, Version 0.0)3AMIC Technology, Inc.
PSEN
OProgram Store Enable : active low. The read strobe to external
program memory.
when fetching external program memory
address latch that separates the data on Port 0
IExternal Access Enable : active low. It is held low to enable the
device to fetch code from external program memory
the multiplexed low-order address bus during accesses to external
data memory
is activated in each machine cycle
PSEN
A83516 Series
Functional Description
The A83516 is a high speed 8-bit microcontroller. The architecture consists of a core controller, four general purposes I/O
ports, 256 bytes RAM internal register, 64K bytes ROM and a serial port.
This microcontroller supports 111 opcodes and executes instructions in 12 clock/machine cycle. It can reference both a
64K program address space and a 64K data storage space.
Timer/Counter 0, 1 and 2
Timer 0,1 and 2 each consist of two 8-bit data registers.
These are called TL0 and TH0 for Timer 0. TL1 and TH1
for Timer 1, and TL2 and TH2 for Timer 2. The TMOD
and TCON registers support control function for Timer 0
and Timer 1. The T2CON register provides control
function for Timer 2. When operating reload/capture
mode, RCAP2H and RCAP2L will be used.
Interrupt
The A83516 provides 6 interrupt modes. These consist
of 2 external interrupts, 3 internal interrupts and a serial
port interrupt.
The enable/disable interrupt is controlled by IE register in
SFR.
The priority of interrupts is controlled by IP register in
SFR.
Serial Port Transfer
The A83516 provides a full duplex serial transfer
function.
This function is controlled by SCON register in SFR.
And the data is storaged in SBUF register during
transmitting and receiving.
Oscillator Characteristics
The oscillator connections are shown as Figure 1. And
Figure 2. When quartz crystal is used, C1 and C2 are
30pF shown in Figure 1. When external clock is used,
the internal clock will be gotten through a divide-by-two
flip-flop. When starting up, the input loading for XTAL1
pin is 100pF. This is due to interaction between the
amplifier and its feedback capacitance interaction. After
the external signal meets the VIL and VIH specification
the capacitance will not exceed 20pF.
C2
XTAL 2
N/C
EXTERNAL
OSCILLATOR
SIGNAL
XTAL 2
XTAL 1
V
SS
Figure 2. External Clock Drive configuration
Power Reduce Mode
IDLE Mode
It is executed by IDLE bit of PCON register in SFR. In
idle mode, the clock to microcontroller core is stopped.
The status in microcontroller core and I/O data are kept.
The microcontroller will stop idle status when either a
reset or an interrupt occurs.
POWER-DOWN Mode
It is executed by PD bit of PCON register in SFR. In
power-down mode, the oscillator clock will stop. The
data in RAM and status in SFR will be kept. The only
way to exit power-down mode is to reset this chip.
RESET
The external reset signal must be held high for at least
two machine cycles during the oscillator running.
After reset, the ports are held high, SP register to 07H,
all of the other SFR registers except SBUF to 00H, and
SBUF is not reset.
C1
XTAL 1
V
SS
C1,C2 = 30pF ± 10pF for Crystals
PRELIMINARY (November, 1998, Version 0.0)4AMIC Technology, Inc.
Figure 1. Oscillator Connections
Recommended DC Operating Conditions (TA = -25°C to + 85°C)
PSEN
PSEN
SymbolParameterMin.Typ.Max.Unit
VCCSupply Voltage4.55.05.5V
GNDGround000V
VIH*Input High Voltage2.4-VCC+0.2V
VILInput Low Voltage0-0.8V
* XTAL1 is a CMOS input. RESET is a Schmit trigger input.
Soldering Temperature & Time . . . . . . . . . 260°C, 10sec
1* : Operating frequency is 40MHZ
*Comments
Stresses above those listed under “Absolute Maximum
Ratings” may cause permanent damage to this device.
These are stress ratings only. Functional operation of
this device at these or any other conditions above those
indicated in the operational sections of this specification
is not implied or intended. Exposure to the absolute
maximum rating conditions for extended periods may
affect device reliability.
DC Electrical Characteristics (TA = -25°C to + 85°C, VCC = 5V ± 10%)
No crystal oscillator input
VRST = GND, VEA = GND
VPORT0 = VCC
IOH= -100µA
IOH= -400µA
C1Input Pin Capacitance-10pF
1. For RESET pin, the ILI max. is 300 µA, since it has an internal pull-low of approx. 30KΩ resistor.
PRELIMINARY (November, 1998, Version 0.0)5AMIC Technology, Inc.
1MHZ , 25°C
A83516 Series
RD
RD
WR
WR
WR
WR
AC Characteristics (TA = -25°C to + 85°C, VCC = 5V ± 10%)
SymbolParameterMin.Max.Unit
Program Memory Cycle
tAPALE Pulse Width2tck – 20
tALSAddress Valid to ALE Low1tck-ns
tALHAddress Hold from ALE Low1tck-ns
top
tAO
tOI
tIDO
tIFO
Pulse Width
PSEN
ALE Low to
2
Low to Valid Instruction in
PSEN
Input Instruction Hold after
Input Instruction Float after
PSEN
Low
PSEN
PSEN
High
High
3tck - 20
External Clock
fOPERClock Frequency040MHZ
3
tCK
tCKH
tCKL
4
4
Clock Period25-ns
Clock High Time10-ns
Clock Low Time10-ns
1
1
-ns
-ns
1tck-ns
-2tckns
-1tckns
-1tckns
Data Memory Cycle
tPR
tPD
tDHR
tDFR
tAR
tWP
tDS
tDHW
tAW
Pulse Width
Low to Valid Data in
Data Hold from RD High
Data Float from RD High
ALE Low to RD Low
Pulse Width
Valid Data to
Data Hold from
ALE Low to
Low
High
Low
6tck - 20
6tck - 20
1
-ns
-4tckns
02tckns
02tckns
3tck3tck + 20
1
1
-ns
1tck-ns
1tck-ns
3tck3tck + 20
1
Serial Port Cycle
tSCKSerial Port Clock12tck-ns
tKIClock Rising Edge to Valid Input Data-11tckns
tIKHInput Data to Serial Clock Rising Clock Hold Time0-ns
tOKSOutput Data to Serial Clock Rising Edge Setup Time11tck-ns
tOKHOutput Data to Serial Clock Rising Edge Hold Time1tck-ns
ns
ns
1. This 20 ns is due to buffer driving delay and wire loading.
2. Instruction cycle time is 12 tck.
3. tck = 1/ foper
4. There are no duty cycle requirements on the XTAL1 input.
PRELIMINARY (November, 1998, Version 0.0)6AMIC Technology, Inc.
Timing Waveforms
Program Memory Cycle
S1S2S3S4S5S6S1
A83516 Series
XTAL 1
ALE
PSEN
PORT 2
PORT 0
Clock Input Waveform
t
AP
t
AO
t
OP
t
ALS
A8 - A15A8 - A15
t
t
ALH
t
OI
t
IHO
IFO
A0 - A7A0 - A7
INSTRUCTION ININSTRUCTION IN
t
XTAL 1
CKH
t
CKL
t
CK
PRELIMINARY (November, 1998, Version 0.0)7AMIC Technology, Inc.
Timing Waveforms (continued)
S4
Data Memory Read Cycle
A83516 Series
S4S5S6S1S2S3
XTAL 1
ALE
PSEN
PORT 2
PORT 0
RD
Data Memory Write Cycle
S4S5S6S1S2S3
XTAL 1
ALE
PSEN
PORT 2
A0-A7
S4
S5S6
A8-A15
t
AR
t
RD
t
RP
DATA IN
t
DHR
t
DFR
A0-A7
S5S6
A8-A15
PORT 0
A0-A7
t
DS
DATA OUT
t
DHW
WR
t
t
AW
WP
Serial Port Timing – Shift Register Mode
INSTRUCTION
0123
4
ALE
t
SCK
CLOCK
t
VALID
OKH
t
KI
t
IKH
VALIDVALIDVALIDVALIDVALIDVALIDVALID
OUTPUT DATA
INPUT DATA
t
OKS
01234567
PRELIMINARY (November, 1998, Version 0.0)8AMIC Technology, Inc.
56
78
SET TI
SET RI
A83516 Series
Ordering Information
Part No.RAMROMFREQ (MHZ)Package
A83516-12256 Byte64K Byte1240L P-DIP
A83516L-12256 Byte64K Byte1244L PLCC
A83516-24256 Byte64K Byte2440L P-DIP
A83516L-24256 Byte64K Byte2444L PLCC
A83516-40256 Byte64K Byte4040L P-DIP
A83516L-40256 Byte64K Byte4044L PLCC
PRELIMINARY (November, 1998, Version 0.0)9AMIC Technology, Inc.