DS80C390 Maxim, DS80C390 Datasheet

no-image

DS80C390

Manufacturer Part Number
DS80C390
Description
The DS80C390 is a fast 8051-compatible microprocessor with dual CAN 2
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS80C390-FCR
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C390-FCR+
Manufacturer:
MAXIM
Quantity:
228
Part Number:
DS80C390-FCR+
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C390-FNR
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C390-FNR+
Manufacturer:
MAXIM
Quantity:
59
Part Number:
DS80C390-FNR+
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C390-QCR
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C390-QCR+
Manufacturer:
Maxim Integrated Products
Quantity:
135
Part Number:
DS80C390-QCR+
Manufacturer:
MAXIM
Quantity:
17
Part Number:
DS80C390QCR
Manufacturer:
MURATA
Quantity:
20 000
Industrial Controls
Factory Automation
Medical Equipment
Automotive
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.
www.maxim-ic.com
GENERAL DESCRIPTION
The
microprocessor with dual CAN 2.0B controllers. The
redesigned
instructions up to 3X faster than the original for the
same crystal speed. The DS80C390 supports a
maximum crystal speed of 40MHz, resulting in
apparent
(approximately 2.5X). An optional internal frequency
multiplier allows the microprocessor to operate at full
speed with a reduced crystal frequency, reducing
EMI. A hardware math accelerator further increases
the speed of 32-bit and 16-bit multiply and divide
operations as well as high-speed shift, normalization,
and accumulate functions.
The High-Speed Microcontroller User’s Guide and High-Speed
Microcontroller User’s Guide: DS80C390 Supplement must be
used in conjunction with this data sheet. Download both at:
www.maxim-ic.com/microcontrollers.
APPLICATIONS
PIN CONFIGURATIONS
TOP VIEW
DS80C390
10
26
execution
processor
27
9
is
Dallas Semiconductor
a
DS80C390
speeds
Agricultural Equipment
Gaming Equipment
Heating, Ventilation, and
core
PLCC
Air Conditioning
fast
1
executes
8051-compatible
of
43
61
Dual CAN High-Speed Microprocessor
100MHz
1 of 53
8051
60
44
FEATURES
See page 29 for a complete list of features.
ORDERING INFORMATION
+Denotes a lead(Pb)-free/RoHS-compliant device.
DS80C390-QCR
DS80C390-QCR+
DS80C390-QNR
DS80C390-QNR+
DS80C390-FCR
DS80C390-FCR+
DS80C390-FNR
DS80C390-FNR+
80C52 Compatible
High-Speed Architecture
4kB Internal SRAM Usable as Program/
Enhanced Memory Architecture
Two Full-Function CAN 2.0B Controllers
Two Full-Duplex Hardware Serial Ports
Programmable IrDA Clock
High Integration Controller
16 Interrupt Sources with Six External
Available in 64-Pin LQFP, 68-Pin PLCC
49
64
Data/Stack Memory
PART
48
1
Dallas Semiconductor
DS80C390
-40°C to +85°C
TEMP RANGE
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
LQFP
0°C to +70°C
0°C to +70°C
0°C to +70°C
0°C to +70°C
REV: 110905
DS80C390
16
33
PIN-PACKAGE
68 PLCC
68 PLCC
68 PLCC
68 PLCC
64 LQFP
64 LQFP
64 LQFP
64 LQFP
32
17

Related parts for DS80C390

DS80C390 Summary of contents

Page 1

... CAN 2.0B controllers. The redesigned processor core instructions faster than the original for the same crystal speed. The DS80C390 supports a maximum crystal speed of 40MHz, resulting in apparent execution speeds (approximately 2.5X). An optional internal frequency multiplier allows the microprocessor to operate at full speed with a reduced crystal frequency, reducing EMI ...

Page 2

