DS80C323 Dallas Semiconductor, DS80C323 Datasheet

no-image

DS80C323

Manufacturer Part Number
DS80C323
Description
Manufacturer
Dallas Semiconductor
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
FEATURES
§ 80C32-Compatible
§ High-speed architecture
§ High integration controller includes:
§ Two full-duplex hardware serial ports
§ 13 total interrupt sources with six external
§ Available in 40-pin DIP, 44-pin PLCC and
www.maxim-ic.com
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: http://www.maxim-ic.com/errata.
TQFP
- 8051 pin and instruction set compatible
- Four 8-bit I/O ports
- Three 16-bit timer/counters
- 256 bytes scratchpad RAM
- Addresses 64 kB ROM and 64 kB RAM
- 4 clocks/machine cycle (8032=12)
- DC to 33 MHz (DS80C320)
- DC to 18 MHz (DS80C323)
- Single-cycle instruction in 121 ns
- Uses less power for equivalent work
- Dual data pointer
- Optional variable length MOVX to access
- Power- fail reset
- Programmable watchdog timer
- Early- warning power- fail interrupt
fast/slow RAM/peripherals
1 of 42
High-Speed/Low-Power Micro
PIN ASSIGNMENT
DS80C320/DS80C323
112299

Related parts for DS80C323

DS80C323 Summary of contents

Page 1

