DS80C323 Maxim Integrated Products, DS80C323 Datasheet

no-image

DS80C323

Manufacturer Part Number
DS80C323
Description
Manufacturer
Maxim Integrated Products
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS80C323
Manufacturer:
LT
Quantity:
177
Part Number:
DS80C323-ECD
Manufacturer:
DALLAS
Quantity:
2 463
Part Number:
DS80C323-ECD
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C323-ECD+
Manufacturer:
Maxim
Quantity:
169
Part Number:
DS80C323-ECD+
Manufacturer:
Maxim
Quantity:
27
Part Number:
DS80C323-ECD+
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C323-ECD+T&R
Manufacturer:
MAXIM
Quantity:
1 200
Part Number:
DS80C323-ECD+T&R
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C323-END
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C323-END
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS80C323-END+
Manufacturer:
Maxim Integrated
Quantity:
10 000
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 DS80C323

DS80C323 Summary of contents

Page 1

... 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 Fast/Slow RAM/Peripherals ...

Page 2

... The DS80C320 operating voltage ranges from 4.25V to 5.5V, making it ideal as a high-performance upgrade to existing 5V systems. For applications in which power consumption is critical, the DS80C323 offers the same feature set as the DS80C320, but with 2.7V to 5.5V operation. Designers must have two documents to fully use all the features of this device: this data sheet and the ...

Page 3

... XTAL1 PSEN +5V (+3V for DS80C323) CC Digital Circuit Ground Reset Input. The RST input pin contains a Schmitt voltage input to recognize external active-high reset inputs. The pin also employs an internal pulldown resistor to allow for a combination of wired OR external reset sources not required for power-up, as the device provides this function internally ...

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

ELECTRICAL SPECIFICATIONS ABSOLUTE MAXIMUM RATINGS Voltage Range on Any Pin Relative to Ground…………………………………………-0. Voltage Range on V Relative to Ground……………………………………………………..-0.3V to +6.0V CC Operating Temperature Range………………………………………………………………….-40°C to +85°C Storage Temperature Range…………………………………………………………………..-55°C to +125°C Soldering Temperature…………………………………………….See IPC/JEDEC J-STD-020 Specification ...

Page 22

NOTES FOR DS80C320 DC 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. 1. All voltages are referenced to ground. 2. Active ...

Page 23

AC CHARACTERISTICS—DS80C320 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 Low ...

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 ...

Page 25

... Input Leakage Port 0, Bus Mode RST Pulldown Resistance NOTES FOR DS80C323 DC 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. Device operating range is 2.7V to 5.5V. DC electrical specifications are for operation 2 ...

Page 26

... Port 0 is dedicated as an address bus on the DS80C323. 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. 11. This is the current from an external circuit to hold a logic low level on an I/O pin while the corresponding port latch bit is set to 1. This is only the current required to hold the low level ...

Page 27

... Instruction In Low to Address Float PSEN NOTES FOR DS80C323 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 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 Valid Data In ALE Low Low Port 0 Address Valid to RD ...

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

... Added Pb-free/RoHS-compliant part numbers to Ordering Information table. 3. Deleted the “A” from the IPC/JEDEC J-STD-020 specification in the Absolute Maximum Ratings. The following represent the key differences between the 051804 and the 112299 version of the DS80C320/DS80C323 data sheet. Please review this summary carefully. ...

Page 40

... The Maxim logo is a registered trademark of Maxim Integrated Products, Inc. The Dallas logo is a registered trademark of Dallas Semiconductor Corporation. DS80C320/DS80C323 High-Speed/Low-Power Microcontrollers © ...

Related keywords