... Note 8: set to 1. This is only the current required to hold the low level; transitions from I/O pin also have to overcome the transition current. Ports 1(in I/O mode and 5 source transition current when being pulled down externally. It reaches its maximum at Note 9: approximately 2V. ...

Page 3

AC ELECTRICAL CHARACTERISTICS—(MULTIPLEXED ADDRESS/DATA BUS) (Note 10, Note 11) PARAMETER Oscillator Frequency ALE Pulse Width Port 0 Instruction Address or CE0–4 Valid to ALE Low Address Hold After ALE Low ALE Low to Valid Instruction In ALE Low to PSEN ...

Page 4

... AC SYMBOLS The DS80C390 uses timing parameters and symbols similar to the original 8051 family. The following list of timing symbols is provided as an aid to understanding the timing diagrams. Figure 1. Multiplexed External Program Memory Read Cycle SYMBOL FUNCTION t Time A Address C Clock CE Chip Enable D Input Data ...

Page 5

MOVX CHARACTERISTICS (MULTIPLEXED ADDRESS/DATA BUS) (Note 12) PARAMETER MOVX ALE Pulse Width Port 0 MOVX Address, CE0–4, PCE0–4 Valid to ALE Low Address Hold After MOVX Read/Write RD Pulse Width WR Pulse Width RD Low to Valid Data In Data ...

Page 6

Figure 2. Multiplexed 9-Cycle Address/Data CE0-3 MOVX Read/Write Operation ...

Page 7

Figure 3. Multiplexed 9-Cycle Address/Data PCE0-3 MOVX Read/Write Operation ...

Page 8

Figure 4. Multiplexed 2-Cycle Data Memory PCE0-3 Read or Write Figure 5. Multiplexed 2-Cycle Data Memory CE0-3 Read ...

Page 9

Figure 6. Multiplexed 2-Cycle Data Memory CE0-3 Write Figure 7. Multiplexed 3-Cycle Data Memory PCE0-3 Read or Write ...

Page 10

Figure 8. Multiplexed 3-Cycle Data Memory CE0-3 Read Figure 9. Multiplexed 3-Cycle Data Memory CE0-3 Write ...

Page 11

Figure 10. Multiplexed 9-Cycle Data Memory PEC0-3 Read or Write Figure 11. Multiplexed 9-Cycle Data Memory CE0-3 Read ...

Page 12

Figure 12. Multiplexed 9-Cycle Data Memory CE0-3 Write ...

Page 13

ELECTRICAL CHARACTERISTICS—(NONMULTIPLEXED ADDRESS/DATA BUS) (Note 13) PARAMETER Oscillator Frequency PSEN Pulse Width PSEN Low to Valid Instruction In Input Instruction Hold After PSEN Input Instruction Float After PSEN Port 1 Address, Port Valid Instruction In Port 2, ...

Page 14

MOVX CHARACTERISTICS (NONMULTIPLEXED ADDRESS/DATA BUS) PARAMETER RD Pulse Width WR Pulse Width RD Low to Valid Data In Data Hold After Read Data Float After Read Port 1 Address, Port 4 CE, Port 5 PCE to Valid Data In Port ...

Page 15

Figure 14. Nonmultiplexed 9-Cycle Address/Data CE0-3 MOVX Read/Write Operation ...

Page 16

Figure 15. Nonmultiplexed 9-Cycle Address/Data PCE0-3 MOVX Read/Write Operation ...

Page 17

Figure 16. Nonmultiplexed 2-Cycle Data Memory Figure 17. Nonmultiplexed 2-Cycle Data Memory CE0-3 Read PCE0 - 3 Read or Write ...

Page 18

Figure 18. Nonmultiplexed 2-Cycle Data Memory CE0-3 Write Figure 19. Nonmultiplexed 3-Cycle Data Memory PEC0-3 Read or Write ...

Page 19

Figure 20. Nonmultiplexed 3-Cycle Data Memory CE0-3 Read Figure 21. Nonmultiplexed 3-Cycle Data Memory CE0-3 Write ...

Page 20

Figure 22. Nonmultiplexed 9-Cycle Data Memory PCE0-3 Read or Write Figure 23. Nonmultiplexed 9-Cycle Data Memory CE0-3 Read ...

Page 21

Figure 24. Nonmultiplexed 9-Cycle Data Memory CE0-3 Write t TIME PERIODS MCS SYSTEM CLOCK SELECTION 4X/2X CD1 CD0 EXTERNAL CLOCK CHARACTERISTICS PARAMETER Clock High Time Clock Low Time ...

Page 22

SERIAL PORT MODE 0 TIMING CHARACTERISTICS PARAMETER Serial Port Clock Cycle Time Output Data Setup to Clock Rising Output Data Hold from Clock Rising Input Data Hold After Clock Rising Clock Rising Edge to Input Data Valid SYMBOL CONDITIONS SM2 ...

Page 23

Figure 26. Serial Port 0 (Synchronous Mode) HIGH-SPEED OPERATION, TXD CLK = XTAL/4 (SM2 = 1) TRADITIONAL 8051 OPERATION, TXD CLOCK = XTAL/12 (SM2 = ...

Page 24

POWER-CYCLE TIMING CHARACTERISTICS PARAMETER Crystal Startup Time (Note 14) Power-On Reset Delay (Note 15) Note 14: Startup time for crystals varies with load capacitance and manufacturer. Time shown is for an 11.0592MHz crystal manufactured by Fox Electronics. Note 15: Reset ...

Page 25

PIN DESCRIPTION PIN NAME LQFP PLCC 8, 22, 40, 17, 32, 51 25, 41, 1, 18, 35 RSTOL XTAL2 24 34 ...

Page 26

PIN DESCRIPTION (continued) PIN NAME LQFP PLCC 58–64, 1 2–8, 10 P1.0–P1 (P2. (P2. A10 (P2.2) ...

Page 27

... CAN interface peripheral enable signals. Setting the SP1EC bit will relocate the RXD1 and TXD1 functions to P5.3-P5.2 as described in the High-Speed Microcontroller User’s Guide: DS80C390 Supplement. The reset condition of Port 1 is all bits at logic 1 via a weak pullup. The logic 1 state also serves as an input mode, since external circuits writing to the port can overdrive the weak pullup ...

Page 28

... Figure 28. Block Diagram DS80C390 ...

Page 29

... All of the standard 8051 resources such as three timer/counters, serial port, and four 8-bit I/O ports (plus two 8-bit ports dedicated to memory interfacing) are included in the DS80C390. In addition it includes a second hardware serial port, seven additional interrupts, programmable watchdog timer, brownout monitor, power-fail reset, and a programmable output clock that supports an IrDA interface ...

Page 30

... A, @DPTR” instruction and the “MOV direct, direct” instruction required the same amount of time: two machine cycles or 24 oscillator cycles. In the DS80C390, the MOVX instruction takes as little as two machine cycles, or eight oscillator cycles, but the “MOV direct, direct” uses three machine cycles oscillator cycles ...

Page 31

Table 1. SFR Locations REGISTER BIT7 BIT6 P4 P4.7 P4.6 SP DPL DPH DPL1 DPH1 DPS ID1 ID0 PCON SMOD_0 SMOD0 TCON TF1 TR1 TMOD GATE C/T TL0 TL1 TH0 TH1 CKCON WD1 WD0 P1 INT5/P1.7 INT4/P1.6 INT3/P1.5 INT2/P1.4 TXD1/P1.3 ...

Page 32

Table 1. SFR Locations (continued) REGISTER BIT7 BIT6 C0M14C MSRDY ETI C0M15C MSRDY ETI SCON1 SM0/FE_1 SM1_1 SBUF1 PMR CD1 CD0 STATUS PIP HIP MCON IDM1 IDM0 TA T2CON TF2 EXF2 T2MOD — — RCAP2L RCAP2H TL2 TH2 COR IRDACK ...

Page 33

ON-CHIP ARITHMETIC ACCELERATOR An on-chip math accelerator allows the microcontroller to perform 32-bit and 16-bit multiplication, division, shifting, and normalization using dedicated hardware. Math operations are performed by sequentially loading three special registers. The mathematical operation is determined by the ...

Page 34

... C register (MC;D5h), LSB first. The 40-bit accumulator can be read by performing five reads of the multiplier C register, MSB first. MEMORY ADDRESSING The DS80C390 incorporates three internal memory areas: 256 bytes of scratchpad (or direct) RAM 4kB of SRAM configurable as various combinations of MOVX data memory, stack memory, and MOVC program memory 512 bytes of RAM reserved for the CAN message centers ...

Page 35

... MOVX data memory is reserved for use by the 10-bit expanded stack. Internal memory accesses will not generate WR, RD, or PSEN strobes. The DS80C390 can configure its 4kB of internal SRAM as combined program and data memory. This allows the application software to execute self-modifiable code. The technique loads the 4kB SRAM with bootstrap loader software, and then modifies the IDM1 and IDM0 bits to map the 4kB starting at memory location 40000h ...

Page 36

... STRETCH MEMORY CYCLES The DS80C390 allows user-application software to select the number of machine cycles it takes to execute a MOVX instruction, allowing access to both fast and slow off-chip data memory and/or peripherals without glue logic. High-speed systems often include memory-mapped peripherals such as LCDs or UARTs with slow access times may not be necessary or desirable to access external devices at full speed ...

Page 37

... INC DPS instruction without disturbing other bits in the DPS register. Unlike the standard 8051, the DS80C390 has the ability to decrement as well as increment the data pointers without additional instructions. When the INC DPTR instruction is executed, the active DPTR increments or decrements according to the ID1, ID0 (DPS ...

Page 38

... INC DPTR CLOCK CONTROL AND POWER MANAGEMENT The DS80C390 includes a number of unique features that allow flexibility in selecting system clock sources and operating frequencies. To support the use of inexpensive crystals while allowing full speed operation, a clock multiplier is included in the processor’s clock circuit. Also, in addition to the standard 80C32 idle and power-down (Stop) modes, the DS80C390 provides a new power management mode ...

Page 39

... This means that the maximum crystal oscillator or external clock source is 10MHz when using the 4X setting, and 20MHz when using the 2X setting. The primary advantage of the clock multiplier is that it allows the microcontroller to use slower crystals to achieve the same performance level ...

Page 40

POWER MANAGEMENT MODE (PMM) AND SWITCHBACK Power consumption in PMM is less than in idle mode, and approximately one quarter of that consumed in divide- by-four mode. While PMM and Idle modes leave the power-hungry internal timers running, PMM runs ...

Page 41

... BANDGAP SELECT The DS80C390 provides two enhancements to stop mode. As described below, the device provides a band-gap reference to determine power-fail interrupt and reset thresholds. The bandgap select bit, BGS (RCON.0), controls the bandgap reference. Setting BGS to 1 keeps the bandgap reference enabled during stop mode. The default or reset condition of the bit is logic 0, which disables the bandgap during stop mode ...

Page 42

... The default state of ALEOFF ALE normally toggles at a frequency of XTAL/4. PERIPHERAL OVERVIEW The DS80C390 provides several of the most commonly needed peripheral functions in microcomputer-based systems. New functions include a second serial port, power-fail reset, power-fail interrupt flag, and a programmable watchdog timer. In addition, the microcontroller contains two CAN modules for industrial communication applications. Each of these peripherals is described in the following paragraphs. More details are available in the High-Speed Microcontroller User’ ...

Page 43

... The SCON0 register provides control for serial port 0 while its I/O buffer is SBUF0. The registers SCON1 and SBUF1 provide the same functions for the second serial port. A full description of the use and operation of both serial ports can be found in the High-Speed Microcontroller User’s Guide: DS80C390 Supplement. WATCHDOG TIMER The watchdog is a free-running, programmable timer that can set a flag, cause an interrupt, and/or reset the microcontroller if allowed to reach a preselected timeout ...

Page 44

... The flag is independent of the interrupt enable and must be cleared by software. EXTERNAL RESET PINS The DS80C390 has reset input (RST) and reset output (RSTOL) pins. The RSTOL pin supplies an active-low reset when the microprocessor is issued a reset from either a high on the RST pin, a timeout of the watchdog timer, a crystal oscillator fail internally detected power fail ...

Page 45

... CONTROLLER AREA NETWORK (CAN) MODULE The DS80C390 incorporates two CAN controllers that are fully compliant with the CAN 2.0B specification. CAN is a highly robust, high-performance communication protocol for serial communications. Popular in a wide range of applications including automotive, medical, heating, ventilation, and industrial control, the CAN architecture allows for the construction of sophisticated networks with a minimum of external hardware ...

Page 46

... Note that setting the CMA bit employs a special 23rd address bit that is only used for addressing CAN MOVX memory. The DS80C390’s internal architecture requires that the device be in one of the two 22-bit addressing modes when the CMA bit is set to correctly use the 23rd bit and access the CAN MOVX memory ...

Page 47

MOVX MESSAGE CENTERS FOR CAN 0 REGISTER 7 6 C0MID0 MID07 MID06 C0MA0 M0AA7 M0AA6 C0MID1 MID17 MID16 C0MA1 M1AA7 M1AA6 C0BT0 SJW1 SJW0 C0BT1 SMP TSEG26 C0SGM0 ID28 ID27 C0SGM1 ID20 ID19 C0EGM0 ID28 ID27 C0EGM1 ID20 ID19 C0EGM2 ...

Page 48

MOVX MESSAGE CENTERS FOR CAN 1 REGISTER 7 6 C1MID0 MID07 MID06 C1MA0 M0AA7 M0AA6 C1MID1 MID17 MID16 C1MA1 M1AA7 M1AA6 C1BT0 SJW1 SJW0 C1BT1 SMP TSEG26 C1SGM0 ID28 ID27 C1SGM1 ID20 ID19 C1EGM0 ID28 ID27 C1EGM1 ID20 ID19 C1EGM2 ...

Page 49

... Note that message center 15 can only be used in a receive mode. To avoid a priority inversion, the DS80C390 CAN processors are configured to reload the transmit buffer with the message of the highest priority (lowest message center number) whenever an arbitration is lost or an error condition occurs. ...

Page 50

Table 14. Arbitration/Masking Feature Summary ARBITRATION TEST NAME REGISTERS Message Center Standard 11-Bit Arbitration Registers 0–1 Arbitration (CAN (Located in each 2.0A) Message Center, MOVX memory) Message Center Extended 29-Bit Arbitration Registers 0–3 Arbitration (CAN (Located in each 2.0B) Message ...

Page 51

MESSAGE BUFFERING/OVERWRITE If a message center is configured for reception (T and the previous message has not been read (DTUP = 1), then the disposition of an incoming message to that message center is controlled by the WTOE ...

Page 52

... PACKAGE INFORMATION For the latest package outline information and land patterns www.maxim-ic.com/packages. PACKAGE TYPE 68 PLCC 64 LQFP PACKAGE CODE Q68-1 C64L DOCUMENT NO. 21-0049 21-0083 ...

Page 53

... The Maxim logo is a registered trademark of Maxim Integrated Products, Inc. The Dallas logo is a registered trademark of Dallas Semiconductor Corp. DS80C390 Dual CAN High-Speed Microprocessor DESCRIPTION time period table ...

Related keywords