The 7534 Group is the 8-bit microcomputer based on the 740 family
core technology.
The 7534 Group has a USB, 8-bit timers, and an A-D converter, and
is useful for an input device for personal computer peripherals.
Mask ROM version
Mask ROM version
Mask ROM version
One Time PROM version (blank)
One Time PROM version (blank)
Emulator MCU
RAM size
(Byte)
Remarks
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7534 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
FUNCTIONAL DESCRIPTION
Central Processing Unit (CPU)
The 7534 Group uses the standard 740 family instruction set. Refer
to the table of 740 family addressing modes and machine-language
instructions or the 740 Family Software Manual for details on each
instruction set.
Machine-resident 740 family instructions are as follows:
Not used (returns “0” when read)
(Do not write “1” to these bits )
[CPU Mode Register] CPUM
The CPU mode register contains the stack page selection bit.
This register is allocated at address 003B
16
)
Not available
16.
Main clock division ratio selection bits
b7 b6
0 0 : f(φ) = f(X
0 1 : f(φ) = f(X
1 0 : applied from ring oscillator
1 1 : f(φ) = f(X
Fig. 8 Structure of CPU mode register
Switching method of CPU mode register
Switch the CPU mode register (CPUM) at the head of program after
releasing Reset in the following method.
After releasing reset
Wait until establish ceramic oscillator
clock.
Switch the clock division ratio
selection bits (bits 6 and 7 of CPUM)
Main routine
Note. After releasing reset the operation starts by starting a ring oscillator automatically.
Do not use a ring oscillator at ordinary operation.
Fig. 9 Switching method of CPU mode register
IN
)/2 (High-speed mode)
IN
)/8 (Middle-speed mode)
IN
) (Double-speed mode)
Start with a built-in ring oscillator (Note)
Switch to other mode except a ring oscillator
(Select one of 1/1, 1/2, and 1/8)
9
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7534 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Memory
Special function register (SFR) area
The SFR area in the zero page contains control registers such as I/O
ports and timers.
RAM
RAM is used for data storage and for a stack area of subroutine calls
and interrupts.
ROM
The first 128 bytes and the last 2 bytes of ROM are reserved for
device testing and the rest is a user area for storing programs.
Interrupt vector area
The interrupt vector area contains reset and interrupt vectors.
RAM
RAM area
RAM capacity
(bytes)
256
384
address
XXXX
013F
01BF
16
16
16
Zero page
The 256 bytes from addresses 0000
16 to 00FF16 are called the zero
page area. The internal RAM and the special function registers (SFR)
are allocated to this area.
The zero page addressing mode can be used to specify memory and
register addresses in the zero page area. Access to this area with
only 2 bytes is possible in the zero page addressing mode.
Special page
The 256 bytes from addresses FF00
16 to FFFF16 are called the spe-
cial page area. The special page addressing mode can be used to
specify memory addresses in the special page area. Access to this
area with only 2 bytes is possible in the special page addressing
mode.
0000
16
0040
0100
XXXX
0440
YYYY
ZZZZ
SFR area
16
16
16
Reserved area
16
Not used
16
Reserved ROM area
(128 bytes)
16
Zero page
ROM area
ROM capacity
(bytes)
8192
16384
Fig. 10 Memory map diagram
10
address
YYYY
E000
C000
ROM
FF00
16
address
16
16
16
ZZZZ
E080
C080
16
16
16
FFEC
FFFE
FFFF
16
Interrupt vector area
16
Reserved ROM area
16
Special page
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7534 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Port P0 (P0)
0000
16
Port P0 direction register (P0D)
0001
16
Port P1 (P1)
0002
16
Port P1 direction register (P1D)
0003
16
Port P2 (P2)
0004
16
Port P2 direction register (P2D)
0005
16
Port P3 (P3)
0006
16
Port P3 direction register (P3D)
0007
16
Port P4 (P4)
0008
16
Port P4 direction register (P4D)
0009
16
000A
16
000B
16
000C
16
000D
16
000E
16
000F
16
0010
16
0011
16
0012
16
0013
16
0014
16
0015
16
Pull-up control register (PULL)
0016
16
Port P1P3 control register (P1P3C)
0017
16
Transmit/Receive buffer register (TB/RB)
0018
16
USB status register (USBSTS)/UART status register (UARTSTS)
0019
16
Serial I/O1 control register (SIO1CON)
001A
16
UART control register (UARTCON)
001B
16
Baud rate generator (BRG)
001C
16
USB data toggle synchronization register ( TRSYNC)
001D
16
USB interrupt source discrimination register 1 (USBIR1)
001E
16
USB interrupt source discrimination register 2 (USBIR2)
001F
16
USB interrupt control register (USBICON)
0020
16
USB transmit data byte number set register 0 (EP0BYTE)
0021
16
USB transmit data byte number set register 1 (EP1BYTE)
0022
16
USBPID control register 0 (EP0PID)
0023
16
USBPID control register 1 (EP1PID)
0024
16
USB address register (USBA)
0025
16
USB sequence bit initialization register (INISQ1)
0026
16
0027
16
USB control register (USBCON)
Prescaler 12 (PRE12)
0028
16
Timer 1 (T1)
0029
16
Timer 2 (T2)
002A
16
Timer X mode register
002B
16
Prescaler X
002C
16
(TX)
Timer X
002D
16
Timer count source set register (TCSS)
002E
16
002F
16
Serial I/O2 control register (SIO2CON)
0030
16
Serial I/O2 register (SIO2)
0031
16
0032
16
0033
16
A-D control register (ADCON)
0034
16
A-D conversion register (low-order) (ADL)
0035
16
A-D conversion register (high-order) (ADH)
0036
16
0037
16
MISRG
0038
16
Watchdog timer control register (WDTCON)
0039
16
Interrupt edge selection register
003A
16
CPU mode register (CPUM)
003B
16
Interrupt request register 1 (IREQ1)
003C
16
003D
16
Interrupt control register 1 (ICON1)
003E
16
003F
16
(PREX)
(TM)
(INTEDGE)
Fig. 11 Memory map of special function register (SFR)
11
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7534 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
I/O Ports
[Direction registers] PiD
The I/O ports have direction registers which determine the input/output direction of each pin. Each bit in a direction register corresponds
to one pin, and each pin can be set to be input or output.
When “1” is set to the bit corresponding to a pin, this pin becomes an
output port. When “0” is set to the bit, the pin becomes an input port.
When data is read from a pin set to output, not the value of the pin
itself but the value of port latch is read. Pins set to input are floating,
and permit reading pin values.
If a pin set to input is written to, only the port latch is written to and the
pin remains floating.
b7 b0
[Pull-up control] PULL
By setting the pull-up control register (address 0016
P3 can exert pull-up control by program. However, pins set to output
are disconnected from this control and cannot exert pull-up control.
[Port P1P3 control] P1P3C
By setting the port P1P3 control register (address 0017
input level or a TTL input level can be selected for ports P1
P13, P36 and P37 by program.
Then, as for the 36-pin version, set “1” to each bit 6 of the port P3
direction register and port P3 register.
As for the 32-pin version, set “1” to respective bits 5, 6, 7 of the port
P3 direction register and port P3 register.
Pull-up control register
(PULL: address 0016
16
)
16), ports P0 and
16), a CMOS
0, P12,
P00 pull-up control bit
1
pull-up control bit
P0
P0
2
, P03 pull-up control bit
4
– P07 pull-up control bit
P0
P3
0
– P33 pull-up control bit
Note : Pins set to output ports are disconnected from pull-up control.
Note: Port P10, P12, P13, P36, P37 is CMOS/TTL level.
Name
I/O port P0
I/O port P1
I/O port P2
I/O port P3
I/O port P4
Input/output
I/O individual
bits
•CMOS compatible input level
•CMOS 3-state output
•USB input/output level when
selecting USB function
•CMOS compatible input level
•CMOS 3-state output
(Note)
I/O format
MITSUBISHI MICROCOMPUTERS
7534 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Non-port function
Key input interrupt
Serial I/O1 function
input/output
Serial I/O2 function
input/output
Timer X function input/output
A-D conversion input
External interrupt input
Related SFRs
Pull-up control register
Serial I/O1 control
register
Serial I/O2 control
register
Timer X mode register
A-D control register
Interrupt edge selection
register
Diagram No.
(1)
(2)
(3)
(4)
(5)
(6)
(10)
(7)
(8)
(9)
(10)
13
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7534 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
(1) Port P0
Pull-up control
Direction
register
Data bus
(3) Port P1
Serial I/O1 mode selection bit (b7)
Serial I/O1 mode selection bit (b6)
Serial I/O1 mode selection bit (b7)
Serial I/O1 mode selection bit (b6)
Data bus
Port latch
To key input interrupt
1
P-channel output disable bit
Transmit enable bit
Direction
register
Port latch
generating circuit
(2) Port P1
Serial I/O1 mode selection bit (b7)
Serial I/O1 mode selection bit (b6)
Serial I/O1 mode selection bit (b7)
Serial I/O1 mode selection bit (b6)
Data bus
0
Receive enable bit
Direction
register
Port latch
+
Serial I/O1 input
D- input
D- output
USB output enable
(internal signal)
USB differential input
0
,P12,P13 input
P1
level selection bit
*
Serial I/O1 output
(4) Port P1
Data bus
2
CLK
pin selection bit
S
Direction
register
Port latch
Serial I/O2 clock output
Serial I/O2 clock input
: P1
0
, P12, P13, P36, P37 input levels are switched to the CMOS/TTL level by the port P1P3 control register.
*
When the TTL level is selected, there is no hysteresis characteristics.
Fig. 14 Block diagram of ports (1)
D+ input
D+ output
USB output enable
(internal signal)
P1
0
,P12,P13 input
level selection bit
(5) Port P1
Data bus
*
3
Signals during the
DATA
output action
S
S
DATA
pin selection bit
Serial I/O2 clock output
Direction
register
Port latch
Serial I/O2 clock input
DATA
pin
S
selection bit
P1
0
,P12,P13 input
level selection bit
*
14
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7534 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
(6) Port P1
4
Data bus
Pulse output mode
(8) Ports P30 – P3
Data bus
Direction
register
Port latch
Timer output
5
Pull-up
Direction
register
Port latch
CNTR
0
interrupt input
control
(7) Ports P20 – P2
Data bus
(9) Port P36, P3
Data bus
7
7
Direction
register
Port latch
A-D conversion input
Pull-up
Direction
register
Port latch
Analog input pin selection bit
control
P3
7
/INT0 input
level selection bit
(10) Ports P1
Data bus
5, P16
, P4
0, P41
Direction
register
Port latch
Fig. 15 Block diagram of ports (2)
INT
interrupt input
*
: P1
0
, P12, P13, P36, P37 input levels are switched to the CMOS/TTL level by the port P1P3 control register.
*
When the TTL level is selected, there is no hysteresis characteristics.
15
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7534 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Interrupts
Interrupts occur by 14 different sources : 4 external sources, 9 internal sources and 1 software source.
Interrupt control
All interrupts except the BRK instruction interrupt have an interrupt
request bit and an interrupt enable bit, and they are controlled by the
interrupt disable flag. When the interrupt enable bit and the interrupt
request bit are set to “1” and the interrupt disable flag is set to “0”, an
interrupt is accepted.
The interrupt request bit can be cleared by program but not be set.
The interrupt enable bit can be set and cleared by program.
It becomes usable by switching CNTR
with bit 7 of the interrupt edge selection register, timer 2 and serial I/
O2 interrupt sources with bit 6, timer X and key-on wake-up interrupt
sources with bit 5, and serial I/O transmit and INT
with bit 4.
The reset and BRK instruction interrupt can never be disabled with
any flag or bit. All interrupts except these are disabled when the interrupt disable flag is set.
When several interrupts occur at the same time, the interrupts are
received according to priority.
2: Reset function in the same way as an interrupt with the highest priority.
0 and A-D interrupt sources
1 interrupt sources
Vector addresses (Note 1)
High-order
FFFD16
FFFB16
FFF916
FFF716
FFF516
FFF316
FFF116
FFEF16
FFED16
Low-order
FFFC16
FFFA16
FFF816
FFF616
FFF416
FFF216
FFF016
FFEE16
FFEC16
Interrupt request generating conditions
At reset input
At completion of UART data receive
At detection of IN token
At completion of UART transmit shift or
when transmit buffer is empty
At detection of SETUP/OUT token or
At detection of Reset/ Suspend/ Resume
At detection of either rising or falling edge
1 input
of INT
At detection of either rising or falling edge
0 input
of INT
At timer X underflow
At falling of conjunction of input logical
level for port P0 (at input)
At timer 1 underflow
At timer 2 underflow
At completion of transmit/receive shift
At detection of either rising or falling edge
of CNTR
At completion of A-D conversion
At BRK instruction execution
Interrupt operation
Upon acceptance of an interrupt the following operations are automatically performed:
1. The processing being executed is stopped.
2. The contents of the program counter and processor status register are automatically pushed onto the stack.
3. The interrupt disable flag is set and the corresponding interrupt
request bit is cleared.
4. Concurrently with the push operation, the interrupt destination
address is read from the vector table into the program counter.
Notes on use
When the active edge of an external interrupt (INT
0, INT1, CNTR0) is
set, the interrupt request bit may be set.
Therefore, please take following sequence:
1. Disable the external interrupt which is selected.
2. Change the active edge in interrupt edge selection register. (in
case of CNTR
0: Timer X mode register)
3. Clear the set interrupt request bit to “0”.
4. Enable the external interrupt which is selected.
Remarks
Non-maskable
Valid in UART mode
Valid in USB mode
Valid in UART mode
Valid in USB mode
External interrupt
(active edge selectable)
External interrupt
(active edge selectable)
External interrupt (valid at falling)
STP release timer underflow
External interrupt (active edge
0 input
selectable)
Non-maskable software interrupt
16
Loading...
+ 37 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.