... RAM - Addresses 64 kB ROM and 64 kB RAM § High-speed architecture - 4 clocks/machine cycle (8032=12 MHz (DS80C320 MHz (DS80C323) - Single-cycle instruction in 121 ns - Uses less power for equivalent work - Dual data pointer - Optional variable length MOVX to access fast/slow RAM/peripherals § ...

Page 2

... DS80C320 offers a maximum crystal rate of 33 MHz, resulting in apparent execution speeds of 82.5 MHz (approximately 2.5X). The DS80C320/DS80C323 is pin-compatible with all three packages of the standard 80C32 and offers the same timer/counters, serial port, and I/O ports. In short, the device is extremely familiar to 8051 users but provides the speed of a 16-bit processor. ...

Page 3

... DS80C320 BLOCK DIAGRAM Figure DS80C320/DS80C323 ...

Page 4

... DESCRIPTION +5V. (+3V DS80C323 GND GND - Digital circuit ground. RST RST - 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 ...

Page 5

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

Page 6

... This data sheet assumes the user is familiar with the basic features of the standard 80C32. In addition to these standard features, the DS80C320/DS80C323 includes many new functions. This data sheet provides only a summary and overview. Detailed descriptions are available in the User’s Guide located in the front of the High-Speed Microcontroller data book ...

Page 7

... This is because in most cases, the DS80C320/DS80C323 uses 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 8

... XRL XRL A, direct 4 XRL A, @Ri 8 XRL A, #data 8 XRL direct XRL direct, #data 4 CLR A 8 CPL RLC RRC DS80C320/DS80C323 OSCILLATOR BYTE CYCLES ...

Page 9

... MOV bit CJNE A, direct, rel 16 CJNE A, #data, rel 16 CJNE Rn, #data, rel 16 CJNE Ri, #data, rel 12 NOP 16 JC rel 12 JNC rel 12 JB bit, rel 12 JNB bit, rel 12 JBC bit, rel DS80C320/DS80C323 8-36* 1 8-36* 1 8-36* 1 8-36 ...

Page 10

... TYPICAL MEMORY CONNECTION Figure 3 STRETCH MEMORY CYCLE The DS80C320/DS80C323 allows 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 11

... STROBE WIDTH or STROBE RD WR WIDTH IN CLOCKS TIME @ 25 MHz 160 ns 8 320 ns 12 480 ns 16 640 ns 20 800 ns 24 960 ns 28 1120 DS80C320/DS80C323 ...

Page 12

... 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 299 µs to execute at 25 MHz. The new code using the Dual DPTR requires only 1097 machine cycles taking 175.5 µ ...

Page 13

... The DS80C320/DS80C323 architecture normally runs using 4 clocks per cyc le. However, in the area of timers, it will default to a 12-clock per cycle scheme on a reset. This allows existing code with real-time dependencies such as baud rates to operate properly ...

Page 14

... WATCHDOG TIMER For applications that can not afford to run out of control, the DS80C320/DS80C323 incorporates a programmable watchdog timer circuit. It 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. After enabling the watchdog, software must reset the timer prior to expiration of the interval, or the CPU will be reset. Both the Watchdog Enable and the Watchdog Reset bits are protected by a “ ...

Page 15

... Finally, the Watchdog Interrupt is enabled using EWDI (EIE.4). INTERRUPTS The DS80C320/DS80C323 provides 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 belo w determines which is a acted upon ...

Page 16

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

... This bit at EXIF.2 will be a logic 1 when the ring is in use. No serial communication or precision timing should be attempted while this bit is set, since the operating frequency is not precise. RING OSCILLATOR START -UP Figure 4 Diagram assumes that the operation following Stop requires less than 18 ms complete DS80C320/DS80C323 ...

Page 18

... WDIF Watchdog Interrupt Flag SPECIAL FUNCTION REGISTERS Most special features of the DS80C320/DS80C323 or 80C32 are controlled by bits in special function registers (SFRs). This allows the device 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 ...

Page 19

... SM2_0 REN_0 TB8_0 HIP LIP 1 RCLK TCLK EXEN2 - - - AC F0 RS1 RS0 EPFI PFI WDIF - - EWDI EX5 - - PWDI PX5 DS80C320/DS80C323 BIT 2 BIT 1 BIT SEL GF0 STOP IDLE IT1 IE0 IT0 MD2 MD1 MD0 P1.2 P1.1 P1.0 - RGMD RGSL BGS RB8_0 ...

Page 20

... IDLE I .01 STOP I 50 SPBG V -0 2.0 IH1 V 3.5 IH2 V OL1 V OL2 V 2.4 OH1 V 2.4 OH2 V 2.4 OH3 -300 RST DS80C320/DS80C323 MAX UNITS NOTES µ µ + ...

Page 21

... This is only the current required to hold the low level; transitions from I/O pin will also have to overcome the transition current. 12. Device operating range is 4.5V to 5.5V; however, device is tested to 4.0V to ensure proper operation at minimum V . RST =5.5V, all other pins disconnected DS80C320/DS80C323 =RST=5.5V, all other CC =5.5V, RST at CC ...

Page 22

... LLAX1 t 13 LLAX2 t 73 LLIV t 3 LLPL t 83 PLPH t 69 PLIV t 0 PXIX t 35 PXIZ t 93 AVIV1 t 107 AVIV2 t note 5 PLAZ DS80C320/DS80C323 VARIABLE VARIABLE CLOCK CLOCK MIN MAX 1.5t -10 CLCL 0.5t -11 CLCL 0.25t -5 note 5 CLCL 0.5t -7 CLCL 2.5t -27 CLCL 0.25t -7 CLCL 2.25t -7 CLCL 2 ...

Page 23

... Specifications assume a 50% duty cycle for the oscillator. Port 2 timing will change with the duty cycle variations. 5. Address is held in a weak latch until over-driven by external memory DS80C320/DS80C323 , and at PSEN ...

Page 24

... QVWX t -10 CLCL WHQX CLCL 2t -5 CLCL t RLAZ t 0 WHLH t -5 CLCL machine cycles (default DS80C320/DS80C323 VARIABLE UNITS CLOCK MAX -25 CLCL ns t -25 MCS CLCL CLCL 2.5t -26 CLCL ns 1.5t -28+t CLCL MCS 3t -24 CLCL ...

Page 25

... Instruction In Low to PSEN Address Float NOTES FOR DS80C323 AC ELECTRICAL CHARACTERISTICS: All parameters apply to both commercial and industrial temperature range operation unless otherwise noted. AC timing characteristics valid for oscillator frequency > 16 MHz. 1. All signals rated over operating temperature at 33 MHz. 2. All signals characterized with load capacitance except Port 0, ALE, 100 pF ...

Page 26

... QVWX t -10 CLCL WHQX CLCL 2t -5 CLCL t RLAZ t 0 WHLH t -5 CLCL machine cycles (default DS80C320/DS80C323 VARIABLE UNITS CLOCK MAX -25 CLCL ns t -25 MCS CLCL CLCL 2.5t -26 CLCL ns 1.5t -28+t CLCL MCS 3t -24 CLCL ...

Page 27

... Ports 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. Device operating range is 2.7V - 5.5V. DC Electrical specifications are for operation 2.7V - 3.3V. 1. All voltages are referenced to ground. ...

Page 28

... V between ground and V IN because 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 200 µA. 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 29

... Instruction In Low to PSEN Address Float NOTES FOR DS80C323 AC ELECTRICAL CHARACTERISTICS: All parameters apply to both commercial and industrial temperature range operation unless otherwise noted. AC timing characteristics valid for oscillator frequency > 16 MHz. 1. All signals rated over operating temperature at 18 MHz. 2. All signals characterized with load capacitance except Port 0, ALE, 100 pF ...

Page 30

... DS80C323 MOVX CHARACTERISTICS 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 or ...

Page 31

... DS80C320/DS80C323 EXTERNAL CLOCK CHARACTERISTICS PARAMETER Clock High Time Clock Low Time Clock Rise Time Clock Fall Time DS80C320/DS80C323 SERIAL PORT MODE 0 TIMING CHARACTERISTICS PARAMETER Serial Port Clock Cycle Time SM2=0 12 clocks per cycle SM2=1 4 clocks per cycle Output Data Setup to Clock ...

Page 32

... DS80C320/DS80C323 POWER CYCLE TIMING CHARACTERISTICS PARAMETER Crystal Start- up Time Power-on Reset Delay NOTES FOR POWER CYCLE TIMING CHARACTERISTICS: 1. Start- up time for crystals varies with load capacitance and manufacturer. Time shown is for an 11.0592 MHz crystal manufactured by Fox crystal. 2. Reset delay is a synchronous counter of crystal oscillations after crystal start-up. Counting begins ...

Page 33

... DATA MEMORY READ CYCLE DATA MEMORY WRITE CYCLE DS80C320/DS80C323 ...

Page 34

... DATA MEMORY WRITE WITH STRETCH DS80C320/DS80C323 ...

Page 35

... DATA MEMORY WRITE WITH STRETCH=2 EXTERNAL CLOCK DRIVE FOUR CYCLE DATA MEMORY WRITE STRETCH VALUE DS80C320/DS80C323 ...

Page 36

... 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/ DS80C320/DS80C323 ...

Page 37

... POWER CYCLE TIMING DS80C320/DS80C323 ...

Page 38

... PDIP (600-MIL) PKG 40-PIN DIM MIN MAX A - 0.200 A1 0.015 - A2 0.140 0.160 b 0.014 0.022 c 0.008 0.012 D 1.980 2.085 E 0.600 0.625 E1 0.530 0.555 e 0.090 0.110 L 0.115 0.145 eB 0.600 0.700 56-G5000-000 ALL DIMENSIONS ARE IN INCHES DS80C320/DS80C323 ...

Page 39

... INCLUDE MOLD PROTRUSION; ALLOWABLE PROTRUSION IS 0.25 MM PER SIDE. 2. DETAILS OF PIN 1 IDENTIFIER ARE OPTIONAL BUT MUST BE LOCATED WITHIN THE ZONE INDICATED. 3. ALLOWABLE DAMBAR PROTRUSION IS 0.08 MM TOTAL IN EXCESS OF THE B DIMENSION; AT MAXIMUM MATERIAL CONDITION. PROTRUSION NOT TO BE LOCATED ON LOWER RADIUS OR FOOT OF LEAD. 4. CONTROLLING DIMENSIONS: MILLIMETERS DS80C320/DS80C323 ...

Page 40

... PIN-1 IDENTIFIER TO BE LOCATED IN ZONE INDICATED. 2. CONTROLLING DIMENSIONS ARE IN INCHES. PKG 44-PIN DIM MIN MAX A 0.165 0.180 A1 0.090 0.120 A2 0.020 - B 0.026 0.033 B1 0.013 0.021 c 0.009 0.012 CH1 0.042 0.048 D 0.685 0.695 D1 0.650 0.656 D2 0.590 0.630 E 0.685 0.695 E1 0.650 0.656 E2 0.590 0.630 e1 0.050 BSC N 0.44 - 56-G4003-001 DS80C320/DS80C323 ...

Page 41

... DS80C320 data sheet. Please review this summary carefully. 1. Add Data Sheet Revision Summary. The following represent the key differences between 05/23/96 and 05/22/96 version of the DS80C320 data sheet and between 05/23/96 and 03/27/95 version of the DS80C323 data sheet. Please review this summary carefully. DS80C320: 1. Add DS80C323 Characteristics. ...

Page 42

... Added note to prevent accidental corruption of Watchdog Timer count while changing counter length. DS80C323 1. Added note to clarify I specification Remove port 2 from V OH1 3. I for V specification changed from - mA. OH OH3 4. Added note to clarify AC timing conditions. label on figure “Serial Port Mode 0 Timing” to read t specification, add port DS80C320/DS80C323 . QVXH ...

Related keywords