hpc36164 National Semiconductor Corporation, hpc36164 Datasheet

no-image

hpc36164

Manufacturer Part Number
hpc36164
Description
High-performance Microcontroller With A/d
Manufacturer
National Semiconductor Corporation
Datasheet
C 1995 National Semiconductor Corporation
HPC36164 46164 HPC36104 46104
High-Performance microController with A D
General Description
The HPC46164 and HPC46104 are members of the HPC
family of High Performance microControllers Each member
of the family has the same core CPU with a unique memory
and I O configuration to suit specific applications The
HPC46164 has 16k bytes of on-chip ROM The HPC46104
has no on-chip ROM and is intended for use with external
memory Each part is fabricated in National’s advanced
microCMOS technology This process combined with an ad-
vanced architecture provides fast flexible I O control effi-
cient data manipulation and high speed computation
The HPC devices are complete microcomputers on a single
chip All system timing internal logic ROM RAM and I O
are provided on the chip to produce a cost effective solution
for high performance applications On-chip functions such
as UART up to eight 16-bit timers with 4 input capture regis-
ters vectored interrupts WATCHDOG
WIRE PLUS
The ability to address up to 64k bytes of external memory
enables the HPC to be used in powerful applications typical-
ly performed by microprocessors and expensive peripheral
chips The term ‘‘HPC46164’’ is used throughout this data-
sheet to refer to the HPC46164 and HPC46104 devices un-
less otherwise specified
The HPC46164 and HPC46104 have as an on-board pe-
ripheral an 8-channel 8-bit Analog-to-Digital Converter This
A D converter can operate in a single-ended mode where
the analog input voltage is applied across one of the eight
input channels (D0 – D7) and AGND The A D converter can
also operate in differential mode where the analog input
voltage is applied across two adjacent input channels The
A D converter will convert up to eight channels in single-
ended mode and up to four channel pairs in differential
mode
Block Diagram
Series 32000 and TRI-STATE are registered trademarks of National Semiconductor Corporation
MOLE
PC-AT is a registered trademark of International Business Machines Corp
SunOS
TM
TM
HPC
is a trademark of Sun Microsystems
TM
COPS
TM
TM
provide a high level of system integration
microcontrollers WATCHDOG
(HPC46164 with 16k ROM shown)
TL DD 9682
TM
TM
and MICROWIRE PLUS
logic and MICRO-
TM
TM
are trademarks of National Semiconductor Corporation
The microCMOS process results in very low current drain
and enables the user to select the optimum speed power
product for his system The IDLE and HALT modes provide
further current savings The HPC is available only in an
80-pin PQFP package
Features
Y
Y
Y
Y
Y
Y
Y
Y
Y
HPC family core features
A D 8-channel 8-bit analog-to-digital converter with
UART full duplex programmable baud rate
Four additional 16-bit timer counters with pulse width
modulated outputs
Four input capture registers
52 general purpose I O lines (memory mapped)
16k bytes of ROM 512 bytes of RAM on-chip
ROMless version available (HPC46104)
Commercial (0 C to
g
a
85 C) temperature ranges
16-bit architecture both byte and word
16-bit data bus ALU and registers
64k bytes of external direct memory addressing
FAST 200 ns for fastest instruction when using
20 0 MHz clock 134 ns at 30 0 MHz
High code efficiency most instructions are single
byte
16 x 16 multiply and 32 x 16 divide
Eight vectored interrupt sources
Four 16-bit timer counters with 4 synchronous out-
puts and WATCHDOG logic
MICROWIRE PLUS serial I O interface
CMOS very low power with two power save modes
IDLE and HALT
LSB non-linearity
a
70 C) and industrial (
TL DD 9682 – 1
RRD-B30M105 Printed in U S A
January 1993
b
40 C to

Related parts for hpc36164

hpc36164 Summary of contents

Page 1

... HPC36164 46164 HPC36104 46104 High-Performance microController with A D General Description The HPC46164 and HPC46104 are members of the HPC family of High Performance microControllers Each member of the family has the same core CPU with a unique memory and I O configuration to suit specific applications The ...

Page 2

... Office Distributors for availability and specifications Total Allowable Source or Sink Current Storage Temperature Range Lead Temperature (Soldering 10 sec ) DC Electrical Characteristics 10% unless otherwise specified HPC36164 HPC36104 Symbol Parameter I Supply Current CC1 I IDLE Mode Current CC2 I HALT Mode Current CC3 ...

Page 3

... MHz AC Electrical Characteristics (See Notes 1 and 4 and Figure 1 through Figure for HPC36164 Symbol and Formula f CKI Operating Frequency CKI Clock Period CKI High Time CKIH t CKI Low Time CKIL CPU Timing Cycle ...

Page 4

... MHz (Continued) AC Electrical Characteristics (See Notes 1 and 4 and Figure 1 through Figure for HPC36164 Symbol and Formula t Delay from CKI Rising Edge to DC1ALER ALE Rising Edge t Delay from CKI Rising Edge to DC1ALEF ALE Falling Edge Delay from CK2 Rising Edge to ...

Page 5

A D Converter Specifications 10 05V) Any Input Parameter Resolution Reference Voltage Input AGND Absolute Accuracy Non-Linearity Differential Non-Linearity Input Reference ...

Page 6

MHz AC Electrical Characteristics (See Notes 1 and 4 and Figure 1 through Figure 125 C for HPC16164 HPC16104 Symbol and Formula f CKI Operating Frequency CKI Clock Period ...

Page 7

MHz (Continued) AC Electrical Characteristics (See Notes 1 and 4 and Figure 1 through Figure 125 C for HPC16164 HPC16104 Symbol and Formula t Delay from CKI Rising Edge to DC1ALER ALE Rising Edge ...

Page 8

CKI Input Signal Characteristics Note AC testing inputs are driven at V for a logic ‘‘1’’ and V IH ‘‘0’’ FIGURE 2 Input and Output for AC Tests Rise Fall Time Duty Cycle FIGURE 1 CKI Input Signal for a ...

Page 9

Timing Waveforms FIGURE 3 CKI CK2 ALE Timing Diagram FIGURE 4 Write Cycle FIGURE 5 Read Cycle 9682 – 9682 – 9682 – 4 ...

Page 10

Timing Waveforms (Continued) FIGURE 8 MICROWIRE Setup Hold Timing FIGURE 6 Ready Mode Timing FIGURE 7 Hold Mode Timing 9682 – 9682 – 9682 – 39 ...

Page 11

Timing Waveforms (Continued) FIGURE 9 UPI Read Timing FIGURE 10 UPI Write Timing 9682 – 9682 – 10 ...

Page 12

Pin Descriptions The HPC46164 is available only in an 80-pin PQFP pack- age I O PORTS Port 16-bit bidirectional I O port with a data direction register to enable each separate pin to be individually de- fined ...

Page 13

Connection Diagram Order Number HPC46064XXX F20 HPC46064XXX F30 Ports A B The highly flexible A and B ports are similarly structured The Port A (see Figure 11 ) consists of a data register and a direction register Port B (see ...

Page 14

Ports A B (Continued) FIGURE 12 Structure of Port B Pins and B7 (Typical Pins) FIGURE 11 Port Structure 9682 – 9682 – 14 ...

Page 15

Ports A B (Continued) FIGURE 13 Structure of Port B Pins B13 and B14 (Timer Synchronous Pins 9682 – 15 ...

Page 16

Ports A B (Continued) FIGURE 14 Structure of Port B Pins B10 B11 B12 and B15 (Pins with Bus Control Roles) Operating Modes To offer the user a variety and expanded memory options the HPC46164 and HPC46104 ...

Page 17

HPC46164 Operating Modes SINGLE CHIP NORMAL MODE In this mode the HPC46164 functions as a self-contained microcomputer (see Figure 15 ) with all memory (RAM and ROM) on-chip It can address internal memory only consist- ing of 16k bytes of ...

Page 18

HPC46164 Operating Modes HPC46104 Operating Modes EXPANDED ROMLESS MODE Because the HPC46104 has no on-chip ROM it has only one mode of operation the Expanded ROMless Mode The EXM pin must be pulled high (logic ‘‘1’’) on power up the ...

Page 19

HPC46164 Interrupts Complex interrupt handling is easily accomplished by the HPC46164’s vectored interrupt scheme There are eight possible interrupt sources as shown in Table III TABLE III Interrupts Vector Interrupt Address Source FFFF FFFE RESET FFFD FFFC Nonmaskable external on ...

Page 20

Servicing the Interrupts (Continued) 20 ...

Page 21

Timer Overview The HPC46164 contains a powerful set of flexible timers enabling the HPC46164 to perform extensive timer func- tions not usually associated with microcontrollers The HPC46164 contains nine 16-bit timers Timer free- running timer counting up ...

Page 22

Timer Overview (Continued) Timer register pairs 4 – 7 form four identical units which can generate synchronous outputs on port P (see Figure 21 ) Maximum output frequency for any timer output can be ob- tained by setting timer register ...

Page 23

MICROWIRE PLUS (Continued) FIGURE 24 MICROWIRE PLUS MICROWIRE PLUS Operation The HPC46164 can enter the MICROWIRE PLUS mode as the master or a slave A control bit in the IRCD register determines whether the HPC46164 is the master or slave ...

Page 24

MICROWIRE PLUS Application FIGURE 25 MICROWIRE PLUS Application (Continued 9682 – 27 ...

Page 25

HPC46164 UART The HPC46164 contains a software programmable UART The UART (see Figure 26 ) consists of a transmit shift regis- ter a receiver shift register and five addressable registers as follows a transmit buffer register (TBUF) a receiver buff- ...

Page 26

A D Converter The HPC46164 has an on-board eight-channel 8-bit Analog to Digital converter Conversion is peformed using a succes- sive approximation technique The A D converter cell can operate in single-ended mode where the input voltage is applied across ...

Page 27

A D Converter (Continued) TABLE Operating Modes Mode 0 Single-ended single channel single result register one-shot (default value on power-up) Mode 1 Single-ended single channel single result register continuous Mode 2 Single-ended single channel multiple result registers ...

Page 28

Shared Memory Support Shared memory access provides a rapid technique to ex- change data It is effective when data is moved from a pe- ripheral to memory or when data is moved between blocks of memory A related area where ...

Page 29

Memory The HPC46164 has been designed to offer flexibility in memory usage A total address space of 64 kbytes can be addressed with 16 kbytes of ROM and 512 bytes of RAM available on the chip itself The ROM may ...

Page 30

Design Considerations Designs using the HPC family of 16-bit high speed CMOS microcontrollers need to follow some general guidelines on usage and board layout Floating inputs are a frequently overlooked problem CMOS inputs have extremely high impedance and if left ...

Page 31

HPC46164 CPU (Continued) Accumulator (A) Register The 16-bit A register is the source and destination register for most I O arithmetic logic and data memory access op- erations Address (B and X) Registers The 16-bit B and X registers can ...

Page 32

HPC Instruction Set Description Mnemonic Description BIT INSTRUCTIONS SBIT Set bit RBIT Reset bit IFBIT If bit MEMORY TRANSFER INSTRUCTIONS LD Load Load incr decr X ST Store to Memory X Exchange Exchange incr decr X PUSH Push Memory to ...

Page 33

Memory Usage Number of Bytes for Each Instruction (number in parenthesis is 16-Bit field) Using Accumulator A Reg Indir Direct ( 2(4) ADC 1 2 3(4) ADDS SBC ...

Page 34

Code Efficiency One of the most important criteria of a single chip microcon- troller is code efficiency The more efficient the code the more features that can be put on a chip The memory size on a chip is fixed ...

Page 35

Development Support (Continued) Order Product Part Number HPC16104 HPC-DEV-ISE4 16164 HPC-DEV-ISE-E HPC-DEV-IBMA HPC-DEV-IBMC HPC-DEV-WDBC HPC-DEV-SUNC HPC-DEV-SUNDB Complete System HPC16104 HPC-DEV-SYS4 16164 HPC-DEV-SYS4-E How to Order To order a complete development package select the sec- tion for the microcontroller to be ...

Page 36

FACTORY APPLICATIONS SUPPORT Dial-A-Helper also provides immediate factory applications support If a user is having difficulty in operating a MDS he can leave messages on our electronic bulletin board which we will respond to Part Selection The HPC family includes ...

Page 37

37 ...

Page 38

Physical Dimensions inches (millimeters) Order Number HPC46064XXX F20 HPC46064XXX F30 LIFE SUPPORT POLICY NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL SEMICONDUCTOR ...

Page 39

... This datasheet has been download from: www.datasheetcatalog.com Datasheets for electronics components. ...

Related keywords