To all our customers Regarding the change of names mentioned in the document, such as Mitsubishi Electric and Mitsubishi XX, to Renesas Technology Corp. The semiconductor operations of Hitachi and Mitsubishi Electric were transferred to Renesas Technology Corporation on April 1st 2003. These operations include microcomputer, logic, analog and discrete devices, and memory chips other than DRAMs (flash memory, SRAMs etc.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER DESCRIPTION The 7560 group is the 8-bit microcomputer based on the 740 family core technology. The 7560 group has the LCD drive control circuit, an 8-channel A-D converter, D-A converter, serial I/O and PWM as additional functions. The various microcomputers in the 7560 group include variations of internal memory size and packaging. For details, refer to the section on part numbering.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER SEG13 SEG14 SEG15 SEG16 SEG17 P30/SEG18 P31/SEG19 P32/SEG20 P33/SEG21 P34/SEG22 P35/SEG23 P36/SEG24 P37/SEG25 P00/SEG26 P01/SEG27 P02/SEG28 P03/SEG29 P04/SEG30 P05/SEG31 P06/SEG32 P07/SEG33 P10/SEG34 P11/SEG35 P12/SEG36 P13/SEG37 PIN CONFIGURATION (TOP VIEW) 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 VCC VREF AVSS COM3 COM2 COM1 CO
Subclock output Subclock input φ 27 28 29 30 31 32 33 34 P7(8) Watchdog timer X COUT X CIN Sub-clock Sub-clock I/O port P7 input output XCIN XCOUT 36 37 X COUT X CIN 39 38 Clock generating circuit X OUT X IN INT0 3 4 6 7 8 P6(8) VR E F AVSS 92 93 A-D converter (8) 9 10 SI/O2(8) I/O port P6 5 Reset PC H PS P5(8) CNTR0,CNTR1 D A2 D A1 I/O port P5 P4(8) I/O port P4 φ SI/O1 (8) 19 20 21 22 23 24 25 26 PWM(8) P3(8) TOUT Timer 3 (8) Timer 2 (8) Output port P3 65 66 6
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER PIN DESCRIPTION Table 1 Pin description (1) Pin Name Function VCC, VSS Power source VREF Analog reference voltage AVSS Analog power source •GND input pin for A-D converter and D-A converter. •Connect to VSS. RESET XIN Reset input •Reset input pin for active “L”. Clock input •Input and output pins for the main clock generating circuit. XOUT Clock output Function except a port function •Apply voltage of 2.2 V to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 2 Pin description (2) Pin P40 Name I/O port P4 Function Function except a port function •1-bit I/O port. •CMOS compatible input level. •N-channel open-drain output structure. •I/O direction register allows this pin to be individually programmed as either input or output. P41/INT1, P42/INT2 P43/φ/TOUT P44/RXD, P45/TXD, P46/SCLK1, P47/SRDY1 P50/PWM0, P51/PWM1 P52/RTP0, P53/RTP1 •7-bit I/O port.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER PART NUMBERING Product M37560 M F D – XXX FP Package type FP : 100P6S-A GP : 100P6Q-A FS : 100D0 ROM number Omitted in One Time PROM version and EPROM version. D :Extended operating temperature version Omitted in standard version.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER GROUP EXPANSION Packages Mitsubishi expands the 7560 group as follows. 100P6Q-A .................................. 0.5 mm-pitch plastic molded QFP 100P6S-A ................................ 0.65 mm-pitch plastic molded QFP Memory Type Support for mask ROM version. Memory Size ROM size ........................................................... 32 K to 60 K bytes RAM size ..........................................................
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER GROUP EXPANSION (One Time and EPROM version) Packages Mitsubishi expands the 7560 group as follows. 100P6Q-A .................................. 0.5 mm-pitch plastic molded QFP 100P6S-A ................................ 0.65 mm-pitch plastic molded QFP 100D0 .......................................... Ceramic LCC (EPROM version) Memory Type Support for One Time and EPROM version. Memory Size ROM size ..............................
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER GROUP EXPANSION (Extended operating temperature version) Packages Mitsubishi expands the 7560 group as follows. 100P6S-A ................................ 0.65 mm-pitch plastic molded QFP Memory Type Support for extended operating temperature version. Memory Size ROM size ........................................................................ 60 K bytes RAM size ..................................................................
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER FUNCTIONAL DESCRIPTION CENTRAL PROCESSING UNIT (CPU) [Stack Pointer (S)] The 7560 group uses the standard 740 family instruction set. Refer to the table of 740 family addressing modes and machine instructions or the 740 Family Software Manual for details on the instruction set. Machine-resident 740 family instructions are as follows: The FST and SLW instruction cannot be used. The STP, WIT, MUL, and DIV instruction can be used.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER On-going Routine Interrupt request (Note) M (S) Execute JSR Push return address on stack M (S) (PCH) (S) (S) – 1 M (S) (PCL) (S) (S)– 1 M (S) (S) M (S) (S) Subroutine POP return address from stack (S) + 1 (PCL) M (S) (S) (S) + 1 (PCH) M (S) (S) – 1 (S) – 1 (PS) (S) – 1 Execute RTI Note: Condition for acceptance of an interrupt request here Push return address on stack (PCL) Interrupt Service Routine Exec
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER [Processor status register (PS)] The processor status register is an 8-bit register consisting of 5 flags which indicate the status of the processor after an arithmetic operation and 3 flags which decide MCU operation. Branch operations can be performed by testing the Carry (C) flag , Zero (Z) flag, Overflow (V) flag, or the Negative (N) flag. In decimal mode, the Z, V, N flags are not valid.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER [CPU Mode Register (CPUM)] 003B16 The CPU mode register contains the stack page selection bit and the system clock control bits, etc. The CPU mode register is allocated at address 003B16.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER MEMORY Special Function Register (SFR) Area The Special Function Register area in the zero page contains control registers such as I/O ports and timers. RAM RAM is used for data storage and for stack area of subroutine calls and interrupts. Zero Page The 256 bytes from addresses 000016 to 00FF 16 are called the zero page area. The internal RAM and the special function registers (SFR) are allocated to this area.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 000016 Port P0 register (P0) 000116 Port P0 direction register (P0D) 000216 Port P1 register (P1) 000316 Port P1 direction register (P1D) 000416 Port P2 register (P2) 000516 Port P2 direction register (P2D) 000616 Port P3 register (P3) 000716 Port P3 output control register (P3C) 000816 Port P4 register (P4) 000916 Port P4 direction register (P4D) 000A16 Port P5 register (P5) 000B16 Port P5 direction register (P5D) 000C16 Port P6 re
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER I/O PORTS Direction Registers The I/O ports (ports P0, P1, P2, P4, P5, P6, P71–P77) have direction registers. Ports P16, P17, P4, P5, P6, and P71–P77 can be set to input mode or output mode by each pin individually. P0 0–P07 and P10-P15 are respectively set to input mode or output mode in a lump by bit 0 of the direction registers of ports P0 and P1 (see Figure 13).
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Pull-up Control By setting the PULL register A (address 001616) or the PULL register B (address 001716 ), ports P0 to P2, P4 to P6 can control pull-up with a program. However, the contents of PULL register A and PULL register B do not affect ports set to output mode and the ports are no pulled up.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 8 List of I/O port function (1) Name Port P0 Input/output, byte unit CMOS compatible input level CMOS 3-state output LCD segment output PULL register A Segment output enable register P10/SEG34– P15/SEG39 Port P1 Input/output, 6-bit unit CMOS compatible input level CMOS 3-state output LCD segment output PULL register A Segment output enable register (1) (2) Input/output, individual bits CMOS compatible input level
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 9 List of I/O port function (2) Pin P60/SIN2/AN0 Name Port P6 P61/SOUT2/ AN1 Input/Output Input/ output, individual bits I/O Format CMOS compatible input level CMOS 3-state output Non-Port Function A-D converter input Serial I/O2 I/O Related SFRS Diagram No.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (1) Ports P01–P07, P11–P15 Pull-up VL2/VL3/VCC Segment/Port LCD drive timing Segment data Data bus Port latch Port direction register Interface logic level shift circuit Segment VL1/VSS Port Segment output enable bit Port direction register (2) Ports P00, P10 Pull-up Direction register Segment data Data bus VL2/VL3/VCC Segment/Port LCD drive timing Interface logic level shift circuit Port latch Segment VL1/VSS Segment
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (6) Port P45 (7) Port P46 Pull-up control P45/TxD P-channel output disable bit Serial I/O1 enable bit Transmit enable bit Direction register Data bus Serial I/O1 synchronous clock selection bit Serial I/O1 enable bit Pull-up control Serial I/O1 mode selection bit Serial I/O1 enable bit Direction register Port latch Data bus Serial I/O1 output Port latch Serial I/O1 clock output Serial I/O1 clock input (8) Port P47 (9) Po
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (13) Ports P40,P71–P77 (12) Port P43 Pull-up control Direction register Direction register Data bus Data bus Port latch Port latch TOUT/φ output enable bit Timer 2 TOUT output TOUT/φ output selection bit System clock φ output (15) Ports P56,P57 (14) Port P55 Direction register Direction register Data bus Pull-up control Pull-up control Data bus Port latch CNTR1 interrupt input Port latch A-D external trigger inpu
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (19) Port P62 Serial I/O2 synchronous clock selection bit (18) Port P61 P61/SOUT2 P-channel output disable bit Serial I/O2 transmit end signal Serial I/O2 synchronous clock selection bit Serial I/O2 port selection bit Direction register Data bus Pull-up control Pull-up control Serial I/O2 port selection bit Synchronous clock output pin selection bit Direction register Port latch Data bus Serial I/O2 output Port latch Serial
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER INTERRUPTS Interrupt Operation Interrupts occur by seventeen sources: seven external, nine internal, and one software. When an interrupt request is accepted, the program branches to the interrupt jump destination address set in the vector address (see Figure 10). By acceptance of an interrupt, the following operations are automatically performed: 1.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ■Notes on interrupts When setting the followings, the interrupt request bit may be set to “1”.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Key Input Interrupt (Key-on Wake Up) The key input interrupt is enabled when any of port P2 is set to input mode and the bit corresponding to key input control register is set to “1”. A Key input interrupt request is generated by applying “L” level voltage to any pin of port P2 of which key input interrupt is en- abled. In other words, it is generated when AND of input level goes from “1” to “0”.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER The key input interrupt is controlled by the key input control register and the port direction register. When enabling the key input interrupt, set “1” to the key input control bit. A key input can be accepted from pins set as the input mode in ports P20–P27.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMERS The 7560 group has five timers: timer X, timer Y, timer 1, timer 2, and timer 3. Timer X and timer Y are 16-bit timers, and timer 1, timer 2, and timer 3 are 8-bit timers. All timers are down count timers. When the timer reaches “0”, an underflow occurs at the next count pulse and the corresponding timer latch is reloaded into the timer and the count is continued.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Timer X The timer counts signals input through the CNTR0 pin. Except for this, the operation in event counter mode is the same as in timer mode. When using a timer in this mode, set the P5 4/ CNTR0 pin to input mode (set “0” to bit 4 of port P5 direction register).
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Timer Y Timer Y is a 16-bit timer and is equipped with the timer latch. The division ratio of timer Y is given by 1/(n+1), where n is the value in the timer latch. Timer Y is a down-counter. When the contents of timer Y reach “000016”, an underflow occurs at the next count pulse and the contents of the timer latch are reloaded into the timer and the count is continued.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Timer 1, Timer 2, Timer 3 Timer 1, timer 2, and timer 3 are 8-bit timers and is equipped with the timer latch. The count source for each timer can be selected by the timer 123 mode register. The division ratio of each timer is given by 1/(n+1), where n is the value in the timer latch. All timers are down-counters.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER SERIAL I/O Serial I/O1 ceiver must use the same clock as an operation clock. When an internal clock is selected as an operation clock, transmit or receive is started by a write signal to the transmit buffer register. When an external clock is selected as an operation clock, serial I/ O1 becomes the state where transmit or receive can be performed by a write signal to the transmit buffer register.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ter, but the two buffers have the same address (0018 16 ) in memory. Since the shift register cannot be written to or read from directly, transmit data is written to the transmit buffer, and receive data is read from the receive buffer. The transmit buffer can also hold the next data to be transmitted during transmitting, and the receive buffer register can hold received one-byte data while the next one-byte data is being received.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER [Transmit Buffer/Receive Buffer Register (TB/ RB)] 001816 The transmit buffer register and the receive buffer register are located at the same address. The transmit buffer register is writeonly and the receive buffer register is read-only. If a character bit length is 7 bits, the MSB of data stored in the receive buffer register is “0”.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER b7 b7 b0 Serial I/O1 status register (SIO1STS : address 001916) b7 b0 Serial I/O1 control register (SIO1CON : address 001A16) Transmit buffer empty flag (TBE) 0: Buffer full 1: Buffer empty BRG count source selection bit (CSS) 0: f(XIN) 1: f(XIN)/4 Receive buffer full flag (RBF) 0: Buffer empty 1: Buffer full Transmit shift register shift completion flag (TSC) 0: Transmit shift in progress 1: Transmit shift completed Seria
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Serial I/O2 b7 b0 Serial I/O2 control register (SIO2CON : address 001D16) Serial I/O2 can be used only for clock synchronous serial I/O. For serial I/O2, the transmitter and the receiver must use the same clock as a synchronous clock. When an internal clock is selected as a synchronous clock, the serial I/O2 is initialized and, transmit and receive is started by a write signal to the serial I/O2 register.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ●Serial I/O2 Operating The serial I/O2 counter is initialized to “7” by writing to the serial I/O2 register. After writing, whenever a synchronous clock changes from “H” to “L”, data is output from the SOUT2 pin. Moreover, whenever a synchronous clock changes from “L” to “H”, data is taken in from the SIN2 pin, and 1 bit shift of the serial I/O2 register is carried out simultaneously.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER PULSE WIDTH MODULATION (PWM) PWM Operation The 7560 group has a PWM function with an 8-bit resolution, using f(XIN) or f(XIN)/2 as a count source. When either bit 1 (PWM0 function enable bit) or bit 2 (PWM1 function enable bit) of the PWM control register or both bits are enabled, operation starts from initializing status, and pulses are output starting at “H”.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER b0 b7 PWM control register (PWMCON : address 002B16) Count source selection bit 0 : f(XIN) 1 : f(XIN)/2 PWM0 function enable bit 0 : PWM0 disabled 1 : PWM0 enabled PWM1 function enable bit 0 : PWM1 disabled 1 : PWM1 enabled Not used (“0” at reading) Fig.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER A-D CONVERTER [A-D Conversion Low-Order Register (ADL)] 001416 [A-D Conversion High-Order Register (ADH)] 003516 The A-D conversion registers are read-only registers that store the result of an A-D conversion . When reading this register during an A-D conversion, the previous conversion result is read.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER •10-bit reading (Read address 003516, then 001416) b0 b7 A-D conversion high-order register b9 b8 b7 b6 b5 b4 b3 b2 (high-order) (ADH: Address 003516) b0 b7 A-D conversion low-order register (ADL: Address 001416) (low-order) b1 b0 Conversion mode selection bit 0 : 10-bit A-D mode 1 : 8-bit A-D mode Note : Bits 0 to 5 of address 001416 become “0” at reading.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER D-A Converter The 7560 group has a D-A converter with 8-bit resolution and 2 channels (DA1, DA2). The D-A converter is started by setting the value in the D-A conversion register. When the DA1 output enable bit or the DA2 output enable bit is set to “1”, the result of D-A conversion is output from the corresponding DA pin.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER “0” DAi output enable bit R R R R R R R 2R DAi “1” 2R 2R MSB D-Ai conversion register “0” 2R 2R 2R 2R 2R 2R LSB “1” AVSS VREF Fig.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER enable bit is set to “1” (LCD ON) after data is set in the LCD mode register, the segment output enable register and the LCD display RAM, the LCD drive control circuit starts reading the display data automatically, performs the bias control and the duty ratio control, and displays the data on the LCD panel.
Address 004116 Level shift Level shift Level shift SEG0 SEG1 SEG2 SEG3 Segment Segment Segment Segment driver driver driver driver Level shift Selector Selector Selector Selector Address 004016 Data bus P30/SEG18 Level shift VCC Level Shift 2 Level Shift Level Shift Timing controller 2 Level Shift LCD circuit divider division ratio selection bits Duty ratio selection bits LCD enable bit VSS VL1 VL2 VL3 C1 C2 driver driver driver COM0 COM1 COM2 COM3 driver LCD output Common Com
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Voltage Multiplier (3 Times) The voltage multiplier performs threefold boosting. This circuit inputs a reference voltage for boosting from LCD power input pin VL1. Set each bit of the segment output enable register and the LCD mode register in the following order for operating the voltage multiplier. 1. Set the segment output enable bits (bits 0 to 5) of the segment output enable register to “0” or “1”. 2.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Common Pin and Duty Ratio Control LCD Display RAM The common pins (COM 0–COM3) to be used are determined by duty ratio. Select duty ratio by the duty ratio selection bits (bits 0 and 1 of the LCD mode register). After reset, the VCC (VL3) voltage is output from the common pins. Addresses 004016 to 005316 are the designated RAM for the LCD display.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Internal signal LCDCK timing 1/4 duty Voltage level VL3 VL2=VL1 VSS COM0 COM1 COM2 COM3 VL3 VSS SEG0 OFF COM3 ON COM2 COM1 OFF COM0 COM3 ON COM2 COM1 COM0 1/3 duty VL3 VL2=VL1 VSS COM0 COM1 COM2 VL3 VSS SEG0 ON OFF COM0 COM2 ON COM1 OFF COM0 COM2 ON COM1 OFF COM0 COM2 1/2 duty VL3 VL2=VL1 VSS COM0 COM1 VL3 VSS SEG0 ON OFF ON OFF ON OFF ON OFF COM1 COM0 COM1 COM0 COM1 COM0 COM1 COM0 F
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Internal signal LCDCK timing 1/4 duty Voltage level VL3 VL2 VL1 VSS COM0 COM1 COM2 COM3 VL3 SEG0 VSS OFF COM3 ON COM2 COM1 OFF COM0 COM3 ON COM2 COM1 COM0 1/3 duty VL3 VL2 VL1 VSS COM0 COM1 COM2 VL3 SEG0 VSS ON OFF COM0 COM2 ON COM1 OFF COM0 COM2 ON COM1 OFF COM0 COM2 1/2 duty VL3 VL2 VL1 VSS COM0 COM1 VL3 SEG0 VSS ON OFF ON OFF ON OFF ON OFF COM1 COM0 COM1 COM0 COM1 COM0 COM1 COM0
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ●value of high-order 6-bit counter ●value of STP instruction disable bit ●value of count source selection bit. Watchdog Timer The watchdog timer gives a mean of returning to the reset status when a program cannot run on a normal loop (for example, because of a software runaway). The watchdog timer consists of an 8-bit watchdog timer L and a 6bit watchdog timer H.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TOUT/φ OUTPUT FUNCTION The system clock φ or timer 2 divided by 2 (TOUT output) can be output from port P43 by setting the TOUT/φ output enable bit of the timer 123 mode register and the T OUT/φ output control register. Set the P43/φ/TOUT pin to output mode (set “1” to bit 3 of port P4 direction register) when outputting TOUT/φ.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER RESET CIRCUIT When the power source voltage is within limits, and main clock XIN-XOUT is stable, or a stabilized clock is input to the XIN pin, if the RESET pin is held at an “L” level for 2 µs or more, the microcomputer is in an internal reset state.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Address Register contents (1) Port P0 direction register 000116 0016 (2) Port P1 direction register 000316 0016 (3) Port P2 direction register 000516 0016 (4) Port P3 output control register 000716 0016 (5) Port P4 direction register 000916 0016 (6) Port P5 direction register 000B16 0016 (7) Port P6 direction register 000D16 0016 (8) Port P7 direction register 000F16 0016 (9) AD conversion low-order registe
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER CLOCK GENERATING CIRCUIT The 7560 group has two built-in oscillation circuits: main clock XIN-XOUT oscillation circuit and sub-clock XCIN-XCOUT oscillation circuit. An oscillation circuit can be formed by connecting an oscillator between X IN and X OUT (X CIN and X COUT). Use the circuit constants in accordance with the oscillator manufacturer’s recommended values.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER XCOUT XCIN “0” XC switch bit (Note) “1” XIN Timer 1 count source selection bit XOUT System clock selection bit (Note) Low-speed mode 1/2 1/4 Timer 2 count source selection bit “1” 1/2 Timer 1 “0” “0” Timer 2 “1” Middle-/High-speed mode Main clock division ratio selection bit Middle-speed mode System clock φ High-speed mode or Low-speed mode Main clock stop bit Q S S R STP instruction WIT instruction Q R Q S R
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Reset CM ” “1 M6 C ” “1 ” “0 Middle-speed mode (f(φ) = 1 MHz) CM7 = 0 (8 MHz selected) CM6 = 1 (Middle-speed) CM5 = 0 (8 MHz oscillating) CM4 = 1 (32 kHz oscillating) “0” High-speed mode (f(φ) = 4 MHz) CM7 = 0 (8 MHz selected) CM6 = 0 (High-speed) CM5 = 0 (8 MHz oscillating) CM4 = 1 (32 kHz oscillating) “0” Low-speed mode (f(φ) = 16 kHz) CM7 = 1 (32 kHz selected) CM6 = 0 (High-speed) CM5 = 0 (8 MHz oscillating) CM4 = 1 (32 kH
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER NOTES ON PROGRAMMING Processor Status Register The contents of the processor status register (PS) after a reset are undefined, except for the interrupt disable flag (I) which is “1”. After a reset, initialize flags (T flag, D flag, etc.) which affect program execution. Interrupt When the contents of an interrupt request bits are changed by the program, execute a BBC or BBS instruction after at least one instruction.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER NOTES ON USE Countermeasures Against Noise Noise (1) Shortest wiring length ➀ Wiring for RESET pin Make the length of wiring which is connected to the RESET pin as short as possible. Especially, connect a capacitor across the RESET pin and the VSS pin with the shortest possible wiring (within 20 mm). ● Reason The width of a pulse input into the RESET pin is determined by the timing necessary conditions.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (3) Oscillator concerns In order to obtain the stabilized operation clock on the user system and its condition, contact the oscillator manufacturer and select the oscillator and oscillation circuit constants. Be careful especially when range of voltage or/and temperature is wide. Also, take care to prevent an oscillator that generates clocks for a microcomputer operation from being affected by other signals.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER DATA REQUIRED FOR MASK ORDERS ROM PROGRAMMING METHOD The following are necessary when ordering a mask ROM production: 1.Mask ROM Order Confirmation Form✽ 2.Mark Specification Form✽ 3.Data to be written to ROM, in EPROM form (three identical copies) or one floppy disk. The built-in PROM of the blank One Time PROM version can be read or programmed with a general-purpose PROM programmer using a special programming adapter.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS ABSOLUTE MAXIMUM RATINGS Table 15 Absolute maximum ratings Symbol VCC VI Parameter Conditions VI VI VI VI VI VI VO Power source voltage Input voltage P00–P07, P10–P17, P20–P27, P40–P47, P50–P57, P60–P67 Input voltage P70–P77 Input voltage VL1 Input voltage VL2 Input voltage VL3 Input voltage C1, C2 Input voltage RESET, XIN Output voltage C1, C2 All voltages are based on VSS.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 17 Recommended operating conditions (2) (VCC = 2.5 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 19 Recommended operating conditions (4) (VCC = 2.2 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 20 Recommended operating conditions (5) (VCC = 2.2 to 5.5 V, Ta = –20 to 85°C, unless otherwise noted) Symbol f(CNTR0) f(CNTR1) Parameter Input frequency for timers X and Y (duty cycle 50%) Test conditions (4.0 V ≤ VCC ≤ 5.5 V) (VCC ≤ 4.0 V) High-speed mode (4.0 V ≤ VCC ≤ 5.5 V) f(XIN) Main clock input oscillation frequency (Note 1) f(XCIN) Sub-clock input oscillation frequency (Notes 1, 2) High-speed mode (2.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 21 Electrical characteristics (1) (VCC =4.0 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 22 Electrical characteristics (2) (VCC =2.2 to 5.5 V, Ta = –20 to 85°C, unless otherwise noted) Symbol VRAM Parameter RAM retention voltage Test conditions Min. Limits Typ. 2.0 At clock stop mode • High-speed mode, VCC = 5 V Max. 5.5 Unit V f(XIN) = 8 MHz f(XCIN) = 32.768 kHz 6.4 13 mA 1.6 3.2 mA 35 70 µA 20 40 µA 15 22 µA 4.5 9.0 µA 0.1 1.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 23 A-D converter characteristics (VCC = 2.7 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 26 Timing requirements 1 (VCC = 4.0 to 5.5 V, VSS = 0 V, Ta = –20 to 85°C, unless otherwise noted) Symbol tw(RESET) tc(XIN) twH(XIN) twL(XIN) tc(CNTR) twH(CNTR) twL(CNTR) twH(INT) twL(INT) tc(SCLK1) twH(SCLK1) twL(SCLK1) tsu(RXD–SCLK1) th(SCLK1–RXD) tc(SCLK2) twH(SCLK2) twL(SCLK2) tsu(SIN2–SCLK2) th(SCLK2–SIN2) Parameter Min.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 28 Switching characteristics 1 (VCC = 4.0 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS (EPROM or One Time PROM version) ABSOLUTE MAXIMUM RATINGS (EPROM or One Time PROM version) Table 30 Absolute maximum ratings (EPROM or One Time PROM version) Symbol VCC VI Parameter Conditions VI VI VI VI VI VI VO Power source voltage Input voltage P00–P07, P10–P17, P20–P27, P40–P47, P50–P57, P60–P67 Input voltage P70–P77 Input voltage VL1 Input voltage VL2 Input voltage VL3 Input voltage C1, C2 Input
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 32 Recommended operating conditions (2) (EPROM or One Time PROM version) (VCC = 2.5 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS (EPROM or One Time PROM version) Table 34 Electrical characteristics (1) (EPROM or One Time PROM version) (VCC =4.0 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 35 Electrical characteristics (2) (EPROM or One Time PROM version) (VCC =2.5 to 5.5 V, Ta = –20 to 85°C, unless otherwise noted) Symbol VRAM Parameter RAM retention voltage Test conditions Min. Limits Typ. 2.0 At clock stop mode • High-speed mode, VCC = 5 V Max. 5.5 Unit V f(XIN) = 8 MHz f(XCIN) = 32.768 kHz Output transistors “off” 6.4 13 mA 1.6 3.2 mA 35 70 µA 20 40 µA 15 22 µA 4.5 9.0 µA 0.1 1.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER A-D CONVERTER CHARACTERISTICS (EPROM or One Time PROM version) Table 36 A-D converter characteristics (EPROM or One Time PROM version) (VCC = 2.7 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMING REQUIREMENTS (EPROM or One Time PROM version) Table 39 Timing requirements 1 (EPROM or One Time PROM version) (VCC = 4.0 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER SWITCHING CHARACTERISTICS (EPROM or One Time PROM version) Table 41 Switching characteristics 1 (EPROM or One Time PROM version) (VCC = 4.0 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS (Extended operating temperature version) ABSOLUTE MAXIMUM RATINGS (Extended operating temperature version) Table 43 Absolute maximum ratings (Extended operating temperature version) Symbol VCC VI Parameter Conditions VI VI VI VI VI VI VO Power source voltage (Note 1) Input voltage P00–P07, P10–P17, P20–P27, P40–P47, P50–P57, P60–P67 Input voltage P70–P77 Input voltage VL1 Input voltage VL2 Input voltag
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 45 Recommended operating conditions (2) (Extended operating temperature version) (VCC = 2.5 to 5.5 V, Ta = –20 to 85°C, and VCC = 3.0 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS (Extended operating temperature version) Table 47 Electrical characteristics (1) (VCC =4.0 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Table 48 Electrical characteristics (2) (Extended operating temperature version) (VCC =2.5 to 5.5 V, Ta = –20 to 85°C, and VCC =3.0 to 5.5 V, Ta = –40 to –20°C, unless otherwise noted) Symbol VRAM Parameter RAM retention voltage Test conditions Min. Limits Typ. 2.0 At clock stop mode • High-speed mode, VCC = 5 V f(XIN) = 8 MHz f(XCIN) = 32.768 kHz Max. 5.5 Unit V 6.4 13 mA 1.6 3.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER A-D CONVERTER CHARACTERISTICS (Extended operating temperature version) Table 49 A-D converter characteristics (Extended operating temperature version) (VCC = 3.0 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMING REQUIREMENTS (Extended operating temperature version) Table 52 Timing requirements 1 (Extended operating temperature version) (VCC = 4.0 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER SWITCHING CHARACTERISTICS (Extended operating temperature version) Table 54 Switching characteristics 1 (Extended operating temperature version) (VCC = 4.0 to 5.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER tC(CNTR) tWL(CNTR) tWH(CNTR) 0.8VCC C N TR 0 , C N TR 1 0.2VCC tWL(INT) tWH(INT) 0.8VCC INT0–INT2 0.2VCC tW(RESET) RESET 0.8VCC 0.2VCC tC(XIN) tWL(XIN) tWH(XIN) 0.8VCC XIN tf SCLK1 SCLK2 0.2VCC tC(SCLK1), tC(SCLK2) tr tWL(SCLK1), tWL(SCLK2) 0.8VCC 0.2VCC tsu(RXD-SCLK1), tsu(SIN2-SCLK2) RX D SIN2 Fig. 70 Timing diagram 84 th(SCLK1-RXD), th(SCLK2-SIN2) 0.8VCC 0.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER PACKAGE OUTLINE MMP Plastic 100pin 14✕14mm body LQFP Weight(g) 0.63 JEDEC Code – Lead Material Cu Alloy MD b2 HD ME EIAJ Package Code LQFP100-P-1414-0.50 e 100P6Q-A D 76 100 l2 Recommended Mount Pad 75 1 Symbol E HE A A1 A2 b c D E e HD HE L L1 Lp 51 25 26 50 A L1 F A3 y M L Detail F 100P6S-A x y c x A1 b A3 A2 e b2 I2 MD ME Lp MMP EIAJ Package Code QFP100-P-1420-0.
MITSUBISHI MICROCOMPUTERS 7560 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Keep safety first in your circuit designs! • Mitsubishi Electric Corporation puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage.
REVISION HISTORY Rev. 7560 GROUP DATA SHEET Date Description Summary Page 1.0 1.1 1.2 03/28/01 06/08/01 12/05/01 52 1 4 6 7 8 9 15 26 38 42 49 50 54 57 60 61 62 64 to 77 2.0 01/28/03 1 4 5 14 First Edition Table 13 VREF Min. VCC+0.3 → VCC • A-D converter; 8 bits → 10 bits • Power source voltage; value at EPROM and One Time PROM version and at extended operating temperature version added.
REVISION HISTORY Rev. 7560 GROUP DATA SHEET Date Description Summary Page 2.0 01/28/03 15 16 16 16 16 20 21 22 23 24 25 26 26 27 27 28 29 30 30 31 31 32 32 34 36 36 37 40 40 41 42 43 46 50 51 52 52 54 55 Figure 12 is partly revised. Explanations of “Direcion Registers” of “I/O PORTS” are partly revised. Explanations of “Pull-up Control” of “I/O PORTS” are partly revised. Figure 13 is added. Figure 14 is added. Figure 16 is partly revised. Figure 17 is partly revised. Figure 18 is partly revised.
REVISION HISTORY Rev. 7560 GROUP DATA SHEET Date Description Summary Page 2.0 01/28/03 56 57 57 58, 59 67 67 74 74 81 81 All pages Figure 62 is partly revised. Explanations of “Interrupt” of “NOTES ON PROGRAMMING” are partly revised. “Timers” of “NOTES ON PROGRAMMING”of Rev. 1.2 is eliminated. “Countermeasures Against Noise” is added. Table 23 is partly revised. Table 24 is partly revised. Table 36 is partly revised. Table 37 is partly revised. Table 49 is partly revised. Table 50 is partly revised.