HT83C51 High Temperature 83C51 Microcontroller: Features
HT83C51 High Temperature 83C51 Microcontroller: Features
• 8-bit CPU Optimized For 5 Volt Control Applications • 64K External Data Memory Address Space
• Four 8-bit Bidirectional Parallel Ports • 256 Bytes Internal Data Memory
GENERAL DESCRIPTION
The HT83C51 is a monolithic 8-bit microcontroller that is and a hierarchical interrupt structure. Software selectable
pin equivalent to the Intel 8XC51FC microcontroller. Fab- idle is included for reduced power. The HT83C51 varies
ricated with Honeywell’s dielectrically isolated high-tem- from the standard 83C51FC, in that it supports half-duplex
perature (HTMOS™) process, it is designed specifically for serial communication, and has 8K Bytes of Mask program-
severe high-temperature applications such as down-hole mable ROM. The device is available in a standard pinout
oil well, aerospace, turbine engine and industrial control. DIP, with optional packages considered.
The HT83C51 uses the standard MCS-51 instruction set These microcontrollers provide guaranteed performance
which is optimized for control applications. Pin-for-pin supporting operating frequencies in excess of 16 MHz
equivalent to the MCS-51 series product, it is compatible over the full -55 to +225°C temperature range. Typically,
with all known development environments. Key features parts will operate up to +300°C for a year, with derated
include the programmable counter array, watch dog timer, performance. All parts are burned in at 250°C to eliminate
enhanced serial port for multi-processor communication infant mortality.
Solid State Electronics Center • 12001 State Highway 55, Plymouth, MN 55441 • (800) 323-8295 • http://www.ssec.honeywell.com
HT83C51
FUNCTIONAL BLOCK DIAGRAM
Port O Port 2
Drivers Drivers
RAM Addr.
Register
Port O Port 2 Program
RAM
Latch Latch ROM
Program
Address
Register
BB ACC Stack
Register
Register Pointer
Buffer
TMP2 TMP1
Special Function PC
ALU Registers, Incrementer
Timers,
PCA, Program
PSW TMP3 Serial Port Counter
Instruction
DPTR
sequencer
PSENn
Register
Micro-
ALE
EAn
Port 1 Port 3
RST Latch
Latch
Osc.
Port 1 Port 3
Drivers Drivers
XTAL1 XTAL2
2
HT83C51
PIN DESCRIPTIONS
VDD: +5V Supply Voltage loads. When the Port 3 pins have 1’s written to them, they
are pulled high by the internal pullups and can be used as
VSS: Circuit Ground inputs in this state. As inputs, any pins that are externally
pulled low will source current because of the pullups. In
Port 0 (P0.0 - P0.7): Port 0 is an 8-bit bidirectional I/O port. addition, Port 3 pins have the alternate uses shown in the
If external Program and/or Data memory are used, port 0 table below:
cannot be used for general purpose I/O. During accesses
to external Program and Data memory Port 0 is used as the Port Pin Alternate Name Alternate Function
low-order multiplexed address and data bus. In this mode,
Port 0 pins use strong internal pullups when emitting 1’s, P3.0 RXD Serial port input
and are TTL compatible. If external Program and Data P3.1 TXD Serial port output
memory are not used, Port 0 pins can be used as general P3.2 INT0n External interrupt 0
purpose I/O. When the Port pins have 1’s written to them
P3.3 INT1n External interrupt 1
in I/O mode, the pins are floating and can be driven as
inputs. An external pullup is required to generate logic high P3.4 T0 External clock input for Timer 0
output in I/O mode. P3.5 T1 External clock input for Timer 1
P3.6 WRn External Data Memory write strobe
Port 1 (P1.0 - P1.7): Port 1 is an 8-bit bidirectional I/O port
with internal pullups. The output buffers can drive TTL P3.7 RDn External Data Memory read strobe
loads. When the Port 1 pins have 1’s written to them, they
are pulled high by the internal pullups and can be used as RST: Reset input. A high on this input for 2 or more
inputs in this state. As inputs, any pins that are externally oscillator periods while the oscillator is running resets the
pulled low will source current because of the pullups. In device. All ports and Special Function Registers will be
addition, Port 1 pins have the alternate uses shown in the reset to their default conditions. Internal data memory is
table below: undefined after reset. Program execution will begin within
12 oscillator periods (one machine cycle) after the RST
Port
Alternate Function
signal is brought low. RST contains an internal pulldown
Pin Name resistor to allow implementing power-up reset with only an
P1.0 T2 External clock input to timer/ Clock out external capacitor.
Timer/Counter 2 Capture/Reload trigger and
P1.1 T2EX ALE: Address Latch Enable. The ALE output is a pulse for
direction control
3
HT83C51
OSCILLATOR CHARACTERISTICS
The input is XTAL1 and the output is XTAL2 for an inverting The other way that Idle mode can be terminated is through
amplifier which can be used as an on-chip oscillator as a hardware reset, which can be accomplished by holding
shown in Figure 1. Make sure to qualify the crystal or the RST pin high for 4 clock periods while the clock is
alternate timing source over the temperature range of the running. Exiting Idle mode with a hardware reset will retain
intended application. If an external clock source such as the contents of the on-chip RAM but the values in the SFRs
the HTOSC is used, XTAL1 should be driven while XTAL2 will be lost and program execution will begin at address 0.
floats as shown in Figure 2. There are no duty cycle
requirements on the external clock signal, but minimum
and maximum high and low times must be observed. MEMORY
C2 The HT51 has a separate address space for Program and
XTAL 2 Data Memory. Internally the HT51 contains 8 Kbytes of
Program Memory and 256 bytes of Data Memory. It can
C1 address up to 64 Kbytes of external Data Memory and 64
XTAL 1 Kbytes of external Program Memory.
Vss
There are 8 Kbytes of internal program memory in the
HT51. The EAn pin must be tied to Vdd (power) to enable
For C1 and C2 values,
contact crystal manufacturer
access to internal program memory locations. When the
EAn pin is tied to Vdd, program fetches to addresses
Figure 1. Oscillator Connections 0000H to 1FFFH will be made to internal program ROM.
Program fetches to addresses 2000H through FFFFH are
to external memory. The EAn pin must be tied to Vss
(ground) to enable access to external program memory
locations 0000H through 1FFFH.
N/C XTAL 2
The HT51 implements 256 bytes of internal data RAM. The
External upper 128 bytes of this RAM occupy a parallel address
Oscillator XTAL 1 space to the Special Function Registers (SFRs). The CPU
Signal
Vss determines if the internal access to an address above 7FH
is to the upper 128 bytes of RAM or to the SFR space by the
addressing mode of the instruction. If direct addressing is
used, the access is to the SFR space. If indirect addressing
Figure 2. External Clock Drive Configuration is used, the access is to the internal RAM. Stack operations
are indirectly addressed so the upper portion of RAM can
be used as stack space.
IDLE MODE
4
HT83C51
PCA COUNTER /TIMER
The Programmable Counter Array (PCA) contains a single will be made immediately after the RST line is brought low,
16-bit counter/timer made up of the CL and CH registers. but the data is not brought into the processor. The memory
This timer is used by all 5 capture/compare modules. Its access will be repeated on the next machine cycle and
clock input can be programmed to be from one of four actual processing will begin at that time.
sources. These are the oscillator frequency divided by 12,
the oscillator frequency divided by 4, Timer 0 overflow, and INSTRUCTION SET
an external clock input, ECI, on the alternate function of
port pin P1.2. The instruction set for the HT51 is compatible to the Intel
MCS-51 instruction set used on the 8XC51FC.
SERIAL PORT
AC CHARACTERISTICS
The serial port has physically separate receive and transmit
buffers, automatic address recognition and four modes of The AC characteristics for the HT51 are shown in the
operation as shown below. following tables. Each of the timing symbols has 5 charac-
ters. The first character is always a ‘T’ (Time). The other
Mode Description Baud Rate characters, depending on their positions, stand for the
0 8-bit shift register 1/12 times oscillator freq. logical name of a signal or the logical status of that signal.
1 8-bit UART variable The following is a list of the characters and what they stand for:
2 9-bit UART 1/64 or 1/32 times oscillator freq.
3 9-bit UART variable A: Address Q: OutputData
C: Clock R: RDn signal
D: Data T: Time
INTERRUPTS H: Logic level HIGH V: Valid
There are seven interrupt sources in the HT51. Two are I: Instruction W: WRn signal
external interrupts (INT0n, INT1n), three are timer interrupts (program memory contents) X: No longer a
(Timer 0, Timer 1, and Timer2), one is a PCA interrupt, and L: Logic level LOW, or ALE valid logic
one is a serial port interrupt as shown below. level
P: PSENn Z: Float
PCA interrupt enable
Timer 2 interrupt enable For example, TAVLL = Time from address valid to ALE
Serial port interrupt enable low. The characteristics given are over the operating
conditions TA = -55°C to +225°C, VDD = 5V ± 10 %, VSS = 0V.
Timer 1 interrupt enable The load capacitance on Port 0, ALE and PSENn = 100
External interrupt 1 enable pF. Load capacitance for all other outputs = 50 pF. Inputs
during AC testing are to be driven at VDD - 0.5V for logic 1
Timer 0 interrupt enable
and 0.45 V for logic 0. Timing measurements are to be
External interrupt 0 enable made at VIH min for logic 1 and VIL max for logic 0. For
timing purposes, a port pin is no longer floating when a 100
RESET mV change from load voltage occurs, and begins to float
when a 100 mV change from the loaded VOL/VOH level
The reset input is the RST pin. A reset is accomplished by
occurs. Timing diagrams are shown to illustrate the signal
holding the RST pin high for a minimum of 4 clock periods
relationships depicted in the tables.
while the clock is running. The CPU generates an internal
reset from the external signal. The port pins are driven to
the reset state 2 oscillator periods after a valid 1 is detected
on the RST pin.
5
HT83C51
DC CHARACTERISTICS
(1) Under steady state (non-transient conditions, IOL must be limited externally as follows:
maximum IOL per port pin 10mA
maximum IOL per 8-bit port
– port 0 26 mA
– port 1,2,3 15 mA
maximum total IOL for all output pins 71 mA
(2) If IOL exceeds the test conditions, VOL may exceed the related specifications.
(3) Pins are not guaranteed to sink current greater than the listed test conditions.
6
HT83C51
EXTERNAL PROGRAM AND DATA MEMORY CHARATERISTICS
Symbol Parameter Min Max Unit
TCLCL Clock Period 62.5 ns
1/TCLCL Oscillator Frequency 16 MHz
7
HT83C51
EXTERNAL PROGRAM MEMORY READ CYCLE
TLHLL
ALE
TLLPL TPLPH
TAVLL TLLIV
TPLIV
PSENn
TPLAZ TPXIZ
TPXIX
TLLAX
PORT 0 A0 - A7 INSTR IN A0 - A7
TAVIV
TWHLH
PSENn
TLLDV
TLLWL TRLRH
RDn
TRLDV
TAVLL TRHDX
TLLAX TRLAZ
TRHDZ
PORT 0 A0 - A7 from RI or DPL DATA IN A0 - A7 from PCL INSTR. IN
TAVWL
TAVDV
ALE
TLHLL
TWHLH
PSENn
TLLWL TWLWH
WRn
TAVLL
TQVWX TWHQX
TLLAX
TQVWH
TAVWL
8
HT83C51
SERIAL PORT TIMING CHARACTERISTICS—SHIFT REGISTER MODE (MODE 0)
16 MHz Oscillator Variable Oscillator
Symbol Parameter Unit
Min Max Min Max
TXLXL Serial Port Clock Period 750 12 TCLCL ns
TQVXH Output Data Setup to Clock Rising Edge 492 10 TCLCL-133 ns
TXHQX Output Data Hold after Clock Rising Edge 8 2 TCLCL-117 ns
TXHDX Input Data Hold after Clock Rising Edge 0 0 ns
TXHDV Clock Rising Edge to Input Data Valid 492 10 TCLCL-133 ns
0 1 2 3 4 5 6 7 8
ALE
TXLXL
CLOCK
TXHQX
TQVXH
OUTPUT 0 1 2 3 4 5 6 7
DATA
(WRITE TO SBUF) TXHDX
TXHDV SET TI
INPUT
VALID VALID VALID VALID VALID VALID VALID VALID
DATA
(CLEAR RI)
SET RI
9
HT83C51
PERFORMANCE CURVES OVER TEMPERATURE
40 5.0
4.8
4.6
30
4.4
4.2
6µA
20 4.0
3.8
7mA
3.6
10
3.4
3.2
0 3.0
-100 0 100 200 300 -100 0 100 200 300
Temperature (C)
Temperature (°C)
70
-55°C
60
25°C
125°C
Operating Current (mA)
50
225°C
40
30
20
10
0 5 10 15 20 25
Frequency (MHz)
10
HT83C51
PROGRAMMING THE MASK ROM
There are a few areas in which the HT51 differs from the 7. Serial Communications
8XC51FC. These differences will be covered in this
appendix. In this discussion, 8XC51FC will be used There is a chance the part will miss hardware interrupts
generically to refer to all speed grades of the Intel 8XC51FC when performing full-duplex (simultaneous send and
family, including the 16MHz 8XC51FC-1. receive) communication or when using the capture or
compare modes in the Programmable Counter Array (PCA).
1. Reset
The 8XC51FC requires the RST input to be held high for at As a result, the HT83C51 supports half-duplex operation.
least 24 oscillator periods to guarantee the reset is completed Full duplex operation is not supported without additional
in the chip. Also, the port pins are reset asynchronously as external hardware. Several acceptable work-around pro-
soon as the RST pin is pulled high. On the HT51, all portions cedures have been identified for the problem associated
of the chip are reset synchronously when the RST pin has with the PCA.
been high during 2 rising edges of the input clock.
The On Circuit Emulation mode of operation in the 8XC51FC (RXD) P3.0 10 31 EAn
HT51
has not been implemented in the HT51. (TXD) P3.1 11 30 ALE
11
HT83C51
40-LEAD PACKAGE DETAIL
C
D
All dimensions in inches
A 0.175 (max)
Right b 0.018 ± 0.002
Reading E eA
b2 0.050 typ
on Lid C 0.010 ± 0.002
D 2.000 ±0.020
E 0.594 ± 0.010
Ceramic 1 e 0.100 ±0.005
Body Kovar eA 0.600 ± 0.010
Lid [3] S2
L 0.125 to 0.175
Q 0.050 ± 0.010
A Q S1 0.005 (min)
S2 0.005 (min)
L
S1
b2
b e
(width) (pitch)
THERMAL CHARACTERISTICS
Assumes static air convection
ORDERING INFORMATION
HT83C51DC
Honeywell reserves the right to make changes to any products or technology herein to improve reliability, function or design. Honeywell does not assume any liability
arising out of the application or use of any product or circuit described herein; neither does it convey any license under its patent rights nor the rights of others.
900141 Rev. B
Helping You Control Your World
4-98