Preliminary
SAB 83C515A-5 Microcontroller with factory mask-programmable ROM
SAB 80C515A Microcontroller for external ROM
SAB 80C515A / 83C515A-5, up to 18 MHz operation frequency
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
×
32 K
256
Additional 1 K
8 ROM (SAB 83C515A-5 only, ROM-Protection available)
×
8 on-chip RAM
8 on-chip RAM (XRAM)
×
Superset of SAB 80C51 architecture:
1
µ
s instruction cycle time at 12 MHz
666 ns instruction cycle time at 18 MHz
256 directly addressable bits
Boolean processor
64 Kbyte external data and program memory addressing
Three 16-bit timer/counters
Versatile "fail-safe" provisions
Twelve interrupt vectors, four priority levels selectable
Genuine 10-bit A/D converter with 8 multiplexed inputs
Full duplex serial interface with programmable Baudrate-Generator
Functionally compatible with SAB 80C515
Extended power saving mode
Fast Power-On Reset
Seven ports: 48 I/O lines, 8 input lines
Two temperature ranges available:
0 to 70 ° C (T1)
– 40 to 85 ° C (T3)
Plastic packages: P-LCC-68 and P-MQFP-80
The SAB 80C515A/83C515A-5 is a high-end member of the Siemens SAB 8051
microcontroller family. It is designed in Siemens ACMOS technology and based on the
SAB 8051 architecture. ACMOS is a technology which combines high-speed and density
characteristics with low-power consumption or dissipation.
While maintaining all the SAB 80C515 features and operating characteristics the
SAB 80C515A/83C515A-5 contains more on-chip RAM/ROM. Furthermore a new 10-bit A/DConverter is implemented as well as extended security mechanisms. The SAB 80C515A is
identical with the SAB 83C515A-5 except that it lacks the on-chip program memory. The
SAB 80C515A / 83C515A-5 is supplied in a 68-pin plastic leaded chip carrier package
(P-LCC- 68) and in a 80-pin plastic metric quad flat package (P-MQFP-80).
Versions for extended temperature range – 40 to + 110
C are available on request.
Semiconductor Group108.95
Page 3
−
SAB 80C515A/83C515A-5
Ordering Information
TypeOrdering
Code
PackageDescription
8-Bit CMOS microcontroller
SAB 80C515A-N18Q67120-C0581P-LCC-68for external memory, 18 MHz
SAB 83C515A-5N18Q67120-DXXXX P-LCC-68with mask-programmable ROM,
18 MHz
SAB 80C515A-N18-T3Q67120-C0784P-LCC-68for external memory, 18 MHz
ext. temperature − 40 to + 85 ° C
SAB 83C515A-5N18-T3 Q67120-DXXXX P-LCC-68with mask-programmable ROM,
18 MHz
ext. temperature − 40 to + 85 ° C
SAB 80C515A-M18-T3Q67120-C0851P-MQFP-80 for external memory, 18 MHz
ext. temperature − 40 to + 85 ° C
SAB 83C515A-5M18-T3 Q67120-DXXXX P-MQFP-80 with mask-programmable ROM,
18 MHz
40 to + 85 ° C
Notes
ext. temperature
:
Versions for extended temperature range − 40 to + 110
The ordering number of ROM types (DXXXX extension) is defined after program release
(verification) of the customer.
C on request.
°
Semiconductor Group2
Page 4
SAB 80C515A/83C515A-5
Logic Symbol
Semiconductor Group3
Page 5
SAB 80C515A/83C515A-5
The pin functions of the SAB 80C515A are identical with those of the SAB 80C515 with
following exception:
is an 8-bit bidirectional I/O port with internal
pull-up resistors. Port 4 pins that have 1’s written to them are pulled high by the internal pullup resistors, and in that state can be used as
inputs. As inputs, port 4 pins being externally
pulled low will source current ( I
, in the DC
IL
characteristics) because of the internal pull-up
resistors.
P4 also contains the external A/D converter
control pin. The output latch corresponding to
a secondary function must be programmed to
a one (1) for that function to operate. The secondary function assigned to port 6:
– ADST
(P4.0): external A/D converter start
pin
Power saving mode enable/Start Watchdog Timer
A low level on this pin allows the software to
enter the power down, idle and slow down
mode. In case the low level is also seen during
reset, the watchdog timer function is off on default.
Use of the software controlled power saving
modes is blocked, when this pin is held on
high level. A high level during reset performs
an automatic start of the watchdog timer immediately after reset.
When left unconnected this pin is pulled high
by a weak internal pull-up resistor.
RESET
V
AREF1
V
AGND
101I
113
124
Semiconductor Group6
Reset pin
A low level on this pin for the duration of two
machine cycles while the oscillator is running
resets the SAB 80C515A. A small internal
pullup resistor permits power-on reset using
only a capacitor connected to
V
SS
Reference voltage for the A/D converter
Reference ground for the A/D converter
Page 8
Pin Definitions and Functions (cont’d)
SAB 80C515A/83C515A-5
SymbolPin
P-LCC-68
Pin
P-MQFP-80
Input (I)
Output (O)
P6.7-P6.0 13-205-12I
P3.0-P3.7 21-2815-22I/O
Function
Port 6
is an 8-bit unidirectional input port to the A/
D converter. Port pins can be used for digital
input, if voltage levels simultaneously meet
the specifications high/low input voltages, and
for the eight multiplexed analog inputs.
Port 3
is an 8-bit bidirectional I/O port with internal
pullup resistors. Port 3 pins that have1's
written to them are pulled high by the internal
pullup resistors, and in that state can be used
as inputs. As inputs, port 3 pins being
externally pulled low will source current (
I
, in
IL
the DC characteristics) because of the internal
pullup resistors. Port 3 also contains the
interrupt, timer, serial port and external
memory strobe pins that are used by various
options. The output latch corresponding to a
secondary function must be programmed to a
one (1) for that function to operate. The
secondary functions are assigned to the pins
of port 3, as follows:
–R
×
D (P3.0): serial port’s receiver data
input (asynchronous) or data
input/output (synchronous)
–T
×
D (P3.1): serial port’s transmitter data
output (asynchronous) or
clock output (synchronous)
is an 8-bit bidirectional I/O port with internal
pullup resistors. Port 1 pins that have 1's
written to them are pulled high by the internal
pullup resistors, and in that state can be used
as inputs. As inputs, port 1 pins being
externally pulled low will source current (
the DC characteristics) because of the internal
pullup resistors. The port is used for the loworder address byte during program
verification. Port 1 also contains the interrupt,
timer, clock, capture and compare pins that
are used by various options. The output latch
corresponding to a secondary function must
be programmed to a one (1) for that function to
operate (except when used for the compare
functions). The secondary functions are
assigned to the port 1 pins as follows:
Input to the inverting oscillator amplifier and
input to the internal clock generator circuits.
(P1.4):interrupt 2 input
reloadtrigger input
Semiconductor Group8
Page 10
Pin Definitions and Functions (cont’d)
SAB 80C515A/83C515A-5
-
SymbolPin
P-LCC-68
Pin
P-MQFP-80
Input (I)
Output (O)
XTAL14037
P2.0-P2.7 41-4838-45I/O
Function
XTAL1
Output of the inverting oscillator amplifier.
To drive the device from an external clock
source, XTAL2 should be driven, while XTAL1
is left unconnected. There are no requirements on the duty cycle of the external clock
signal, since the input to the internal clokking circuitry is divided down by a divide-bytwo flip-flop. Minimum and maximum high and
low times and rise/fall times specified in the
AC characteristics must be taken into account.
Port 2
is an 8-bit bidirectional I/O port with internal
pullup resistors. Port 2 pins that have 1's
written to them are pulled high by the internal
pullup resistors, and in that state can be used
as inputs. As inputs, port 2 pins being
externally pulled low will source current (
I
in
IL,
the DC characteristics) because of the internal
pullup resistors.
Port 2 emits the high-order address byte
during fetches from external program memory
and during accesses to external data memory
that use 16-bit addresses (MOVX@DPTR). In
this application it uses strong internal pullup
resistors when issuing 1's. During accesses to
external data memory that use 8-bit
addresses (MOVX@Ri), port 2 issues the
contents of the P2 special function register.
PSEN
4947OThe Program Store Enable
output is a control signal that enables the
external program memory to the bus during
external fetch operations. It is activated every
six oscillator periods, except during external
data memory accesses. The signal remains
high during internal program execution.
ALE5048OThe
output is used for latching the address into
external memory during normal operation. It is
activated every six oscillator periods, except
during an external data memory access.
Semiconductor Group9
Address Latch enable
Page 11
Pin Definitions and Functions (cont’d)
SAB 80C515A/83C515A-5
SymbolPin
P-LCC-68
Pin
P-MQFP-80
Input (I)
Output (O)
Function
EA5149IExternal Access Enable
When held high, the SAB 80C515A executes
instructions from the internal ROM as long as
the PC is less than 32768. When held low, the
SAB 80C515A fetches all instructions from
external program memory. For the SAB
80C515A this pin must be tied low.
P0.0-P0.7 52-5952-59I/OPort 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 highimpedance inputs.
Port 0 is also the multiplexed low-order
address and data bus during accesses to
external program and data memory. In this
application it uses strong internal pullup
resistors when issuing 1's.
Port 0 also outputs the code bytes during
program verification in the SAB 80C515A.
External pullup resistors are required during
program verification.
P5.7-P5.0 60-6760-67I/OPort 5 is an 8-bit bidirectional I/O port with
internal pullup resistors. Port 5 pins that have
1's written to them are pulled high by the
internal pullup resistors, and in that state can
be used as inputs. As inputs, port 5 pins being
externally pulled low will source current
(I
in the DC characteristics) because of the
IL
internal pullup resistors.
HWPD
6869IHardware Power Down
A low level on this pin for the duration of one
machine cycle while the oscillator is running
resets the SAB 80C515A.
A low level for a longer period will force the
part to Power Down Mode with the pins floating. (see table 5)
V
CC
3732, 33–Supply voltage
during normal, idle, and power-down operation.
V
SS
N.C.–2, 13, 14, 23,
3834, 35–Ground (0 V)
–Not connected
46, 50, 51,
68, 70, 71
These pins of the P-MQFP-80 package must
not be connected.
Semiconductor Group10
Page 12
SAB 80C515A/83C515A-5
Figure 1
Block Diagram
Semiconductor Group11
Page 13
SAB 80C515A/83C515A-5
Functional Description
The SAB 80C515A is based on 8051 architecture. It is a fully compatible member of the
Siemens SAB 8051/80C51 microcontroller family being an significantly enhanced
SAB 80C515. The SAB 80C515A is therefore code compatible with the SAB 80C515.
Having an 8-bit CPU with extensive facilities for bit-handling and binary BCD arithmetics the
SAB 80C515A is optimized for control applications. With a 18 MHz crystal, 58 % of the
instructions are executed in 666.67 ns.
While maintaining all architectural and operational characteristics of the SAB 80C515 the SAB
80C515A incorporates more on-chip RAM. A new 10-bit A/D-Converter is implemented as well
as an oscillator watchdog unit. Also the maximum operating frequency of 18 MHz is higher than
at the SAB 80C515.
With exception of the ROM sizes both parts are identical. Therefore the therm SAB 80C515A
refers to both versions within this specification unless otherwise noted.
Memory Organisation
According to the SAB 8051 architecture, the SAB 80C515A has separate address spaces for
program and data memory. Figure 2 illustrates the mapping of address spaces.
Figure 2
Memory Map
Semiconductor Group12
Page 14
SAB 80C515A/83C515A-5
Program Memory ('Code Space')
The SAB 83C515A-5 has 32 Kbyte of on-chip ROM, while the SAB 80C515A has no internal
ROM. The program memory can externally be expanded up to 64 Kbyte. Pin EA
whether program fetches below address 8000
are done from internal or external memory.
H
As a new feature the SAB 83C515A-5 offers the possibility of protecting the internal ROM
against unauthorized access. This protection is implemented in the ROM-Mask. Therefore, the
decision ROM-Protection 'yes' or 'no' has to be made when delivering the ROM-Code. Once
enabled, there is no way of disabling the ROM-Protection.
Effect:The access to internal ROM done by an externally fetched MOVC instruction is
disabled. Nevertheless, an access from internal ROM to external ROM is possible.
To verify the read protected ROM-Code a special ROM-Verify-Mode is implemented. This
mode also can be used to verify unprotected internal ROM.
The data memory space consists of an internal and an external memory space.The
SAB 80C515A contains another 1 Kbyte on On-Chip RAM additional to the 256-bytes internal
RAM of the base type SAB 80C515. This RAM is called XRAM ('extended RAM') in this
document.
External Data Memory
Up to 64 Kbyte external data memory can be addressed by instructions that use 8-bit or 16-bit
indirect addressing. For 8-bit addressing MOVX instructions in combination with registers R0
and R1 can be used. A 16-bit external memory addressing is supported by a 16-bit datapointer.
Registers XPAGE and SYSCON are controlling whether data fetches at addresses F800
FBFF
are done from internal XRAM or from external data memory.
H
Internal Data Memory
H
to
The internal data memory is divided into four physically distinct blocks:
– the lower 128 bytes of RAM including four register banks containing eight
registers each
– the upper 128 byte of RAM
– the 128 byte special function register area.
– a 1 K
chip at the address range from F800
× 8 area which is accessed like external RAM (MOVX-instructions), implemented on
to FBFFH. Special Function Register SYSCON
H
controls whether data is read from or written to XRAM or external RAM.
A map of the internal data memory is shown in figure 2. The overlapping address spaces of the
standard internal data memory (256 byte) are accessed by different addressing modes (see
User's Manual SAB 80C515). The stack can be located anywhere in the internal data memory.
Architecture of the XRAM
The contents of the XRAM is not affected by a reset or HW Power Down. After power-up the
contents is undefined, while it remains unchanged during and after a reset or HW Power Down
if the power supply is not turned off.
The additional On-Chip RAM is logically located in the "external data memory" range at the
upper end of the 64 Kbyte address range (F800
enabled the address range F800
to FFFFH is occupied. This is done to assure software
H
-FBFFH). Nevertheless when XRAM is
H
compatibility to SAB 80C517A. It is possible to enable and disable (only by reset) the XRAM. If
it is disabled the device shows the same behaviour as the parts without XRAM, i.e. all MOVX
accesses use the external bus to physically external data memory.
Semiconductor Group14
Page 16
SAB 80C515A/83C515A-5
Accesses to XRAM
Because the XRAM is used in the same way as external data memory the same instruction
types must be used for accessing the XRAM.
Note:
If a reset occurs during a write operation to XRAM, the effect on XRAM depends on the
cycle which the reset is detected at (MOVX is a 2-cycle instruction):
Reset detection at cycle 1:The new value will not be written to XRAM. The old value
is not affected.
Reset detection at cycle 2:The old value in XRAM is overwritten by the new value.
Accesses to XRAM using the DPTR
There are a Read and a Write instruction from and to XRAM which use one of the 16-bit DPTR
for indirect addressing. The instructions are:
MOVX A,@DPTR (Read)
MOVX@DPTR, A (Write)
Normally the use of these instructions would use a physically external memory. However, in the
SAB 80C515A the XRAM is accessed if it is enabled and if the DPTR points to the XRAM
address space (DPTR ≥ F800
Accesses to XRAM using the Registers R0/R1
The 8051 architecture provides also instructions for accesses to external data memory range
which use only an 8-bit address (indirect addressing with registers R0 or R1). The instructions
are:
).
H
MOVX A,@Ri (Read)
MOVX@Ri, A (Write)
In application systems, either a real 8-bit bus (with 8-bit address) is used or Port 2 serves as
page register which selects pages of 256-byte. However, the distinction, whether Port 2 is
used as general purpose I/O or as "page address" is made by the external system design. From
the device’s point of view it cannot be decided whether the Port 2 data is used externally as
address or as I/O data!
Hence, a special page register is implemented into the SAB 80C515A to provide the possibility
of accessing the XRAM also with the MOVX @Ri instructions, i.e. XPAGE serves the same
function for the XRAM as Port 2 for external data memory.
Semiconductor Group15
Page 17
Special Function Register XPAGE
SAB 80C515A/83C515A-5
Addr. 91
H
XPAGE
The reset value of XPAGE is 00H.
XPAGE can be set and read by software.
The register XPAGE provides the upper address byte for accesses to XRAM with MOVX @Ri
instructions. If the address formed from XPAGE and Ri is less than the XRAM address range,
then an external access is performed. For the SAB 80C515A the contents of XPAGE must be
greater or equal than F8
in order to use the XRAM. Of course, the XRAM must be enabled if
H
it shall be used with MOVX @Ri instructions.
Thus, the register XPAGE is used for addressing of the XRAM; additionally its contents are
used for generating the internal XRAM select. If the contents of XPAGE is less than the XRAM
address range then an external bus access is performed where the upper address byte is
provided by P2 and not by XPAGE!
Therefore, the software has to distinguish two cases, if the MOVX @Ri instructions with paging
shall be used:
a) Access to XRAM:The upper address byte must be written to XPAGE or P2;
both writes selects the XRAM address range.
b) Access to external memory: The upper address byte must be written to P2; XPAGE will
be loaded with the same address in order to deselect the
XRAM.
Semiconductor Group16
Page 18
SAB 80C515A/83C515A-5
Control of XRAM in the SAB 80C515A
There are two control bits in register SYSCON which control the use and the bus operation
during accesses to the additional On-Chip RAM (XRAM).
Special Function Register SYSCON
Addr. 0B1
H
XMAP1 XMAP0SYSCON
BitFunction
XMAP0Global enable/disable bit for XRAM memory.
XMAP0 =0: The access to XRAM (= On-Chip XDATA memory) is en-
abled.
XMAP0 = 1: The access to XRAM is disabled. All MOVX accesses are
performed by the external bus (reset state).
XMAP1Control bit for / RD/WR
signals during accesses to XRAM; this bit has no
effect if XRAM is disabled (XMAP0 = 1) or if addresses exceeding the
XRAM address range are used for MOVX accesses.
XMAP1 = 0: The signals RD
and WR are not activated during accesses
to XRAM.
XMAP1 = 1: The signals RD
and WR are activated during accesses to
XRAM.
Reset value of SYSCON is XXXX XX01B.
The control bit XMAP0 is a global enable/disable bit for the additional On-Chip RAM (XRAM).
If this bit is set, the XRAM is disabled, all MOVX accesses use external memory via the external
bus. In this case the SAB 80C515A does not use the additional On-Chip RAM and is compatible
with the types without XRAM.
Semiconductor Group17
Page 19
SAB 80C515A/83C515A-5
XMAP0 is hardware protected by an unsymmetric latch. An unintentional disabling of XRAM
could be dangerous since indeterminate values would be read from external bus. To avoid this
the XMAP-bit is forced to '1' only by reset. Additionally, during reset an internal capacitor is
loaded. So after reset state XRAM is disabled. Because of the load time of the capacitor
XMAP0-bit once written to '0' (that is, discharging capacitor) cannot be set to '1' again by
software. On the other hand any distortion (software hang up, noise, ...) is not able to load this
capacitor, too. That is, the stable status is XRAM enabled. The only way to disable XRAM after
it was enabled is a reset.
The clear instruction for XMAP0 should be integrated in the program initialization routine before
XRAM is used. In extremely noisy systems the user may have redundant clear instructions.
The control bit XMAP1 is relevant only if the XRAM is accessed. In this case the external RD
and WR
debug purposes it might be useful to have these signals and the addresses at Ports 0.2
available. This is performed if XMAP1 is set.
The behaviour of Port 0 and P2 during a MOVX access depends on the control bits in register
SYSCON and on the state of pin EA
the following characteristics:
a) Use of P0 and P2 pins during the MOVX access.
Bus: The pins work as external address/data bus. If (internal) XRAM
I/0:The pins work as Input/Output lines under control of their latch.
b) Activation of the RD
c) Use of internal or external XDATA memory.
The shaded areas describe the standard operation as each 80C51 device without on-chip
XRAM behaves.
signals at P3.6 and P3.7 are not activated during the access, if XMAP1 is cleared. For
. The table 1 lists the various operating conditions. It shows
is accessed, the data written to the XRAM can be seen on the bus in
debug mode.
and WR pin during the access.
Semiconductor Group18
Page 20
Semiconductor Group19
Table 1:
Behaviour of P0/P2 and
RD/WR during MOVX accesses
MOVX
@DPTR
MOVX
@Ri
DPTR < XRAM
address
range
DPTR ≥ XRAM
address
range
XPAGE < XRAM
addr.
page
range
XPAGE ≥ XRAM
addr.
page
range
0010X1
a) P0/P2
b) RD
c) ext. memory is
used
a) P0/P2➝BUS
(WR -Data only)
b) RD/WR inactive
c) XRAM is used
a) P0➝Bus
P2
b)
c) ext. memory is
used
a) P0/P2➝BUS
(WR -Data only)
P2➝I/0
b)
c) XRAM is used
➝Bus
/WRactive
➝I/0
RD/WR active
RD/WR inactive
EA = 0
XMAP1, XMAP0
a) P0/P2
b) RD
c) ext. memory is
used
a) P0/P2➝BUS
(WR -Data only)
b) RD/WR active
c) XRAM is used
a) P0
P2
b)
c) ext. memory is
used
a) P0/P2➝BUS
(WR -Data only)
P2➝I/0
b)
c) XRAM is used
➝Bus
/WR active
➝Bus
➝I/0
RD/WR active
RD/WR active
a) P0/P2
b)
c) ext. memory is
used
a) P0/P2
b)
c) ext. memory is
used
a) P0
P2
b)
c) ext. memory is
used
a) P0
P2
b)
c) ext. memory is
used
➝Bus
RD/WR active
➝Bus
RD/WR active
➝Bus
➝I/0
RD/WR active
➝Bus
➝I/0
RD/WR active
0010X1
a) P0/P2
b)
c) ext. memory is
used
a) P0/P2➝I/0
b)
c) XRAM is used
a) P0
P2
b)
c) ext. memory is
used
a) P0/P2➝I/0
b)
c) XRAM is used
➝Bus
RD/WR active
RD/WR inactive
➝Bus
➝I/0
RD/WR active
RD/WR inactive
EA = 1
XMAP1, XMAP0
a) P0/P2
b)
c) ext. memory is
used
a) P0/P2➝BUS
(WR -Data only)
b) RD/WR active
c) XRAM is used
a) P0
P2
b)
c) ext. memory is
used
a) P0➝BUS
(WR -Data only)
P2➝I/0
b)
c) XRAM is used
➝Bus
RD/WR active
➝Bus
➝I/0
RD/WR active
RD/WR active
a) P0/P2
b)
c) ext. memory is
used
a) P0/P2➝Bus
b)
c) ext. memory is
used
a) P0
P2
b)
c) ext. memory is
used
a) P0
P2
b)
c) ext. memory is
used
➝Bus
RD/WR active
RD/WR active
➝Bus
➝I/0
RD/WR active
➝Bus
➝I/0
RD/WR active
SAB 80C515A/83C515A-5
modes compatible to 8051 - family
Page 21
SAB 80C515A/83C515A-5
Special Function Registers
All registers, except the program counter and the four general purpose register banks, reside
in the special function register area. The special function registers include arithmetic registers,
pointers, and registers that provide an interface between the CPU and the on-chip peripherals.
There are also 128 directly addressable bits within the SFR area. All special function registers
are listed in table 2 and table 3.
In table 2 they are organized in numeric order of their addresses. In table 3 they are organized
in groups which refer to the functional blocks of the SAB 80C515A.
Table 2
Special Function Register
Address RegisterContents
AddressRegisterContents
after Reset
1)
80
H
81
H
82
H
83
H
84
H
85
H
86
H
87
H
88
H
89
H
8A
H
8B
H
8C
H
8D
H
8E
H
8F
H
90
H
91
H
92
H
93
H
94
H
95
H
96
H
97
H
1)
Bit-addressable special function registers
2)
X means that the value is indeterminate and the location is reserved
In the SAB 80C515A a new high performance / high-speed 8-channel 10-bit A/D-Converter
(ADC) is implemented. Its successive approximation technique provides 7
= 16 MHz). The conversion principle is upward compatible to the one used in the
(f
OSC
SAB 80C515. The main functional blocks are shown in figure 3.
The comparator is a fully differential comparator for a high power supply rejection ratio and very
low offset voltages. The capacitor network is binary weighted providing genuine10-bit
resolution.
µs conversion time
The table below shows the sample time T
on f
f
OSC
and a new prescaler.
OSC
[MHz]Prescalerf
and the conversion time TC, which are dependend
S
[MHz]Sample Time
ADC
Conversion Time
(incl. sample time)
T
S
[µs]
T
[µs]
C
12÷ 81.52.679.3
÷ 160.755.3318.66
16÷ 82.02.07.0
÷ 161.01.014.0
18÷ 8– – –
÷ 161.1253.5512.4
The ADC is clocked (f
ADC
) with f
/8. Because of the ADC's maximum clock frequency of
OSC
2 MHz the prescaler (divide-by-2) has to be enabled (set Bit ADCL in SFR ADCON 1) when the
oscillator frequency (f
) is higher than 16 MHz.
OSC
Semiconductor Group25
Page 27
SAB 80C515A/83C515A-5
Figure 3
Block Diagram A/D Converter
Semiconductor Group26
Page 28
SAB 80C515A/83C515A-5
Timers /Counters
The SAB 80C515A contains three 16-bit timers/counters wich are useful in many applications
for timing and counting. the input clock for wach timer/counter is 1/12 of the oscillator frequency
in the timer operation or can be taken from an external clock source for the counter operation
(maximum count rate is 1/24 of the oscillator frequency).
– Timer/Counter 0 and 1
These timers/counters can operate in four modes:
Mode 0:8-bit timer/counter with 32:1 prescaler
Mode 1:16-bit timer/counter
Mode 2:8-bit timer/counter with 8-bit auto-reload
Mode 3:Timer/counter 0 is configured as one 8-bit timer/counter and one
8-bit timer; Timer/counter 1 in this mode holds its count.
External inputs INTO
and 1 to facilitate pulse width measurements.
– Timer/Counter 2
Timer/counter 2 of the SAB 80C515A is a 16-bit timer/counter with several additional features.
It offers a 2:1 prescaler, a selectable gate function, and compare, capture and reload functions.
Corresponding to the 16-bit timer register there are four 16-bit capture/compare registers, one
of them can be used to perform a 16-bit reload on a timer overflow or external event. Each of
these registers corresponds to a pin of port 1 for capture input/compare output.
Figure 4 shows a block diagram of timer/counter 2.
Reload
A 16-bit reload can be performed with the 16-bit CRC register consisting of CRCL and CRCH.
There are two modes from which to select:
Mode 0:Reload is caused by a timer 2 overflow (auto-reload).
Mode 1:Reload is caused in response to a negative transition at pin T2EX
(P1.5), which can also request an interrupt.
and INT1 can be programmed to function as a gate for timer/counters 0
Semiconductor Group27
Page 29
SAB 80C515A/83C515A-5
Capture
This feature permits saving of the actual timer/counter contents into a selected register upon
an external event or a software write operation. Two modes are provided to latch the current
16-bit value of timer 2 registers TL2 and TH2 into a dedicated capture register.
Mode 0:Capture is performed in response to a transition at the corresponding
port 1 pins CC0 to CC3.
Mode 1:Write operation into the low-order byte of the dedicated capture
register causes the timer 2 contents to be latched into this register.
Compare
In compare mode, the 16-bit values stored in the dedicated compare registers are compared
to the contents of the timer 2 registers. If the count value in the timer 2 registers matches one
of the stored values, an appropriate output signal is generated and an interrupt is requested.
Two compare modes are provided:
Mode 0: Upon a match the output signal changes from low to high. It goes
back to low level when timer 2 overflows.
Mode 1: The transition of the output signal can be determined by software.
A timer 2 overflow causes no output change.
Semiconductor Group28
Page 30
SAB 80C515A/83C515A-5
Figure 4
Block Diagram of Timer/Counter 2
Semiconductor Group29
Page 31
SAB 80C515A/83C515A-5
Interrupt Structure
The SAB 80C515A has 12 interrupt vectors with the following vector addresses and request
flags.
Table 4
Interrupt Sources and Vectors
Source (Request Flags)Vector AddressVector
IE0
TF0
IE1
TF1
RI + TI
TF2 + EXF2
IADC
IEX2
IEX3
IEX4
IEX5
IEX6
Each interrupt vector can be individually enabled/disabled. The minimum response time to an
interrupt request is more than 3 machine cycles and less than 9 machine cycles, if no other
interrrupt of the same or a higher priority level is in process.
Figure 5 shows the interrupt request sources.
External interrupts 0 and 1 can be activated by a low-level or a negative transition (selectable)
at their corresponding input pin, external interrupts 2 and 3 can be programmed for triggering
on a negative or a positive transition. The external interrupts 3 or 6 are combined with the
corresponding alternate functions compare (output) and capture (input) on port 1.
For programming of the priority levels the interrupt vectors are combined to pairs. Each pair can
be programmed individually to one of four priority levels by setting or clearing one bit in special
function register IP0 and one in IP1.
Figure 6 shows the priority level structure.
Semiconductor Group30
Page 32
SAB 80C515A/83C515A-5
Figure 5
Interrupt Request Sources
Semiconductor Group31
Page 33
SAB 80C515A/83C515A-5
Figure 6
Interrupt Priority Level Structure
Semiconductor Group32
Page 34
SAB 80C515A/83C515A-5
I/O Ports
The SAB 80C515A has six 8-bit I/O ports and one input port. Port 0 is an open-drain
bidirectional I/O port, while ports 1 to 5 are quasi-bidirectional I/O ports with internal pull-up
resistors. That means, when configured as inputs, ports 1 to 5 will be pulled high and will source
current when externally pulled low. Port 0 will float when configured as input.
Port 0 and port 2 can be used to expand the program and data memory externally. During an
access to external memory, port 0 emits the low-order address byte and reads/writes the data
byte, while port 2 emits the high-order address byte. In this function, port 0 is not an open-drain
port, but uses a strong internal pull-up FET. Ports 1, 3 and 4 are provided for several alternate
functions, as listed below:
The SAB 80C515A has one dual-purpose input port. The ANx lines of port 6 in the SAB 80C515
can individually be used as analog or digital inputs. Reading the special function register P6
allows the user to input the digital values currently applied to the port pins. It is not necessary
to select these modes by software; the voltages applied at port 6 pins can be converted to
digital values using the A/D converter and at the same time the pins can be read via SFR P6.
It must be noted, however, that the results in port P6 bits will be indeterminate if the levels at
the corresponding pins are not within their V
to use port P6 as an output port. Special function register P6 is located at address 0DB
specifications. Furthermore, it is not possible
IL/VIH
.
H
In Hardware Power Down Mode the port pins and several control lines enter a floating state.
For more details see the section about Hardware Power Down Mode.
Semiconductor Group33
Page 35
SAB 80C515A/83C515A-5
Power Saving Modes
The SAB 80C515A provides – due to Siemens ACMOS technology – four modes in which
power consumption can be significantly reduced.
– The Slow Down Mode
The controller keeps up the full operating functionality, but is driven with one eight of its
normal operating frequency. Slowing down the frequency remarkable reduces power
consumption.
– The Idle Mode
The CPU is gated off from the oscillator, but all peripherals are still supplied with the clock
and continue working.
– The Software Power Down Mode
Operation of the SAB 80C515A is stopped, the on-chip oscillator and the RC-oscillator are
turned off. This mode is used to save the contents of the internal RAM with a very low
standby current and is fully compatible to the Power Down Mode of the SAB 80C515.
– The Hardware Power Down Mode
Operation of the SAB 80C515A is stopped, the on-chip oscillator and the RC-oscillator are
turned off. The pin HWPD
floating state. The Hardware Power Down Mode is new in the SAB 80C515A and is
independent of the state of pin PE
reduction modes).
Hardware Enable for Software controlled Power Saving Modes
A dedicated pin PE
saving modes. Since this pin is mostly used in noise-critical application it is combined with an
automatic start of the Watchdog Timer.
/SWD = VIH (logic high level):Using of the power saving modes is not possible. The
PE
/SWD = VIL (logic low level):All power saving moes can be activated by software. The
PE
When left unconnected, pin PE
provide system protection on default.
/SWD of the SAB 80C515A allows to block the Software controlled power
controls this mode. Port pins and several control lines enter a
/SWD (which enables only the software initiated power
watchdog timer starts immediately after reset. The
instruction sequences used for entering of power saving
modes will not affect the normal operation of the device.
watchdog timer can be started by software at any time.
/SWD is pulled high by a weak internall pull-up. This is done to
The logic-level applied to pin PE/SWD can be changed during program execution to allow or to
block the use of the power saving modes without any effect on the on-chip watchdog circuitry.
Semiconductor Group34
Page 36
Requirements for Hardware Power Down Mode
SAB 80C515A/83C515A-5
There is no dedicated pin to enable the Hardware Power Down Mode. The control pin PE
/SWD
has no control function in this mode. It enables and disables only the use of software controlled
power saving modes.
Software Controlled Power Saving Modes
All of these modes are entered by software. Special function register PCON (power control
register, address is 87
) is used to select one of these modes.
H
Slow Down Mode
During slow down operation all signal frequencies that are derived from the oscillator clock, are
divided by eight, also the clockout signal and and the watchdog timer count.
The slow down mode is enabled by setting bit SD. The controller actually enters the slow down
mode after a short synchronisation period (max. 2 machine cycles).
The slow down mode is disabled by clearing bit SD.
Idle Mode
During idle mode all peripherals of the SAB 80C515A (except for the watchdog timer) are still
supplied by the oscillator clock. Thus the user has to take care which peripheral should
continue to run and which has to be stopped during Idle.
The procedure to enter the Idle mode is similar to the one entering the power down mode. The
two bits IDLE and IDLS must be set by two consecutive instructions to minimize the chance of
unintentional activating of the idle mode.
There are two ways to terminate the idle mode:
– The idle mode can be terminated by activating any enabled interrupt. This interrupt will be
serviced and the instruction to be executed following the RETI instruction will be the one
following the instruction that set the bit IDLS.
– The other way to terminate the idle mode, is a hardware reset. Since the oscillator is still
running, the hardware reset must be held active only for two machine cycles for a complete
reset.
Normally the port pins hold the logical state they had at the time idle mode was activated. If
some pins are programmed to serve their alternate functions they still continue to output during
idle mode if the assigned function is on. The control signals ALE and PSEN
hold at logic high
levels (see table 5).
Semiconductor Group35
Page 37
SAB 80C515A/83C515A-5
Software Power Down Mode
The power down mode is entered by two consecutive instructions directly following each other.
The first instruction has to set the flag PDE (power down enable) and must not set PDS (power
down set). The following instruction has to set the start bit PDS. Bits PDE and PDS will
automatically be cleared after having been set.
The instruction that sets bit PDS is the last instruction executed before going into power down
mode. The only exit from power down mode is a hardware reset.
The status of all output lines of the controller can be looked up in table 5.
Hardware Controlled Power Down Mode
The pin HWPD
normal operating modes. If pin HWPD
Power Down Mode; this is independent of the state of pin PE
HWPD
is sampled once per machine cycle. If it is found active, the device starts a complete
controls this mode. If it is on logic high level (inactive) the part is running in the
gets active (low level) the part enters the Hardware
/SWD.
internal reset sequence. The watchdog timer is stopped and its status flag WDTS is cleared
exactly the same effects as a hardware reset. In this phase the power consumption is not yet
reduced. After completion of the internal reset both oscillators of the chip are disabled. At the
same time the port pins and several control lines enter a floating state as shown in table 5. In
this state the power consumption is reduced to the power down current IPD. Also the supply
voltage can be reduced. Table 5 also lists the voltages which may be applied at the pins during
Hardware Power Down Mode without affecting the low power consumption.
Termination of HWPD Mode:
This power down state is maintained while pin HWPD
is held active. If HWPD goes to high level
(inactive state) an automatic start up procedure is performed:
– First the pins leave their floating condition and enter their default reset state (as they had
immediately before going to float state).
– Both oscillators are enabled. The oscillator watchdog’s RC oscillator starts up very fast (typ.
less than 2 ms).
– Because the oscillator watchdog is active it detects a failure condition if the on-chip oscillator
hasn’t yet started. Hence, the watchdog keeps the part in reset and supplies the internal
clock from the RC oscillator.
– Finally, when the on-chip oscillator has started, the oscillator watchdog releases the part
from reset with oscillator watchdog status flag set.
When automatic start of the watchdog was enabled (PE
/SWD connected to V
CC
), the
Watchdog Timer will start, too (with its default reload value for time-out period).
– The Reset
pin overrides the Hardware Power Down function, i.e. if reset gets active during
Hardware Power Down it is terminated and the device performs the normal
resetfunction.(Thus, pin Reset
function.(Thus, pin Reset
has to be inactive during Hardware Power Down Mode).
has to be inactive during Hardware Power Down Mode).
Semiconductor Group36
Page 38
SAB 80C515A/83C515A-5
Table 5
Status of all pins during Idle Mode, Power Down Mode and Hardware Power
Down Mode
Serial data enters and exits through R × D. T × D outputs the shift clock 8 data bits
are transmitted/received (LSB first). The baud rate is fixed at 1/12 of the oscillator frequency.
Mode 1: 8-bit UART, variable baud rate:
10-bit are transmitted (through T × D) or received (through R × D): a start bit (0), 8
data bits (LSB first), and a stop bit (1). On reception, the stop bit goes into RB80 in
special function register SCON. The baud rate is variable.
Mode 2: 9-bit UART, fixed baud rate:
11-bit are transmitted (through T × D) or received (through R × D): a start bit (0), 8
data bits (LSB first), a programmable 9th, and a stop bit (1). On transmission, the 9th
data bit (TB80 in SCON) can be assigned to the value of 0 or 1. For example, the parity bit (P in the PSW) could be moved into TB80 or a second stop bit by setting TB80
to 1. On reception the 9th data bit goes into RB80 in special function register SCON,
while the stop bit is ignored. The baud rate is programmable to either 1/32 or 1/64 of
the oscillator frequency.
SAB 80C515A/83C515A-5
Mode 3: 9-bit UART, variable baud rate:
11-bit are transmitted (through T × D) or received (through R × D): a start bit (0), 8
data bits (LSB first), a programmable 9th, and a stop bit (1). In fact, mode 3 is the
same as mode 2 in all respects except the baud rate. The baud rate in mode 3 is variable.
Variable Baud Rates for Serial Interface
Variable baud rates for modes 1 and 3 of serial interface can be derived from either timer 1 or
a new dedicated Baudrate Generator.
The baud rate is generated by a free running 10-bit timer with programmable reload register.
SMOD
Mode 1.3 baud rate =
2
* f
OSC
64 * (210 - SREL)
The default value after reset in the reload registers SRELL and SRELH provides a baud rate of
4.8 kBaud (SMOD = 0) or 9.6 kBaud (SMOD = 1) at 12 MHz oscillator frequency. This guarantees full compatibility to the SAB 80C515.
Semiconductor Group39
Page 41
SAB 80C515A/83C515A-5
Fail Safe Units
The SAB 80C515A offers enhanced fail safe mechanisms, which allow an automatic recovery
from software upset or hardware failure:
– a programmable watchdog timer (WDT), with variable time-out period from 512 µs up to
appr. 1.1 s @12 MHz. Upward compatible to SAB 80C515 watchdog timer.
– an oscillator watchdog (OWD) which monitors the on-chip oscillator and forces the
microcontroller into reset state, in case the on-chip oscillator fails; it also controls the restart
from the Hardware Power Down Mode and provides the clock for a fast internal reset after
power-on.
Programmable Watchdog Timer
The WDT can be activated by hardware or software.
Hardware initialization is done when pin PE
SAB 80C515A then starts program execution with the WDT running. Since pin PE
sampled during Reset, the WDT cannot be started externally during normal operation.
Software initialization is done by setting bit SWDT in SFR IEN1.
A refresh of the watchdog timer is done by setting bits WDT (SFR IEN0) and SWDT
consecutively. This double instruction sequence has been implemented to increase system
security.
When a watchdog timer reset occurs, the watchdog timer keeps on running, but a status flag
WDTS (SFR IP0) is set. This flag can also be cleared by software.
Figure 7 shows the block diagram of the programmable Watchdog Timer.
Oscillator Watchdog
The unit serves three functions:
– Monitoring of the on-chip oscillator’s function.
The watchdog monitors the on-chip oscillator’s frequency; if it is lower than the frequency of
the auxiliary RC oscillator in the watchdog unit, the internal clock is supplied by the RC
oscillator and the device is forced into reset; if the failure condition disappears (i.e. the onchip oscillator has again a higher frequency than the RC oscillator), the part executes a final
reset phase of appr. 0.25 ms in order to allow the oscillator to stabilize; then the oscillator
watchdog reset is released and the part starts program execution again.
/SWD (Pin 4) is held high during RESET. The
/SWD is only
– Restart from the Hardware Power Down Mode.
If the Hardware Power Down Mode is terminated the oscillator watchdog has to control the
correct start-up of the on-chip oscillator and to restart the program. The oscillator watchdog
function is only part of the complete Hardware Power Down sequence; however, the
watchdog works identically to the monitoring function.
– Fast internal reset after power-on.
In this function the oscillator watchdog unit provides a clock supply for the reset before the
on-chip oscillator has started. In this case the oscillator watchdog unit also works identically
to the monitoring function.
Semiconductor Group40
Page 42
SAB 80C515A/83C515A-5
Figure 8 shows the block diagram of the oscillator watchdog unit. It consists of an internal RC
oscillator which provides the reference frequency for the frequency comparator.
Figure 7
Block Diagram of the Programmable Watchdog Timer
Figure 8
Functional Block Diagram of the Oscillator Watchdog
Semiconductor Group41
Page 43
SAB 80C515A/83C515A-5
Fast internal reset after power-on
The SAB 80C515A can use the oscillator watchdog unit for a fast internal reset procedure after
power-on.
Normally members of the 8051 family (like the SAB 80C515) enter their default reset state not
before the on-chip oscillator starts. The reason is that the external reset signal must be
internally synchronized and processed in order to bring the device into the correct reset state.
Especially if a crystal is used the start up time of the oscillator is relatively long (typ. 1 ms).
During this time period the pins have an undefined state which could have severe effects e.g.
to actuators connected to port pins.
In the SAB 80C515A the oscillator watchdog unit avoids this situation. After power-on the
oscillator watchdog’s RC oscillator starts working within a very short start-up time (typ. less than
2 ms). In the following the watchdog circuitry detects a failure condition for the on-chip oscillator
because this has not yet started (a failure is always recognized if the watchdog’s RC oscillator
runs faster than the on-chip oscillator). As long as this condition is valid the watchdog uses the
RC oscillator output as clock source for the chip rather than the on-chip oscillator’s output. This
allows correct resetting of the part and brings also all ports to the defined state.
Delay time between power-on and correct reset state:
Typ.: 18
Max.: 34
µs
µs
Instruction Set
The SAB 80C515A / 83C515A-5 has the same instruction set as the industry standard 8051
microcontroller.
A pocket guide is available which contains the complete instruction set in functional and
hexadecimal order. Furtheron it provides helpful information about Special Function Registers,
Interrupt Vectors and Assembler Directives.
Literature Information
TitleOrdering No.
Microcontroller Family SAB 8051 Pocket GuideB158-H6497-X-X-7600
Semiconductor Group42
Page 44
SAB 80C515A/83C515A-5
Absolute Maximum Ratings
Ambient temperature under bias– 40 to 85 ˚C
Storage temperature– 65 to 150 ˚C
Voltage on V
pins with respect to ground (V
CC
Voltage on any pin with respect to ground (V
Input current on any pin during overload condition– 10mA to + 10 mA
Absolute sum of all input currents during overload condition|100 mA|
Power dissipation1 W
NoteStresses above those listed under "Absolute Maximum Ratings" may cause permanent
damage of 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 longer
periods may affect device reliability. During overload conditions (V
theVoltage on V
pins with respect to ground (VSS) must not exeed the values defind-
CC
ed by the absolute maximum ratings.
)– 0.5 V to 6.5 V
SS
) – 0.5 to V
SS
>
V
CC
or
IN
V
CC
IN
+ 0.5 V
<
V
SS
)
DC Characteristics
= 5 V + 10 %, – 15 %;VSS = 0 V
V
CC
T
= 0 to 70 ˚C for the SAB 80C515A
A
T
= – 40 to 85 ˚C for the SAB 80C515A-T3
A
ParameterSymbolLimit V aluesUnitTest condition
min.max.
Input low voltage
(exept EA
,RESET, HWPD)
Input low voltage EA
V
IL
– 0.50.2 V
CC
– 0.1
V
I L1
– 0.50.2 V
CC
V–
V–
– 0.3
Input low voltage
(HWPD, RESET)
Input high voltage (exept
RESET, XTAL2 and HWPD)
Input high voltage to XTAL2 V
V
I L2
– 0.50.2 V
CC
V–
+ 0.1
V
IH
0.2 V
CC
V
+ 0.5V–
CC
+ 0.9
IH1
0.7 V
CC
V
+ 0.5V–
CC
Input high voltage to RESET
V
IH2
0.6 V
and HWPD
Semiconductor Group43
CC
V
+ 0.5V–
CC
Page 45
SAB 80C515A/83C515A-5
DC Characteristics (cont’d)
ParameterSymbolLimit V aluesUnitTest condition
min.max.
Output low voltage
(ports 1, 2, 3, 4, 5)
Output low voltage
(ports 0, ALE, RESET
)
Output high voltage,
(ports1, 2, 3, 4, 5)
Output high voltage
(port 0 in external bus mode,ALE, PSEN
for reset
Input low current (XTAL2)I
Input low current (PE
/SWD)I
Pin capacitanceC
Power-supply current:
Active mode, 12 MHz
Active mode, 18 MHz
Idle mode, 12 MHz
Idle mode, 18 MHz
7)
7)
7)
7)
Slow down mode, 12 MHz
Slow down mode, 18 MHz
Power Down Mode
Notes see page 43.
– I
– I
– I
– I
– I
– I
– I
IL2
I L3
I L4
I O
CC
CC
CC
CC
CC
CC
PD
– 10– 100µAV
– – 15µAV
– – 20µAV
– 10pFf
–
–
–
–
–
–
–
26
35
11.8
14.2
9
10
50
mA
mA
mA
mA
mA
mA
µA
= 0.45 V
IN
= 0.45 V
IN
= 0.45 V
IN
= 1 MHz,
C
T
= 25 ˚C
A
V
V
V
V
V
V
CC
CC
CC
CC
CC
CC
= 5 V
= 5 V
= 5 V
= 5 V
= 5 V
= 5 V
4)
4)
5)
5)
6)
6)
VCC = 2 ... 5.5 V
3)
Semiconductor Group44
Page 46
SAB 80C515A/83C515A-5
Notes for page 44:
1) Capacitive loading on ports 0 and 2 may cause spurious noise pulses to be superimposed
on the V
discharging into the port 0 and port 2 pins when these pins make 1-to-0 transitions during
bus operation. In the worst case (capacitive loading > 100 pF), the noise pulse on ALE line
may exceed 0.8 V. In such cases it may be desirable to qualify ALE with a schmitt-trigger,
or use an address latch with a schmitt-trigger strobe input.
of ALE and ports 1, 3, 4 and 5. The noise is due to external bus capacitance
OL
2) Capacitive loading on ports 0 and 2 may cause the V
3) I
below the0.9 V
fall
(Software Power Down Mode) is measured under following conditions:
would be slightly higher if a crystal oscillator is used (ap-
CC
= VSS + 0.5 V, V
IL
pr. 1 mA).
5) I
(Idle mode) is measured with all output pins disconnected and with all peripherals dis-
CC
abled; XTAL2 driven with t
= N.C.; RESET
= VCC; HWPD = VCC; Port0 = Port6 = VCC; EA = PE/SWD = V
CLCH
, t
CHCL
= 5 ns, V
= VSS + 0.5 V, VIH = V
IL
pins are disconnected;
6) I
(slow down mode) is measured with all output pins disconnected and with all peripherals
CC
disabled;
XTAL2 driven with t
N.C.; RESET
= VCC; HWPD = VCC; Port6 = VCC; EA = PE/SWD = VSS; all other pins are
CLCH
, t
= 5 ns, VIL = V SS + 0.5 V, VIH = VCC – 0.5 V; XTAL1 =
CHCL
disconnected;
on ALE and PSEN to momentarily
OH
= VCC; all other pins are
IH
= V
– 0.5 V; XTAL1 = N.C.;
CC
– 0.5 V; XTAL1
CC
SS;
all other
I
7)
Max at other frequencies is given by:
CC
I
active mode:
f
OSC
I
CC
idle mode:
where
measured at
(max) = 1.5
CC
(max)= 0.4
is the oscillator frequency in MHz.
V
= 5 V.
CC
*
*
f
OSC
f
OSC
+ 8
+ 7
Semiconductor Group45
I
values are given in mA and
CC
Page 47
A/D Converter Characteristics
SAB 80C515A/83C515A-5
= 5 V + 10 %, – 15 %;V
V
CC
V
AREF
= V
± 5 %; V
CC
AGND
= 0 V
SS
= VSS ± 0.2 V;
= 0 to 70 ˚C for the SAB 80C515A/83C515A-5
T
A
= – 40 to 85 ˚C for the SAB 80C515A-T3/83C515A-5-T3
T
A
ParameterSymbolLimit valuesUnitTest condition
min.typ.max.
Analog input capacitanceC
Sample time
T
I
S
2570pF
1)
4 t
CY
µs
2)
(inc. load time)
Conversion time
T
C
14 t
CY
1)
µs
3)
(inc. sample time)
Total unadjusted errorTUE± 2LSBV
V
supply currentI
AREF
REF
± 20µA
V
AREF
AGND
= V
= V
CC
SS
1)
tCY = (8*2
2)
This parameter specifies the time during the input capacitance CI, can be charged/discharged by the
external source. It must be guaranteed, that the input capacitance CI,, is fully loaded within this time.
4TCY is 2 µs at the f
voltage have no effect on the conversion result.
3)
This parameter includes the sample time TS. 14TCY is 7 µs at f
ADCL
)
/f
OSC
; (tCY = 1/f
= 16 MHz. After the end of the sample time TS, changes of the analog input
OSC
ADC
; f
ADC
= f
OSC
/(8*2
ADCL
))
= 16 MHz.
OSC
Semiconductor Group46
Page 48
AC Characteristics
SAB 80C515A/83C515A-5
= 5 V + 10 %, – 15 %;V
V
CC
for port 0, ALE and PSEN outputs = 100 pF; C
(C
L
= 0 V
SS
= 0 to 70 ˚C for the SAB 80C515A/83C515A-5
T
A
= – 40 to 85 ˚C for the SAB 80C515A-T3/83C515A-5-T3
T
A
for all other outputs = 80 pF)
L
ParameterSymbolLimit valuesUnit
18 MHz clockVariable clock
1/t
= 3.5 MHz to 18 MHz
CLCL
min.max.min.max.
Program Memory Characteristics
ALE pulse widtht
Address setup to ALEt
Address hold after ALEt
ALE to valid
LHLL
AVLL
LLAX
t
LLIV
71– 2 t
26– t
26– t
C LCL
C LCL
–122–4 t
– 40– ns
C LCL
– 30– ns
– 30– ns
– 100 ns
C LCL
instruction in
ALE to PSENt
PSEN
PSEN
pulse widtht
to valid
LLPL
PLPH
t
PLIV
31–t
132
–
3 t
– 25–ns
C LCL
– 35
C LCL
–92–3 t
instruction in
Input instruction hold
t
PXIX
0–0
after PSEN
Input instruction float
t
PXIZ
*)
–46
–
after PSEN
Address valid after
t
PXAV
*)
48–t
C LCL
– 8
PSEN
Address to valid
t
AVIV
–218
–
instruction in
Address float to PSENt
*)
Interfacing the SAB 80C515A to devices with float times up to 45 ns is permissible.
This limited bus contention will not cause any damage to port 0 drivers.
A ZPL
0–0
–
C LCL
–
t
– 10ns
C LCL
–
5 t
C LCL
–
ns
– 75ns
ns
ns
– 60ns
ns
Semiconductor Group47
Page 49
SAB 80C515A/83C515A-5
AC Characteristics (cont’d)
ParameterSymbolLimit valuesUnit
18 MHz clockVariable clock
1/t
minmax.min.max.
External Data Memory Characteristics
= 3.5 MHz to 18 MHz
CLCL
pulse widtht
RD
pulse widtht
WR
Address hold after
ALE
RD to valid data int
DATA hold after RD
Data float after RD
ALE to valid data int
Address to valid
data in
ALE to WR or RDt
or RD high to
WR
ALE high
Address valid to WRt
RLRH
WLWH
t
LLAX2
RLDV
t
RHDX
t
RHDZ
LLDV
t
AVDV
LLWL
t
WHLH
AVWL
233– 6 t
233– 6 t
81– 2 t
– 128
CLCL
CLCL
CLCL
–
– 30
0– 0
– 51
– 294
– 335
1172173 t
1696t
92– 4
–
–
–
CLCL
– 40t
CLCL
t
CLCL
– 130– ns
– 100
– 100
–
–
–
5 t
–
2 t
8 t
9 t
– 503 t
CLCL
– 150ns
CLCL
– 60ns
CLCL
– 150ns
CLCL
– 165ns
CLCL
+ 50ns
CLCL
+ 40 ns
ns
ns
ns
ns
Data valid to WR
t
QVWX
11– t
transition
Data setup before WRt
Data hold after WR
Address float after RD
QVWH
t
WHQX
t
RLAZ
239– 7 t
16– t
– 0
Semiconductor Group48
– 45– ns
CLCL
– 150– ns
CLCL
– 40– ns
CLCL
–
0ns
Page 50
SAB 80C515A/83C515A-5
Program Memory Read Cycle
Data Memory Read Cycle
Semiconductor Group49
Page 51
SAB 80C515A/83C515A-5
Data Memory Write Cycle
Semiconductor Group50
Page 52
SAB 80C515A/83C515A-5
AC Characteristics (cont'd)
ParameterSymbolLimit valuesUnit
Variable clock
Frequ. = 3.5 MHz to 18 MHz
min.max.
External Clock Drive
Oscillator periodt
High timet
Low timet
Rise timet
Fall timet
CLCL
CHCX
CLCX
CLCH
CHCL
Oscillator frequency1/t
CLC
55.6285ns
20t
20t
–
–
CLCL-tCLCX
CLCL-tCHCX
20ns
20ns
ns
ns
3.5 18MHz
External Clock Cycle
Semiconductor Group51
Page 53
SAB 80C515A/83C515A-5
AC Characteristics (cont’d)
ParameterSymbolLimit valuesUnit
System Clock Timing
ALE to CLKOUTt
CLKOUT high timet
CLKOUT low timet
CLKOUT low to ALE
high
LLSH
SHSL
SLSH
t
SLLH
18 MHz clock
1/t
Variable clock
= 3.5 MHz to 18 MHz
CLCL
min.max.min.max.
349–7 t
71–2 t
516–10 t
1696t
CLCL
– 40–ns
CLCL
– 40–ns
CLCL
– 40–ns
CLCL
– 40t
+ 40ns
CLCL
System Clock Timing
Semiconductor Group52
Page 54
SAB 80C515A/83C515A-5
ROM Verification Characteristics
= 25 ˚C ± 5 ˚C; VCC = 5 V + 10 %, – 15 %; VSS = 0 V
T
A
ParameterSymbolLimit valuesUnit
min.
max.
ROM Verification Mode 1 (Standard Verify Mode for not Read Protected ROM)
Address to valid datat
ENABLE to valid datat
Data float after ENABLEt
AVQV
ELQV
EHOZ
Oscillator frequency1/t
CLCL
–
–
048 t
48 t
48 t
CLCL
CLCL
CLCL
46MHz
ns
ns
ns
ROM Verification Mode 1
Semiconductor Group53
Page 55
SAB 80C515A/83C515A-5
ROM Verification Mode 2 (New Verify Mode for Protected and not Protected ROM)
ROM Verification Mode 2
Semiconductor Group54
Page 56
SAB 80C515A/83C515A-5
Application Example for Verifying the Internal ROM with ROM Verify Mode 2
Semiconductor Group55
Page 57
SAB 80C515A/83C515A-5
AC Inputs during testing are driven at VCC − 0.5 V for a logic ’1’ and 0.45 V for a logic ’0’. Timing measurements are made at V
AC Testing: Input, Output Waveforms
for a logic ’1’ and V
IHmin
for a logic ’0’.
ILmax
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
OH/VOL
level occurs. IOL/I
≥± 20 mA.
OH
AC Testing: Float Waveforms
Recommended Oscillator Circuits
Semiconductor Group56
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.