DS80C390 Maxim, DS80C390 Datasheet - Page 35
![no-image](/images/no-image-200.jpg)
DS80C390
Manufacturer Part Number
DS80C390
Description
The DS80C390 is a fast 8051-compatible microprocessor with dual CAN 2
Manufacturer
Maxim
Datasheet
1.DS80C390.pdf
(53 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DS80C390-FCR
Manufacturer:
Maxim Integrated
Quantity:
10 000
Company:
Part Number:
DS80C390-FCR+
Manufacturer:
MAXIM
Quantity:
228
Company:
Part Number:
DS80C390-FCR+
Manufacturer:
Maxim Integrated
Quantity:
10 000
Company:
Part Number:
DS80C390-FNR
Manufacturer:
Maxim Integrated
Quantity:
10 000
Company:
Part Number:
DS80C390-FNR+
Manufacturer:
MAXIM
Quantity:
59
Company:
Part Number:
DS80C390-FNR+
Manufacturer:
Maxim Integrated
Quantity:
10 000
Company:
Part Number:
DS80C390-QCR
Manufacturer:
Maxim Integrated
Quantity:
10 000
Company:
Part Number:
DS80C390-QCR+
Manufacturer:
Maxim Integrated Products
Quantity:
135
Company:
Part Number:
DS80C390-QCR+
Manufacturer:
MAXIM
Quantity:
17
Company:
Part Number:
DS80C390QCR
Manufacturer:
MURATA
Quantity:
20 000
INTERNAL MOVX SRAM
The DS80C390 contains 4kB of SRAM that can be configured as user accessible MOVX memory, program
memory, or optional stack memory. The specific configuration and locations are governed by the internal data
memory configuration bits (IDM1, IDM0) in the memory control register (MCON;C6h). Note that when the SA bit
(ACON.2) is set, the first 1kB of the 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. This
allows the system to run the bootstrap loader without disturbing the 4MB external memory bus, making the device
in-system reprogrammable for flash or NV RAM.
Table 5. Internal MOVX SRAM Configuration
*10-bit expanded stack is not available in shared program/data memory mode.
EXTERNAL MEMORY ADDRESSING
The enabling and mapping of the chip-enable signals is done through the Port 4 control register (P4CNT;92h) and
memory control register (MCON; 96h).
Port 4. Following reset, the device will be configured with P4.7–P4.4 as address lines and P4.3–P4.0 configured as
CE3-0, with the first program fetch being performed from 00000h with CE0 active. The following tables illustrate
which memory ranges are controlled by each chip enable as a function of which address lines are enabled.
Table 6. External Memory Addressing Pin Assignments
Table 7. Extended Address and Chip-Enable Generation
IDM1
ADDRESS/DATA
111(default)
P4CNT.5–3
0
0
0
0
1
1
1
1
Demultiplexed
Multiplexed
000
100
101
110
BUS
IDM0
0
0
1
1
0
0
1
1
CMA
P4.7
A19
1
1
1
1
I/O
I/O
I/O
I/O
0
0
0
0
P4.3–P4.0
P4.3–P4.0
PORT 4 PIN FUNCTION
CE3–CE0
P4.6
A18
A18
I/O
I/O
I/O
00F000h–00FFFFh
00F000h–00FFFFh
000000h–000FFFh
000000h–000FFFh
400000h–400FFFh
400000h–400FFFh
MOVX DATA
—
—
P4.5
A17
A17
A17
I/O
I/O
Table 7
PCE3–PCE0
P5.7–P5.4
P5.7–P5.4
shows which chip-enable and address line signals are active on
P4.4
A16
A16
A16
A16
I/O
35 of 53
ADDR 19–16
P4.7–P4.4
P4.7–P4.4
P4CNT.2–0
111(default)
00EE00h–00EFFFh
00EE00h–00EFFFh
00EE00h–00EFFFh
00EE00h–00EFFFh
401000h–4011FFh
401000h–4011FFh
401000h–4011FFh
401000h–4011FFh
CAN MESSAGE
000
100
101
110
MEMORY
ADDR 15–8
P4.3
CE3
P2
P2
I/O
I/O
I/O
I/O
PORT 4 PIN FUNCTION
P4.2
CE2
CE2
SHARED PROGRAM/DATA
I/O
I/O
I/O
ADDR 7–0
400000h–400FFFh*
400000h–400FFFh*
P0
P1
P4.1
CE1
CE1
CE1
I/O
I/O
—
—
—
—
—
—
DATA BUS
P0
P0
P4.0
CE0
CE0
CE0
CE0
I/O