DS80C320-QNG+ Dallas Semiconductor, DS80C320-QNG+ Datasheet

no-image

DS80C320-QNG+

Manufacturer Part Number
DS80C320-QNG+
Description
Microcontroller, 8051 Comp., 4 8-Bit I/O Ports, 64K ROM/RAM, 25 MHz, 5 V, PLCC44
Manufacturer
Dallas Semiconductor
Datasheet

Specifications of DS80C320-QNG+

Eeprom Memory
0 Bytes
Input Output
32
Interface
UART
Memory Type
ROMless
Number Of Bits
8
Package Type
44-pin PLCC
Programmable Memory
0 Bytes
Ram Size
256 Bytes
Speed
25 MHz
Timers
4-8-bit, 3-16-bit
Voltage, Range
4.25-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
www.maxim-ic.com
FEATURES
The High-Speed Microcontroller User’s Guide must be
used in conjunction with this data sheet. Download it
at: www.maxim-ic.com/microcontrollers.
Data
overviews, and electrical specifications, whereas the
user’s guide contains detailed information about
device features and operation.
Note: Some revisions of this device may incorporate deviations from published specifications known as errata. Multiple revisions of any device
may be simultaneously available through various sales channels. For information about device errata, click here: www.maxim-ic.com/errata.
80C32-Compatible
8051 Pin and Instruction Set Compatible
Four 8-Bit I/O Ports
Three 16-Bit Timer/Counters
256 Bytes Scratchpad RAM
Addresses 64kB ROM and 64kB RAM
High-Speed Architecture
4 Clocks/Machine Cycle (8032 = 12)
DC to 33MHz (DS80C320)
DC to 18MHz (DS80C323)
Single-Cycle Instruction in 121ns
Uses Less Power for Equivalent Work
Dual Data Pointer
Optional Variable Length MOVX to Access
High-Integration Controller Includes:
Power-Fail Reset
Programmable Watchdog Timer
Early Warning Power-Fail Interrupt
Two Full-Duplex Hardware Serial Ports
13 Total Interrupt Sources with Six
External
Available in 40-Pin DIP, 44-Pin PLCC, and
44-Pin TQFP
Fast/Slow RAM/Peripherals
sheets
contain
pin
descriptions,
High-Speed/Low-Power Microcontrollers
feature
1 of 40
PIN CONFIGURATIONS
TOP VIEW
DS80C320/DS80C323
REV: 101006

Related parts for DS80C320-QNG+

DS80C320-QNG+ Summary of contents

Page 1

