The M32000D4BFP-80 is a new generation microcomputer with a
32-bit CPU and built-in high capacity DRAM. Using this device it is
possible to implement the complex applications of the multimedia
age with high performance and low power consumption.
The M32000D4BFP-80 contains 2M bytes of DRAM and 4K bytes of
cache memory. The CPU is implemented with a RISC architecture
and has a high performance figure of 62.9 MIPS (at an internal clock
rate of 80 MHz). Memory for main storage is provided internally to
the device eliminating external memory and associated control circuits thus reducing overall system noise and power consumption.
The CPU, internal DRAM and cache memory are connected by a
128-bit, 12.5 ns/cycle (at internal 80MHz) internal bus which virtually
eliminates transfer bottlenecks in between the CPU and the memory.
The M32000D4BFP-80 internally multiplies the frequency of the input clock signals by four. For an internal operating frequency of 80
MHz the input clock frequency is 20 MHz.
A 16-bit data and 24-bit address bus are the M32000D4BFP-80's
external bus and the interface to external peripheral controllers. When
the hold state is set, the internal DRAM can be accessed from an
external device.
A 3-chip basic system configuration using the M32000D4BFP-80 is
the device itself plus an ASIC as a peripheral controller and a program ROM. Execution starts from the reset vector entry on the external ROM after power on, a program requiring high speed execution
is then transferred to internal DRAM and this is then executed. The
M32000D4BFP-80 also has a slave mode additional to its master
mode. When set to slave mode the M32000D4BFP-80 can be used
as a coprocessor. In this mode it does not access its external bus
immediatly after reset, but waits for the master to start its operation.
FEATURES
CPU ..........................................................M32R family CPU core
• instruction set
16-bit/32-bit instruction format
83 instructions/6 addressing modes
• multiply-accumulate operation built in
• internal DRAM control, refresh control
• power management function (standby mode, CPU sleep mode selection control)
____ ____
4
PIN FUNCTION DIAGRAM
MITSUBISHI MICROCOMPUTERS
M32000D4BFP-80
SINGLE-CHIP 32-BIT CMOS MICROCOMPUTER
clock
system control
address bus
data bus
CLKIN
PLLCAP
PLLVCC
PLLVSS
RST
M/S
WKUP
STBY
A8 - A30
D0 - D15
23
16
SID
BCL
BCH
BS
ST
R/W
BURST
DC
HREQ
HACK
CS
M32000D4BFP-80
INT
SBI
PP0
PP1
bus control
interrupt input
programmable I/O port
1615
VCC VSS
5
MITSUBISHI MICROCOMPUTERS
M32000D4BFP-80
SINGLE-CHIP 32-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION (1/3)
typepin namenameI/Ofunction
powerVCCpower source–All power source pins should be connected to VCC.
sourceVSSground–All ground pins should be connected to VSS.
clockCLKINclock inputinputClock input pin. The M32000D4BFP-80 has an internal PLL
PLLCAPC connection–Connects a capacitor for the internal PLL.
for PLL
PLLVCCpower source–Power source for the internal PLL.
for PLL
PLLVSSground–Ground for the internal PLL.
system
controlfrom standby mode and CPU sleep mode.
____
RSTresetinputInternally resets the M32000D4BFP-80. It is also used to return
_
M/Smaster/slaveinputSets the M32000D4BFP-80 default operation to either system
______
WKUPwakeupinputInput pin to request return from standby mode.
_____
STBYstandbyoutputIndicates that the M32000D4BFP-80 has switched to standby
for PLL
addressA8 to A30address busI/OThe M32000D4BFP-80 has a 24-bit address (A8 to A31) bus for
bus(Hi-Z)*a 16 MB address space. A31 is not output. During the write
data busD0 to D15data busI/O16-bit data bus for connecting to external devices.
(Hi-Z)*
* (Hi-Z): This pin goes to high-impedance in the hold state.
multiplier circuit, and an input clock which is 1/4 of the internal
operating frequency (when the internal operating frequency is
80 MHz, the CLKIN input is 20 MHz).
bus master (M/S = "H") or bus slave (M/S = "L").
__
When the M32000D4BFP-80 is set to bus slave, it does not carry
out a reset vector entry fetch after a reset.
The setting of M/S cannot be changed during operation.
_
Keep at either an "H" or an "L" level.
This is only accepted when STBY is "L" level.
_____
It generates the wakeup interrupt.
mode. An "L" level is output while the device is in standby
mode.
cycle, the valid byte positions on the 16-bit data bus are output
____ ____
as BCH or BCL. During the read cycle, the 16-bit data bus is
read, however,only data in the valid byte positions is transferred
to the M32000D4BFP-80.
Address bus pins are bidirectional. When accessing the internal
DRAM from an external bus master while the M32000D4BFP-80
is in the hold state, input the address from the system bus side.
6
MITSUBISHI MICROCOMPUTERS
M32000D4BFP-80
SINGLE-CHIP 32-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION (2/3)
typepin namenameI/Ofunction
busSIDspaceoutputSpace identifier between user space and I/O space.
controlidentifier(Hi-Z)*SID = "L": user space
____ ____
BCH, BCLbyte controlI/OIndicates the valid byte positions of transferred data.
(Hi-Z)*
__
BSbus startoutput__When the M32000D4BFP-80 drives an external bus cycle, BS
(Hi-Z)*
STbus statusoutputIndicates whether the bus cycle that the M32000D4BFP-80 drives
(Hi-Z)*
__
R/Wread/writeI/O
(Hi-Z)*
______
BURSTburstoutputThe M32000D4BFP-80 drives two consecutive bus cycles to access
(Hi-Z)*
* (Hi-Z): This pin goes to high-impedance in the hold state.
SID = "H": I/O space
SID = undefined: when idle
________
BCH corresponds to the MSB side (D0 to D7), and BCL corresponds
to the LSB side (D8 to D15). During a read bus cycle, both BCH
____
and BCL are an "L" level.
________
During a write bus cycle, either BCH and/or BCL is an "L" level
depending on the byte(s) to be written.
When accessing the internal DRAM from an external bus master,
the byte control signal is input from the system bus side.
goes to an "L" level at the start of the bus cycle.
In burst transfer, BS goes to the "L" level for each transfer
cycle. When accessing internal resources such as an internal
DRAM or internal I/O register, BS is not output.
__
__
is an instruction fetch access cycle or an operand access cycle.
ST = "L": for instruction fetch access
ST = "H": for operand access
ST = undefined: when idle
__
Outputs R/W to identify whether the external bus cycle a read or
a write cycle. When accessing the internal DRAM from an external
__
bus master, R/W is input from the external bus.
32-bit data allocated on the 32-bit word boundary.
For instruction fetches, it drives 8 (max.) consecutive cycles
(8 cycles in instruction cache mode) to data on the 128-bit boundary.
______
During these consecutive bus cycles, BURST goes to "L" level.
When accessing 32-bit data, an "L" level followed by an "H" level
is output from address A30, because the MSB-side 16 bits are
accessed prior to the LSB-side 16 bits.
When accessing 128-bit data, the addresses are output from an
arbitrary 16-bit aligned address and wraparound within a 128-bit
aligned boundary.
____
7
MITSUBISHI MICROCOMPUTERS
SINGLE-CHIP 32-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION (3/3)
type pin name name I/O function
bus
control
(cont.) device in the system bus.
interrupt
controller
programm- PP0, PP1 port I/O Two programmable I/O ports.
able I/O port
* This pin goes to high-impedance in the hold state.
__ __
The DC pin becomes an output pin when the CS signal is input to the M32000D4BFP-80.
__
DC* data complete I/O When the M32000D4BFP-80 drives an external bus cycle, it
(Hi-Z)
automatically inserts wait cycles until DC is input by the slave
When the M32000D4BFP-80 is in the hold state and the internal
DRAM is accessed from an external bus master,the
M32000D4BFP-80 outputs DC to notify to the external bus master
______
HREQ hold input
_____
HACK hold output Indicates that the M32000D4BFP-80 has switched to the hold
__
CS chip input Signal input to the M32000D4BFP-80 when it is in the hold state
acknowledge state and releases the bus right of the system bus to the requestor.
that the bus cycle to the internal DRAM has been completed.
Bus right request input pin of the system bus. When HREQ is an
"L" level, the M32000D4BFP-80 switches to the hold state.
select to request access to the internal DRAM from an external bus
master. When an "L"level is input to CS, the M32000D4
BFP-80 accesses the internal DRAM at the address input via
___
SBI system input
break
___
INT external input External interrupt request input pin. It is also used to return from
interrupt
the address pins.
System break interrupt input pin. The SBI is not masked by the
IE bit in the PSW register. It is also used to return from CPU
sleep mode and to request the start of operation in slave mode.
interrupt CPU sleep mode and to request the start of operation the slave
mode.
M32000D4BFP-80
__
__
______
__
___
8
MITSUBISHI MICROCOMPUTERS
M32000D4BFP-80
SINGLE-CHIP 32-BIT CMOS MICROCOMPUTER
FUNCTIONAL DESCRIPTION
CPU
The M32R CPU has 16 general-purpose registers, 5 control registers, an accumulator and a program counter. The accumulator is of
64-bit width. The registers and program counter are of 32-bit width.
General-purpose registers
The 16 general-purpose registers (R0 - R15) are of 32-bit width and
are used to retain data and base addresses. R14 is used as the link
register and R15 as the stack pointer (SPI or SPU). The link register
is used to store the return address when executing a subroutine call
instruction. The interrupt stack pointer (SPI) and the user stack pointer
(SPU) are alternatively represented by R15 depending on the value
of the stack mode bit (SM) in the processor status word register (PSW).
R0
R1
R2
R3
R4
R5
R6
R7
310
R8
R9
R10
R11
R12
R13
R14 (link register)
R15 (stack pointer)
310
(see note)
Control registers
There are 5 control registers which are the processor status word
register (PSW), the condition bit register (CBR), the interrupt stack
pointer (SPI), the user stack pointer (SPU) and the backup PC (BPC).
The MVTC and MVFC instructions are used for writing and reading
these control registers.
SPI
SPU
BPC
310
processor status word register
condition bit register
interrupt stack pointer
user stack pointer
backup PC
(see notes)
CRn
CR0
CR1
CR2
CR3
CR6
Notes 1: CRn (n = 0 - 3, 6) denotes the control register number.
2: The MVTC and MVFC instructions are used for writing
and reading these control registers.
Fig. 2 Control registers
PSW
CBR
Note: The interrupt stack pointer (SPI) and the user stack pointer (SPU) are
alternatively represented by R15 depending on the value of the stack
mode bit (SM) in the PSW.
Fig. 1 General-purpose registers
9
MITSUBISHI MICROCOMPUTERS
M32000D4BFP-80
SINGLE-CHIP 32-BIT CMOS MICROCOMPUTER
Processor status word register
The processor status word register (PSW) shows the M32R CPU
status. It consists of the current PSW field, and the BPSW field where
a copy of the PSW field is saved when EIT occurs.
The PSW field is made up of the stack mode bit (SM), the interrupt
enable bit (IE) and the condition bit (C). The BPSW field is made up
of the backup stack mode bit (BSM), the backup interrupt enable bit
(BIE) and the backup condition bit (BC).
BPSW fieldPSW field
16 1723 24 253115870
SMIECBCBSMBIE
Dbit namefunctioninit.RW
16BSM (backup SM)saves value of SM bit when EIT occursundefined
17BIE (backup IE)saves value of IE bit when EIT occursundefined
23BC (backup C)saves value of C bit when EIT occursundefined
00000000000000000000000000PSW
24SM (stack mode)0: uses R15 as the interrupt stack pointer0
25IE (interrupt enable)0: does not accept interrupt0
31C (condition bit)indicates carry, borrow and overflow resulting0
Note: "init." ...initial state immediately after reset
"R" .... : read enabled
"W" .... : write enabled
Fig. 3 Processor status word register
1: uses R15 as the user stack pointer
1: accepts interrupt
from operations (instruction dependent)
10
MITSUBISHI MICROCOMPUTERS
M32000D4BFP-80
SINGLE-CHIP 32-BIT CMOS MICROCOMPUTER
Condition bit register
The condition bit register (CBR) is a separate read-only register which
contains a copy of the current value of the condition bit (C) in the
PSW. An attempt to write to the CBR with the MVTC instruction is
ignored.
Interrupt stack pointer, User stack pointer
The interrupt stack pointer (SPI) and the user stack pointer (SPU)
retain the current stack address. The SPI and SPU can be accessed
as the general-purpose register R15. R15 switches between representing the SPI and SPU depending on the value of the stack mode
bit (SM) in the PSW.
SPI
SPUSPU
Backup PC
The backup PC (BPC) is the register where a copy of the PC value is
saved when EIT occurs. Bit 31 is fixed at "0". When EIT occurs, the
PC value immediately before EIT occurrence or that of the next instruction is set. The value of the BPC is reloaded to the PC when the
RTE instruction is executed. However, the values of the lower 2 bits
of the PC become "00" on returning (It always returns to the word
boundary).
310
00000000000000000000000000CBRC00000
310
SPI
310
310
BPCBPC0
Fig. 4 Condition bit register, interrupt stack pointer, user stack pointer and backup PC
11
MITSUBISHI MICROCOMPUTERS
M32000D4BFP-80
SINGLE-CHIP 32-BIT CMOS MICROCOMPUTER
Accumulator
The accumulator (ACC) is a 64-bit register used for DSP type functions. Use the MVTACHI and MVTACLO instructions for writing to
the accumulator. The high-order 32 bits (bit 0 - bit 31) can be set with
the MVTACHI instruction and the low-order 32 bits (bit 32 - bit 63)
can be set with the MVTACLO instruction. Use the MVFACHI,
MVFACLO and MVFACMI instructions for reading from the accumu-
lator. The high-order 32 bits (bit 0 - bit 31) are read with the MVFACHI
instruction, the low order 32 bits (bit 32 - bit 63) with the MVFACLO
instruction and the middle 32 bits (bit 16 - bit 47) with the MVFACMI
instruction.
(see note)
ACC
read/write range with
MVTACHI or MVFACHI instruction
Note: Bits 0 - 7 are always read as the sign-extended value of bit 8.
An attempt to write to this area is ignored.
read range with MVFACMI instruction
Program counter
The program counter (PC) is a 32-bit counter that retains the address of the instruction being executed. Since the M32R CPU instruction starts with even-numbered addresses, the LSB (bit 31) is
always "0".
32486331161504778
read/write range with
MVTACLO or MVFACLO instruction
Fig. 5 Accumulator
Fig. 6 Program counter
310
PCPC0
12
MITSUBISHI MICROCOMPUTERS
M32000D4BFP-80
SINGLE-CHIP 32-BIT CMOS MICROCOMPUTER
Data types
Signed and unsigned integers of byte (8 bits), halfword (16 bits), and
word (32 bits) types are supported as data in the M32R CPU instruction set. A signed integer is represented in a 2's complement format.
signed byte
(8-bit) integer
unsigned byte
(8-bit) integer
signed halfword
(16-bit) integer
unsigned halfword
(16-bit) integer
signed word
(32-bit) integer
unsigned word
(32-bit) integer
Fig. 7 Data type
0
S
0
0
S
0
0
S
0
7
7
15
15
31
31
S: sign bit
Data formats
Data size of a register of the M32R CPU is always a word (32 bits).
Byte (8 bits) and halfword (16 bits) data in memory are sign-extended
(the LDB and LDH instructions) or zero-extended (the LDUB and
LDUH instructions) to 32 bits, and loaded into the register.
Word (32 bits) data in a register is stored to memory by the ST instruction. Halfword (16 bits) data in the LSB side of a register is stored
to memory by the STH instruction. Byte (8 bits) data in the LSB side
of a register is stored to memory by the STB instruction.
Data stored in memory can be one of these types: byte (8 bits),
halfword (16 bits) or word (32 bits).
Although the byte data can be located at any address, the halfword
data and the word data can only be located on the halfword boundary and the word boundary, respectively. If an attempt is made to
access data in memory which is not located on the correct boundary,
an address exception occurs.
<data format in a register>
< load >
Rn
Rn
Rn
< store >
Rn
Rn
Rn
sign-extention (LDB instruction) or
zero-extention (LDUB instruction)
031
sign-extention (LDH instruction) or
zero-extention (LDUH instruction)
031
from memory (LD instruction)
031
031
031
031
from memory (LDH, LDUH instruction)
16
halfword
word
16
halfword
to memory (STH instruction)
word
from memory
(LDB, LDUB instruction)
24
byte
24
byte
to memory (STB instruction)
<data format in memory>
+ 0+ 1+ 2+ 3
031
byte
halfword
word
7 815 1623 24
byte
halfword
address
byte
byte
byte
halfword
word
Fig. 8 Data format
to memory (ST instruction)
13
MITSUBISHI MICROCOMPUTERS
M32000D4BFP-80
SINGLE-CHIP 32-BIT CMOS MICROCOMPUTER
Address space
The M32000D4BFP-80 logical address is 32-bit wide and offers 4
GB linear space. The M32000D4BFP-80 has address spaces allocated as shown below.
The user space is specified by SID = 0 (H'0000 0000 to H'7FFF FFFF).
The area available to the user is 16 MB from address H'0000 0000
to address H'00FF FFFF.
The I/O space is specified by SID = 1 (H'8000 0000 to H'FFFF FFFF).
The area available to the user is 16 MB from address H'FF00 0000
to address H'FFFF FFFF. The I/O space cannot be cached.
< logical space >
(except for reset interrupt)
logical address
H'0000 0000
(16M bytes)
These areas below are allocated in each space.
• User space
internal DRAM area
external area
• I/O space
user I/O area
system area
internal I/O area
< physical space >
EIT vector entry
logical address
H'0000 0000
H'001F FFFF
H'0020 0000
internal DRAM
area (2M bytes)
SID
0 : H'00 0000
0 : H'1F FFFF
0 : H'20 0000
physical address
(24 bits)
user space
(SID = 0)
H'7FFF FFFF
H'8000 0000
I/O space
(SID = 1)
H'FFFF FFFF
(16M bytes)
H'00FF FFFF
EIT vector entry
(reset interrupt)
logical address
H'FF00 0000
H'FF7F FFFF
H'FF80 0000
H'FFBF FFFF
H'FFC0 0000
H'FFFF FFFF
external area
(14M bytes)
user I/O area
(8M bytes)
system area
(4M bytes)
internal I/O area
(4M bytes)
0 : H'FF FFFF
physical address
SID
(24 bits)
1 : H'00 0000
1 : H'7F FFFF
1 : H'80 0000
1 : H'BF FFFF
1 : H'C0 0000
1 : H'FF FFFF
Fig. 9 Address space
14
Loading...
+ 30 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.