The M37920S4CGP is a single-chip microcomputers designed with
high-performance CMOS silicon gate technology. These are housed
in 100-pin plastic molded QFP. This microcomputer supports the
7900 Series instruction set, which are enhanced and expanded instruction set and are upper-compatible with the 7700/7751 Series instruction set.
The CPU of this microcomputer is a 16-bit parallel processor that can
also be switched to perform 8-bit parallel processing. Also, the bus
interface unit of this microcomputer enhance the memory access efficiency to execute instructions fast. This microcomputer include the
4-channel DMA controller and the DRAM controller with enhanced
fast page mode. Therefore, this microcomputer are suitable for office, business, and industrial equipment controller that require fast
processing of large data.
DISTINCTIVE FEATURES
<Microcomputer mode>
Number of basic machine instructions .................................... 203
Telecommunications equipment such as copiers, printers, typewriters, facsimiles, optical disk drives, HDD, mobile radio communication equipment, ISDN terminals
Control devices for office automation equipment such as personal
computers
5 V
5 mA
Up to 16 Mbytes. Note that bank FF16 is a reserved area.
–20 to 85 °C
CMOS high-performance silicon gate process
100-pin plastic molded QFP
3
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
PIN DESCRIPTION (Microcomputer mode)
Input/
Output
—
Input
Input
Input
Input
Output
Input
—
Input
Output
Output
Output
I/O
I/O
Input
Output
Output
Output
Output
Output
I/O
Input
Output
I/O
I/O
Apply 5 V±10 % to Vcc, and 0 V to Vss.
This pin controls the processor mode. Connect this pin to VCC.
Connect this pin to Vss.
The microcomputer is reset when “L” level is applies to this pin.
These are input and output pins of the internal clock generating circuit. Connect a
ceramic or quartz- crystal resonator between the XIN and XOUT pins. When an
external clock is used, the clock source should be connected to the XIN pin, and the
XOUT pin should be left open.
This pin determines whether the external data bus has an 8-bit width or 16-bit width
for the memory expansion mode or microprocessor mode. The width is 16 bits when
“L” signal is input, and 8 bits when “H” signal is input.
Power supply input pin for the A-D converter. Connect AVcc to Vcc, and AVss to Vss
externally .
This is the reference voltage input pin for the A-D converter.
The low-order 8 bits of address (A0–A7) are output.
The middle-order 8 bits of address (A8–A15) are input/output. While DRAM space is
accessed, multiplexed address (MA0–MA7) is output.
The high-order 8 bits of address (A16–A23) are output. While DRAM space is ac-
cessed, multiplexed address (MA8–MA11) is output.
The low-order 8 bits of data (D0–D7) are input/output.
■ When 8-bit external data bus is used (BYTE = “H” level)
Port P2 is an 8-bit I/O port.
■ When 16-bit external data bus is used (BYTE = “L” level)
The high-order 8 bits (D8–D15) are input/output.
While the input level at pin RDY is “L”, the microcomputer is placed in the ready
state. While pin RD is at “L” level, the microcomputer reads out data and instruction codes. Also, pin RDY can function as a programmable I/O port pin (P30) by
software.
■ When 8-bit external data bus is used (BYTE = “H” level)
While pin BLW is at “L” level, the microcomputer writes data.
■ When 16-bit external data bus is used (BYTE = “L” level)
While pin BLW is at “L” level, the microcomputer writes data into an evennumbered address.
While pin BHW is at “L” level, the microcomputer writes data into an oddnumbered address.
Signal ALE is used to latch an address. φ1 has the same period as internal clock φ.
Pin P42 functions as a programmable I/O port pin.
While the input level at pin HOLD is at “L” level, the microcomputer is placed in the
hold state. Signal HLDA is used to inform the external that the microcomputer
enters the hold state. By software, pin ALE, clock φ1 output pin, and pins HOLD,
HLDA function as programmable I/O port pins (P40, P41, P43, P44). Pin P42 also
functions as pin TC.
Port P5 is an 8-bit I/O port. These pins also function as I/O pins for timers A0, A2,
and pulse output pins for the real-time output.
Port P6 is a 7-bit I/O port. These pins also function as I/O pins for timers A1, A3,
A4, input pins for DMA requests, and output pins for DMA acknowledge signals.
Reference voltage input
Low-order address
Middle-order address/
DRAM address
High-order address/
DRAM address
Low-order data
I/O port P2/
High-order data
Memory control signal I/O
I/O port P4
I/O port P5
I/O port P6
MITSUBISHI MICROCOMPUTERS
M37920S4CGP
16-BIT CMOS MICROCOMPUTER
Functions
4
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
M37920S4CGP
16-BIT CMOS MICROCOMPUTER
P70–P73
P80–P86
CS0
P91–P96
P120–P122
NMI
NamePin
I/O port P7
I/O port P8
Chip-select output
I/O port P9
I/O port P12
Non-maskable interrupt
Input/
Output
I/O
I/O
Output
I/O
I/O
Input
Functions
Port P7 is a 4-bit I/O port. P72 and P73 also function as input pins for INT3 and
INT4. According to the software setting, these pins also function as input pins for
the A-D converter.
Port P8 is a 7-bit I/O port. These pins also function as I/O pins for UART0, UART1.
This is an output pin for CS0.
Port P9 is a 6-bit I/O port. According to the software setting, P91–P93 also funtion
as chip select output pins. While DRAM space is selected, P94–P96 function as
output pins for DRAM control signals.
Port P12 is a 3-bit I/O port. These pins also functions as input pins for INT0, INT1,
INT2. According to software setting, these pins also function as input pins for timers
B0–B2.
This pin is for a non-maskable interrupt.
5
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
M37920S4CGP
16-BIT CMOS MICROCOMPUTER
BASIC FUNCTION BLOCKS
The M37920S4CGP is the same functions as the M37920F8CGP
except for the following.
Therefore, refer to the datasheet of the M37920F8CGP.
• The M37920S4CGP does not include the internal flash memory.
• The M37920S4CGP operates only in the microprocessor mode.
• The M37920S4CGP does not have the flash memory control register (address 9E16).
• Some of programmable I/O ports of the M37920S4CGP differ from
those of the M37920FGCGP.
Bank 016
Bank 116
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Bank FE16
Bank FF
00000016
00FFFF16
01000016
01FFFF16
FE000016
FEFFFF16
FF000016
16
FFFFFF16
00000016
0000FF16
00080016
000FFF16
00100016
00FFC016
00FFFF16
MEMORY
Figure 1 shows the memory map.
Peripheral devices
control registers
00FFC016
Internal RAM
2048 bytes
00FFFE16
Interrupt vector table
DMA3
DMA2
DMA1
DMA0
Address matching detect
Reserved area (Note 1)
Reserved area (Note 1)
Reserved area (Note 1)
Reserved area (Note 1)
Reserved area (Note 1)
[Port P0 register] (Note 2)
[Port P1 register] (Note 2)
[Port P0 direction register] (Note 2)
[Port P1 direction register] (Note 2)
Port P2 register
Port P3 register
Port P2 direction register
Port P3 direction register
Port P4 register
Port P5 register
Port P4 direction register
Port P5 direction register
Port P6 register
Port P7 register
Port P6 direction register
Port P7 direction register
Port P8 register
Port P9 register
Port P8 direction register
Port P9 direction register
[Port P10 register] (Note 2)
[Port P11 register] (Note 2)
[Port P10 direction register] (Note 2)
[Port P11 direction register] (Note 2)
Port P12 register
Port P12 direction register
A-D control register 0
INT
A-D conversion interrupt control register
UART0 transmit interrupt control register
UART0 receive interrupt control register
UART1 transmit interrupt control register
UART1 receive interrupt control register
Timer A0 interrupt control register
Timer A1 interrupt control register
Timer A2 interrupt control register
Timer A3 interrupt control register
Timer A4 interrupt control register
Timer B0 interrupt control register
Timer B1 interrupt control register
Timer B2 interrupt control register
INT
0 interrupt control register
1 interrupt control register
INT
INT
2 interrupt control register
Notes 1: Do not read/write to this address.
2: These registers are used in the bus fixation of the power saving function. For details, refer to the
section on the power saving function of the M37920F8CGP datasheet.
Fig. 2 Location of peripheral devices’ control registers (1)
Reserved area (Note 1)
Reserved area (Note 1)
Reserved area (Note 1)
Real-time output control register
Pulse output data register 0
Pulse output data register 1
Reserved area (Note 1)
DRAM control register
Refresh timer
CTS/RTS separate select register
DMAC control register L
DMAC control register H
DMA0 interruput control register
DMA1 interruput control register
DMA2 interruput control register
DMA3 interruput control register
Reserved area (Note 1)
Reserved area (Note 1)
Reserved area (Note 1)
Reserved area (Note 1)
Transfer counter
Transfer counter
Transfer counter
DMA3 mode
DMA3 mode
DMA3 control
register 0 L
register 0 M
register 0 H
register 0 L
register 0 M
register 0 H
register L
register H
register
register 1 L
register 1 M
register 1 H
register 1 L
register 1 M
register 1 H
register L
register H
register
register 2 L
register 2 M
register 2 H
register 2 L
register 2 M
register 2 H
register L
register H
register
register 3 L
register 3 M
register 3 H
register 3 L
register 3 M
register 3 H
register L
register H
register
register 0 L
register 0 M
register 0 H
register 1 L
register 1 M
register 1 H
register 2 L
register 2 M
register 2 H
register 3 L
register 3 M
register 3 H
Note 1: Do not read/write to this address.
Fig. 3 Location of peripheral devices’ control registers (2)
8
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
M37920S4CGP
16-BIT CMOS MICROCOMPUTER
Processor mode
The M37920S4CGP operates only in the microprocessor mode exclusive for the external ROM. Be sure to fix the level at pin MD0 to
Vcc and the level at pin MD1 to Vss. Also, be sure to fix bits 1, 0 at
address 5E16 (the processor mode register 0) to “1” and “0”, respectively.
Microprocessor mode
When the microcomputer starts its operation after reset with the level
at pin MD0 = Vcc level (5 V), the microcomputer is placed in the microprocessor mode.
Table 1. Relationship between pins MD0, MD1 and processor mode
Pin MD0
VCC level
(5 V)
Pin MD1
VSS level
(5 V)
Processor mode
After reset, the microcomputer
starts its operation in the microprocessor mode. (Be sure
to pin MD0 to Vcc level.)
9
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
M37920S4CGP
16-BIT CMOS MICROCOMPUTER
76543210
Fig. 4 Processor mode register 0’s bit configuration
Processor mode register 0
Processor mode bits
0 0 : Do not select.
0 1 : Do not select.
1 0 : Microprocessor mode
1 1 : Do not select.
Notes 1: The contents of the other registers and RAM are undefined at reset and must be initialized by software.
2: The status just after reset depends on the voltage level applied to pin MD0.
3: At power-on reset, these bits are clear to “0”. At hardware or software reset, on the other hand, these bits retain the state just before reset.
Fig. 6 Microcomputer internal status just after reset (1)
12
Loading...
+ 27 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.