... Four 8-Bit I/O Ports Three 16-Bit Timer/Counters 256 Bytes Scratchpad RAM Addresses 64kB ROM and 64kB RAM High-Speed Architecture 4 Clocks/Machine Cycle (8032 = 12 33MHz (DS80C320 18MHz (DS80C323) Single-Cycle Instruction in 121ns Uses Less Power for Equivalent Work Dual Data Pointer Optional Variable Length MOVX to Access ...

Page 2

... ORDERING INFORMATION Pb-FREE/RoHS- PART COMPLIANT DS80C320-MCG DS80C320-MCG+ DS80C320-QCG DS80C320-QCG+ DS80C320-ECG DS80C320-ECG+ DS80C320-MNG DS80C320-MNG+ DS80C320-QNG DS80C320-QNG+ DS80C320-ENG DS80C320-ENG+ DS80C320-MCL DS80C320-MCL+ DS80C320-QCL DS80C320-QCL+ DS80C320-ECL DS80C320-ECL+ DS80C320-MNL DS80C320-MNL+ DS80C320-QNL DS80C320-QNL+ DS80C320-ENL DS80C320-ENL+ ...

Page 3

... Program Store-Enable Output, Active Low. This signal is commonly connected to external ROM memory as a chip enable. active-low pulse width of 2.25 XTAL1 cycles with a period of four XTAL1 cycles. is driven high when data memory (RAM) is being PSEN accessed through the bus and during a reset condition DS80C320/ DS80C323 FUNCTION PSEN provides an ...

Page 4

PIN DESCRIPTION (continued) PIN NAME TQFP DIP PLCC ALE AD0 AD1 AD2 AD3 AD4 AD5 AD6 ...

Page 5

PIN DESCRIPTION (continued) PIN DIP PLCC TQFP (P2. (P2. A10 (P2. A11 (P2. A12 (P2. A13 (P2. ...

Page 6

... Application Note 57: DS80C320 Memory Interface Timing is a useful tool to help the embedded system designer select the proper memories for her or his application. The DS80C320/DS80C323 run the standard 8051 instruction set and is pin compatible with an 80C32 in any of three standard packages. They also provide the same timer/counter resources, full-duplex serial port, 256 bytes of scratchpad RAM, and I/O ports as the standard 80C32 ...

Page 7

... In this updated core, dummy memory cycles have been eliminated conventional 80C32, machine cycles are generated by dividing the clock frequency by 12. In the DS80C320/DS80C323, the same machine cycle is performed in 4 clocks. Thus the fastest instruction, one machine cycle, is executed three times faster for the same crystal frequency ...

Page 8

... This is because in most cases, the DS80C320/DS80C323 use one cycle for each byte. The user concerned with precise program timing should examine the timing of each instruction for familiarity with the changes ...

Page 9

Table 1. Instruction Set Summary SYMBOL FUNCTION A Accumulator Rn Register direct Internal Register Address Internal Register pointed @Ri R1 (except MOVX) rel Two’s Complement Offset Byte INSTRUCTION BYTE ARITHMATIC INSTRUCTIONS ADD A, ...

Page 10

Table 1. Instruction Set Summary (continued) INSTRUCTION BYTE DATA TRANSFER INSTRUCTIONS MOV MOV A, direct 2 MOV A, @Ri 1 MOV A, #data 2 MOV Rn MOV Rn, direct 2 MOV Rn, #data 2 MOV ...

Page 11

... Average: 2.5 MEMORY ACCESS The DS80C320/DS80C323 do not contain on-chip ROM and 256 bytes of scratchpad RAM. Off-chip memory is accessed using the multiplexed address/data bus on P0 and the MSB address on P2. Figure 3 shows a typical memory connection. Timing diagrams are provided in the Electrical Specifications section ...

Page 12

... STRETCH MEMORY CYCLE The DS80C320/DS80C323 allow the application software to adjust the speed of data memory access. The microcontroller is capable of performing the MOVX in as little as two instruction cycles. However, this value can be stretched as needed so that both fast memory and slow memory or peripherals can be accessed with no glue logic ...

Page 13

... Sample code listed below illustrates the saving from using the dual DPTR. The example program was original code written for an 8051 and requires a total of 1869 DS80C320/DS80C323 machine cycles. This takes 299ms to execute at 25MHz. The new code using the Dual DPTR requires only 1097 machine cycles taking 175 ...

Page 14

... DJNZ R5, MOVE PERIPHERAL OVERVIEW Peripherals in the DS80C320/DS80C323 are accessed using the SFRs. The devices provide several of the most commonly needed peripheral functions in microcomputer-based systems. These functions are new to the 80C32 family and include a second serial port, power-fail reset, power-fail interrupt, and a programmable watchdog timer. These are briefly described in the following paragraphs. More details are available in the High-Speed Microcontroller User’ ...

Page 15

... WATCHDOG TIMER For applications that cannot afford to run out of control, the DS80C320/DS80C323 incorporate a programmable watchdog timer circuit. The watchdog timer circuit resets the microcontroller if software fails to reset the watchdog before the selected time interval has elapsed. The user selects one of four timeout values ...

Page 16

... Finally, the Watchdog Interrupt is enabled using EWDI (EIE.4). INTERRUPTS The DS80C320/DS80C323 provide 13 sources of interrupt with three priority levels. The Power-fail Interrupt (PFI), if enabled, always has the highest priority. There are two remaining user-selectable priorities: high and low. If two interrupts that have the same priority occur simultaneously, the natural precedence given in Table 4 determines which is acted upon ...

Page 17

... Idle mode itself, but the watchdog timer. As mentioned above, the Watchdog Timer provides an optional interrupt capability. This interrupt can provide a periodic interval timer to bring the DS80C320/DS80C323 out of Idle mode. This can be useful even if the Watchdog is not normally used. By enabling the Watchdog Timer and its interrupt prior to invoking Idle, a user can periodically come out of Idle perform an operation, then return to Idle until the next operation ...

Page 18

Stop bit to guarantee a correct power-on delay when exiting Stop mode. The second feature allows an additional power saving option. This is the ability to start instantly when exiting Stop mode ...

Page 19

Figure 4. Ring Oscillator Startup DIAGRAM ASSUMES THAT THE OPERATION FOLLOWING STOP REQUIRES LESS THAN 18ms COMPLETE. TIMED ACCESS PROTECTION Selected SFR bits are critical to operation, making it desirable to protect against an accidental write operation. The Timed Access ...

Page 20

... SPECIAL-FUNCTION REGISTERS Most special features of the DS80C320/DS80C323 or 80C32 are controlled by bits in the SFRs, allowing the devices to add many features but use the same instruction set. When writing software to use a new feature, the SFR must be defined to an assembler or compiler using an equate statement. This is the only change needed to access the new function ...

Page 21

... This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods of time may affect reliability. DC ELECTRICAL CHARACTERISTICS—DS80C320 (V = 4.5V to 5.5V -40° ...

Page 22

... Not a high-impedance input. This port is a weak address holding latch because Port dedicated as an address bus on the DS80C320. Peak current occurs near the input transition point of the latch, approximately 2V. 10. Over the industrial temperature range, this specification has a maximum value of 200mA. ...

Page 23

... Instruction In Low to Address Float PSEN NOTES FOR DS80C320 AC ELECTRICAL CHARACTERISTICS All parameters apply to both commercial and industrial temperature operation unless otherwise noted. Specifications to -40°C are guaranteed by design and are not production tested. AC electrical characteristics assume 50% duty cycle for the oscillator, oscillator frequency > ...

Page 24

... MOVX CHARACTERISTICS—DS80C320 PARAMETER Pulse Width RD Pulse Width WR Low to Valid Data In RD Data Hold After Read Data Float After Read ALE Low to Valid Data In Port 0 Address to Valid Data In Port 2 Address to Valid Data In ALE Low to or Low RD WR Port 0 Address Valid to or ...

Page 25

DC ELECTRICAL CHARACTERISTICS—DS80C323 PARAMETER Operating Supply Voltage Power-Fail Warning Voltage Minimum Operating Voltage Supply Current Active Mode at 18MHz Supply Current Idle Mode at 18MHz Supply Current Stop Mode, Bandgap Reference Disabled Supply Current Stop Mode, Bandgap Reference Enabled Input ...

Page 26

NOTES FOR DS80C323 DC ELECTRICAL CHARACTERISTICS (continued) All parameters apply to both commercial and industrial temperature operation unless otherwise noted. Specifications to -40°C are guaranteed by design and are not production tested. Device operating range is 2.7V to 5.5V. DC ...

Page 27

AC ELECTRICAL CHARACTERISTICS—DS80C323 PARAMETER External Oscillator Oscillator Frequency External Crystal ALE Pulse Width Port 0 Address Valid to ALE Low Address Hold After ALE Low Address Hold After ALE Low for MOVX WR ALE Low to Valid Instruction In ALE ...

Page 28

MOVX CHARACTERISTICS—DS80C323 PARAMETER Pulse Width RD Pulse Width WR Low to Valid Data In RD Data Hold After Read Data Float After Read ALE Low to Valid Data In Port 0 Address to Valid Data In Port 2 Address to ...

Page 29

EXTERNAL CLOCK CHARACTERISTICS PARAMETER Clock High Time Clock Low Time Clock Rise Time Clock Fall Time SERIAL PORT MODE 0 TIMING CHARACTERISTICS PARAMETER SYMBOL Serial Port Clock t XLXL Cycle Time Output Data Setup to t QVXH Clock Rising Edge ...

Page 30

POWER-CYCLE TIMING CHARACTERISTICS PARAMETER Crystal Startup Time Power-On Reset Delay NOTES FOR POWER CYCLE TIMING CHARACTERISTICS 1. Startup time for crystals varies with load capacitance and manufacturer. Time shown is for an 11.0592MHz crystal manufactured by Fox crystal. 2. Reset ...

Page 31

DATA MEMORY READ CYCLE ...

Page 32

DATA MEMORY WRITE CYCLE DATA MEMORY WRITE WITH STRETCH = ...

Page 33

DATA MEMORY WRITE WITH STRETCH = 2 EXTERNAL CLOCK DRIVE 4-CYCLE DATA MEMORY WRITE STRETCH VALUE = ...

Page 34

SERIAL PORT MODE 0 TIMING SERIAL PORT 0 (SYNCHRONOUS MODE) HIGH SPEED OPERATION SM2 = 1 ≥ TXD CLOCK = XTAL/4 SERIAL PORT 0 (SYNCHRONOUS MODE) SM2 = 0 ≥ TXD CLOCK = XTAL/ ...

Page 35

POWER-CYCLE TIMING ...

Page 36

PACKAGE INFORMATION (The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information www.maxim-ic.com/DallasPackInfo ...

Page 37

... PACKAGE INFORMATION (continued) (The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information www.maxim-ic.com/DallasPackInfo.) DS80C320/DS80C323 High-Speed/Low-Power Microcontrollers ...

Page 38

PACKAGE INFORMATION (continued) (The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information www.maxim-ic.com/DallasPackInfo ...

Page 39

... The following represent the key differences between the 103196 and the 041896 version of the DS80C320 data sheet. Please review this summary carefully. 1. Updated DS80C320 25MHz AC Characteristics. The following represent the key differences between the 041895 and the 031096 version of the DS80C320 data sheet. Please review this summary carefully. 1. Remove Port 0, Port 2 from V 2 ...

Page 40

... DATA SHEET REVISION SUMMARY (continued) The following represent the key differences between the 05/22/96 and the 10/21/97 version of the DS80C320 data sheet. Please review this summary carefully. DS80C320 1. Added note to clarify I specification Added note to clarify AC timing conditions. 3. Corrected erroneous t label on figure “Serial Port Mode 0 Timing” to read t QVXL 4 ...

Related keywords