hpc36164 National Semiconductor Corporation, hpc36164 Datasheet
hpc36164
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. ...