M30622M8-703FP MITSUBISHI, M30622M8-703FP Datasheet

no-image

M30622M8-703FP

Manufacturer Part Number
M30622M8-703FP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER M30622M8-703FPSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER M30622M8-703FPSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI
Datasheet
Description
Description
Features
Applications
The M16C/62A group of single-chip microcomputers are built using the high-performance silicon gate
CMOS process using a M16C/60 Series CPU core and are packaged in a 100-pin plastic molded QFP.
These single-chip microcomputers operate using sophisticated instructions featuring a high level of instruc-
tion efficiency. With 1M bytes of address space, they are capable of executing instructions at high speed.
They also feature a built-in multiplier and DMAC, making them ideal for controlling office, communications,
industrial equipment, and other high-speed processing applications.
The M16C/62A group includes a wide range of products with different internal memory types and sizes and
various package types.
• Memory capacity .................................. ROM (See Figure 1.1.4. ROM Expansion)
• Shortest instruction execution time ...... 62.5ns (f(X
• Supply voltage ..................................... 4.2V to 5.5V (f(X
• Low power consumption ...................... 25.5mW ( f(X
• Interrupts .............................................. 25 internal and 8 external interrupt sources, 4 software
• Multifunction 16-bit timer ...................... 5 output timers + 6 input timers
• Serial I/O .............................................. 5 channels (3 for UART or clock synchronous, 2 for clock synchro-
• DMAC .................................................. 2 channels (trigger: 24 sources)
• A-D converter ....................................... 10 bits X 8 channels (Expandable up to 10 channels)
• D-A converter ....................................... 8 bits X 2 channels
• CRC calculation circuit ......................... 1 circuit
• Watchdog timer .................................... 1 line
• Programmable I/O ............................... 87 lines
• Input port ..............................................
• Memory expansion .............................. Available (to a maximum of 1M bytes)
• Chip select output ................................ 4 lines
• Clock generating circuit ....................... 2 built-in clock generation circuits
Audio, cameras, office equipment, communications equipment, portable equipment
Central Processing Unit (CPU) ..................... 11
Reset ............................................................. 14
Processor Mode ............................................ 21
Clock Generating Circuit ............................... 34
Protection ...................................................... 43
Interrupts ....................................................... 44
Watchdog Timer ............................................ 64
DMAC ........................................................... 66
------Table of Contents------
RAM 3K to 20K bytes
100ns (f(X
2.7V to 5.5V (f(X
interrupt sources; 7 levels (including key input interrupt)
nous)
1 line (P8
(built-in feedback resistor, and external ceramic or quartz oscillator)
IN
)=10MH
5
IN
shared with NMI pin)
IN
IN
)=16MH
)=16MH
)=10MH
IN
Z
, V
)=10MH
CC
=3V, with software one-wait) : Mask ROM, flash memory 5V version
Timer ............................................................. 76
Serial I/O ..................................................... 106
A-D Converter ............................................. 147
D-A Converter ............................................. 157
CRC Calculation Circuit .............................. 159
Programmable I/O Ports ............................. 161
Electrical characteristic ............................... 176
Flash memory version ................................. 227
Z
Z
, without software wait) : Mask ROM, flash memory 5V version
with software one-wait) : Mask ROM, flash memory 5V version
Z
, V
Z
_______
, with software one-wait, V
CC
=5V)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C / 62A Group
Mitsubishi microcomputers
CC
= 3V)
1

Related parts for M30622M8-703FP

M30622M8-703FP Summary of contents

Page 1

... NMI pin) 5 (built-in feedback resistor, and external ceramic or quartz oscillator) Timer ............................................................. 76 Serial I/O ..................................................... 106 A-D Converter ............................................. 147 D-A Converter ............................................. 157 CRC Calculation Circuit .............................. 159 Programmable I/O Ports ............................. 161 Electrical characteristic ............................... 176 Flash memory version ................................. 227 Mitsubishi microcomputers M16C / 62A Group = 3V ...

Page 2

... Figure 1.1.1. Pin configuration (top view M16C/62A Group Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER /CS0 /CS1 /CS2 6 48 ...

Page 3

... Figure 1.1.2. Pin configuration (top view M16C/62A Group Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER /CS0 48 ...

Page 4

... R1H R1L Stack pointer R2 R2 ISP R3 R3 USP Vector table INTB Flag register SB FLG Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Port P4 Port P5 Port P6 System clock generator OUT X -X CIN COUT Clock synchronous SI/O (8 bits 2 channels) ...

Page 5

... IN : Mask ROM, flash memory 5V version 25.5mW (f 10MH IN 5V 5mA Available (to a maximum of 1M bytes) CMOS high performance silicon gate 100-pin plastic mold QFP Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER , V =5V) CC =3V, with software one-wait without software wait) Z with software one-wait) ...

Page 6

... M30622MAA-XXXFP/GP M30620M8A-XXXFP/GP 64K M30622M8A-XXXFP/GP M30622M4A-XXXFP/GP 32K Figure 1.1.4. ROM expansion The M16C/62A group products currently supported are listed in Table 1.1.2. Table 1.1.2. M16C/62A group Type No ROM capacity M30622M4A-XXXFP ** M30622M4A-XXXGP ** M30620M8A-XXXFP ** M30620M8A-XXXGP ** ** M30622M8A-XXXFP ** M30622M8A-XXXGP M30620MAA-XXXFP ** M30620MAA-XXXGP ** M30622MAA-XXXFP ** ** M30622MAA-XXXGP ** M30620MCA-XXXFP M30620MCA-XXXGP ** ** M30622MCA-XXXFP ** M30622MCA-XXXGP ** M30624MGA-XXXFP M30624MGA-XXXGP ** ** ...

Page 7

... Description Type No A– Figure 1.1.5. Type No., memory size, and package Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Package type Package 100P6S 100P6Q-A ROM No. Omitted for flash memory version ROM capacity 32K bytes 8 : 64K bytes ...

Page 8

... Input/output This is an 8-bit I/O port equivalent to P0. Output These pins output CS 0 select signals used to specify an access space. A Output order address bits. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Function pin. Supply the V pin pin when starting ...

Page 9

... A-D converter extended input pins, or A-D trigger input pins as selected by software. Input/output This is an 8-bit I/O port equivalent to P6. Pins in this port also function as A-D converter input pins. Furthermore, P10 input pins for the key input interrupt function. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Function or a clock selected by software ...

Page 10

... The space between 01800 • The space between D0000 Address XXXXX Address YYYYY Type No. 16 M30622M4A 00FFF 16 M30620M8A 02BFF 16 M30620MAA 02BFF 16 M30620MCA/FCA 02BFF 16 M30622M8A 013FF 16 M30622MAA 017FF 16 M30622MCA 017FF 16 M30624MGA/FGA 053FF 16 Figure 1.3.1. Memory map 10 . From FFFFF down is ROM. For example, in the M30622MCA-XXXFP FFFFF ...

Page 11

... INTB H b15 b0 USP b15 b0 ISP Address registers b15 b0 SB b15 b0 FLG Frame base registers IPL U Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER b0 Program counter b0 Interrupt table L register b0 User stack pointer b0 Interrupt stack pointer b0 Static base register b0 Flag register I O ...

Page 12

... Bit 6: Interrupt enable flag (I flag) This flag enables a maskable interrupt. An interrupt is disabled when this flag is “0”, and is enabled when this flag is “1”. This flag is cleared to “0” when the interrupt is acknowledged. 12 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ...

Page 13

... Carry flag Debug flag Zero flag Sign flag Register bank select flag Overflow flag Interrupt enable flag Stack pointer select flag Reserved area Processor interrupt priority level Reserved area Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 13 ...

Page 14

... CS0 Single chip mode Address Figure 1.5.2. Reset sequence RESET 24cycles FFFFC FFFFD 16 16 FFFFC FFFFE 16 FFFFC Content of reset vector 16 FFFFE 16 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 4.0V 0.8V Content of reset vector FFFFE 16 Content of reset vector 16 ...

Page 15

... BCLK output HLDA output (The output value depends on the input to the HOLD pin) HOLD input (floating) ALE output (“L” level is output) RDY input (floating) Input port (floating) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER CNV = BYTE = V SS ...

Page 16

... SS 16 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER (0054 )··· (0055 )··· (0056 )··· ...

Page 17

... The content of other registers and RAM is undefined when the microcomputer is reset. The initial values must therefore be set. Note1: When the V level is applied to the CNV pin Note2: This register is only exist in flash memory version. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER (03D7 )··· (03DC )· ...

Page 18

... INT1 interrupt control register (INT1IC) 005E 16 INT2 interrupt control register (INT2IC) 005F 16 0060 16 0061 16 0062 16 0063 16 0064 16 0065 16 032A 16 032B 16 032C 16 032D 16 032E 16 032F 16 0330 16 0331 16 0332 16 0333 16 0334 16 0335 16 0336 16 0337 16 0338 16 0339 16 033A 16 033B 16 033C 16 033D 16 033E 16 033F 16 Mitsubishi microcomputers M16C / 62A Group ...

Page 19

... Flash memory control register 0 (FMR0) (Note1) 03B7 16 DMA0 request cause select register (DM0SL) 03B8 16 03B9 16 DMA1 request cause select register (DM1SL) 03BA 16 03BB 16 03BC 16 CRC data register (CRCD) 03BD 16 CRC input register (CRCIN) 03BE 16 03BF 16 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 19 ...

Page 20

... Port P8 direction register (PD8) Port P9 direction register (PD9) Port P10 (P10) Port P10 direction register (PD10) Pull-up control register 0 (PUR0) Pull-up control register 1 (PUR1) Pull-up control register 2 (PUR2) Port control register (PCR) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ...

Page 21

... SS ”. 2 pin, changing the processor mode bits selects the mode. Therefore, SS pin ” to the processor mode is selected bits. 2 pin Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ) applies a (software) reset to the 16 pin), the SS 21 ...

Page 22

... Specify D0000 or a subsequent address, which becomes an internal ROM area if PM13 is set 16 to “0” at the time reset is revoked, for the reset vector table of user program. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER R W ...

Page 23

... Address XXXXX Type No. M30622M4A 00FFF 16 M30620M8A 02BFF 16 M30620MAA 02BFF 16 M30620MCA/FCA 02BFF 16 M30622M8A 013FF 16 M30622MAA 017FF 16 M30622MCA 017FF 16 M30624MGA/FGA 053FF 16 Note : These memory maps show an instance in which PM13 is set to 0; but in the case of M30624MGA/FGA, they show an instance in which PM13 is set to 1. Figure 1.7.2. Memory maps in each processor mode (without memory area expansion, normal mode) ...

Page 24

... Microprocessor mode (256K bytes) : 832K bytes FFFFF 16 After reset, and set the Note: The reset vector lies in an area between D0000 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Microprocessor mode SFR area (1K bytes) Internal RAM area (20K bytes) ...

Page 25

... Bit 6 of processor mode register 0 BYTE pin Bits 4 and 5 of processor mode register are multiplexed with Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ) are used to change the bus settings. 16 Switching factor to P4 become part of the 0 3 ...

Page 26

... HLDA HLDA HLDA HOLD HOLD HOLD ALE ALE ALE RDY RDY RDY Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Memory expansion mode “00” “11” (Note 1) multiplexed bus for the (separate bus) entire space 16 bits 8 bit “ ...

Page 27

... CFFFF 16 (640K bytes) 28000 to 16 2FFFF 16 30000 to 16 (32K bytes) FFFFF 16 (832K bytes) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER function as the data bus Bits the chip select control 4 7 CS2 CS3 08000 to 04000 16 27FFF ...

Page 28

... CS2 output enable bit CS3 CS3 output enable bit CS0W CS0 wait bit CS1W CS1 wait bit CS2W CS2 wait bit CS3W CS3 wait bit Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER CS2 CS3 When PM13=0 04000 07FFF to 08000 to ...

Page 29

... Read 1 byte of data When BYTE pin = “L” ALE Data (Note Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ) select the 16 ________ Status of external data bus Status of external data bus A Address 0 /A Address Data (Note 1) ...

Page 30

... On _____ Maintain status when RDY signal received On tsu(RDY - BCLK) Accept timing of RDY signal tsu(RDY - BCLK) Accept timing of RDY signal ________ Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ________ ________ ), but the RDY pin should be treated as 16 Status ________ ...

Page 31

... SFR accessed Address output Floating Output data RD, WR, WRL, WRH output BHE output Output “H” Output “L” Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER __________ Status Internal ROM/RAM accessed Maintain status before accessed address of external area Floating Undefined Output “ ...

Page 32

... Invalid Invalid 0 Invalid 1 Invalid (Note (Note) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ) (Note Bus cycle 2 BCLK cycles 1 BCLK cycle 2 BCLK cycles 1 BCLK cycle 2 BCLK cycles 2 BCLK cycles 3 BCLK cycles 3 BCLK cycles ...

Page 33

... Bus cycle (Note 1) Bus cycle (Note 1) Output Address Bus cycle (Note 1) Output Address Bus cycle (Note 1) Address Data output Address Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Input Address Bus cycle (Note 1) Input Address Bus cycle (Note 1) Address Address ...

Page 34

... Externally derived clock can be input OUT (Note OUT (Note COUT Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Sub-clock generating circuit • CPU’s operating clock source • Timer A/B’s count clock source Crystal oscillator CIN COUT ...

Page 35

... CIN COUT 1/32 CM04 Sub clock OUT R Main clock CM02 CM05 1/2 1/2 a CM06=0 CM17,CM16=01 CM06=0 CM17,CM16= Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER f C32 SIO2 SIO2 SIO2 CM07=0 a ...

Page 36

... WAIT instruction. 16 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ). Stopping the 16 ), the sub-clock can However, be sure the memory expan changes to “1” when shifting from high- ...

Page 37

... Division by 2 mode Division by 4 mode Division by 16 mode ) to “1” before writing to this register. 16 turns “H”, and the built-in feedback resistor is cut off. X OUT Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Function R 7 generation ...

Page 38

... Retains status before stop mode Retains status before stop mode Valid only in single-chip mode Valid only in single-chip mode Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ) enable stops all oscillation and the microcom- ...

Page 39

... Retains status before wait mode Valid only in single-chip mode selected Valid only in single-chip mode 32 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Single-chip mode Retains status before wait mode Does not stop Does not stop when the WAIT peripheral function clock stop bit is “ ...

Page 40

... Invalid 0 0 Invalid Invalid 0 1 Invalid 1 1 Mitsubishi microcomputers M16C / 62A Group or vice versa, the clock to which CIN Operating mode of BCLK Division by 2 mode Division by 4 mode Division by 8 mode Division by 16 mode No-division mode Low-speed mode Low power dissipation mode ...

Page 41

... All oscillators stop. The CPU and all built-in peripheral functions stop. This mode, among the three modes listed here, is the most effective in decreasing power consumption. Figure 1.10.5 is the state transition diagram of the above modes. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ...

Page 42

... CM06 = “0” (Note 3) (divided-by-16 mode) CM04 = “1” )/4 BCLK : f(X )/ CM07 = “0” CM06 = “0” CM17 = “1” CM16 = “1” Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER CPU operation stopped WAIT instruction Wait mode Interrupt CPU operation stopped WAIT ...

Page 43

... Note: Writing a value to an address after “1” is written to this bit returns the bit to “0” . Other bits do not automatically return to “0” and they must therefore be reset by the program. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ), system clock control reg- ...

Page 44

... Peripheral I/O (Note) An interrupt which can be enabled (disabled) by the interrupt enable flag (I flag) or whose interrupt priority can be changed by priority level. (I flag) or whose interrupt priority cannot be changed by priority level. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Undefined instruction (UND instruction) Overflow (INTO instruction) ...

Page 45

... When returning from the interrupt routine, the U flag is returned to the state it was before the acceptance of interrupt re- quest. So far as software numbers 32 through 63 are concerned, the stack pointer does not make a shift. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 45 ...

Page 46

... These are interrupts that timer B generates. ________ • INT0 interrupt through INT5 interrupt ______ An INT interrupt occurs if either a rising edge or a falling edge or a both edge is input to the INT pin. 46 ____________ _______ ___ ________ Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ______ ...

Page 47

... There is an address-matching interrupt enable bit FFFEF Do not use FFFF3 FFFF7 Do not use FFFFB External interrupt by input to NMI pin FFFFF 16 16 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER LSB High address Remarks , program execution starts from 16 _______ 47 ...

Page 48

... Timer A0 +88 to +91 (Note 1) Timer A1 +92 to +95 (Note 1) Timer A2 +96 to +99 (Note 1) Timer A3 Timer A4 Timer B0 Timer B1 Timer B2 INT0 INT1 INT2 to Software interrupt Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Remarks Cannot be masked I flag Cannot be masked I flag ). 16 ...

Page 49

... Also, the interrupt enable flag (I flag) and the IPL are located in the flag register (FLG). Figure 1.11.3 shows the memory map of the interrupt control registers. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ...

Page 50

... Nothing is assigned attempt to write to these bits, write “0”. The value, if read, turns out to be indeterminate. interrupt request for that register. For details, see the precautions for interrupts. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset XXXXX000 ...

Page 51

... High Mitsubishi microcomputers M16C / 62A Group Enabled interrupt priority levels Interrupt levels 1 and above are enabled Interrupt levels 2 and above are enabled Interrupt levels 3 and above are enabled Interrupt levels 4 and above are enabled Interrupt levels 5 and above are enabled ...

Page 52

... Instructions : AND, OR, BCLR, BSET 52 ; Disable interrupts. ; Four NOP instructions are required when using HOLD function. ; Enable interrupts. ; Disable interrupts. ; Dummy read. ; Enable interrupts. ; Push Flag register onto stack ; Disable interrupts. ; Enable interrupts. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ...

Page 53

... Time from interrupt request is generated to when the instruction then under execution is completed. (b) Time in which the instruction sequence is executed. Figure 1.11.4. Interrupt response time Interrupt request acknowledged Interrupt sequence (a) (b) Interrupt response time Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Time Instruction in interrupt routine 53 ...

Page 54

... Odd 20 cycles (Note 1) ________ Indeterminate SP-2 SP-2 Indeterminate contents Indeterminate Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 8-Bit bus, without wait 20 cycles (Note 1) 20 cycles (Note 1) 20 cycles (Note 1) 20 cycles (Note SP-4 vec ...

Page 55

... Stack pointer m value before interrupt occurs Stack status after interrupt request is acknowledged Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Stack area LSB [SP] New stack Program counter ( pointer value Program counter (PC ...

Page 56

... H H Finished saving registers in two operations. Stack area Sequence in which order registers are saved ) ( (4) Saved simultaneously, all 8 bits Flag register (FLG ) L (1) Program (2) counter ( Finished saving registers in four operations. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ...

Page 57

... Figure 1.11.8. Hardware interrupts priorities Interrupt resolution circuit When two or more interrupts are generated simultaneously, this circuit selects the interrupt with the highest priority level. Figure 1.11.9 shows the circuit that judges the interrupt priority level. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 57 ...

Page 58

... NMI Reset Figure 1.11.9. Maskable interrupts priorities (peripheral I/O interrupts) 58 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Level 0 (initial value) High Priority of peripheral I/O interrupts (if priority levels are same) Low Mitsubishi microcomputers M16C / 62A Group Interrupt request level judgment output To clock generating circuit (Fig.1.10.3) Interrupt request accepted ...

Page 59

... INT4 interrupt polarity switching bit IFSR5 INT5 interrupt polarity switching bit IFSR6 Interrupt request cause select bit IFSR7 Interrupt request cause select bit Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ________ ________ When reset Function 0 : One edge ...

Page 60

... Key input interrupt control register Port P10 direction 7 register direction register 7 direction 6 Interrupt control circuit direction 5 direction 4 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ______ register (bit 5 at address 5 4 (address 004D ) 16 Key input interrupt request to ...

Page 61

... RMAD0 RMAD1 Function Address setting register for address match interrupt Nothing is assigned attempt to write to these bits, write “0”. The value, if read, turns out to be indeterminated. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset XXXXXX00 2 Function Interrupt disabled ...

Page 62

... Reading the contents of the P8 register 5 _______ _______ _______ ________ to INT pins is changed, the interrupt request bit is sometimes set to “1” Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER will then be set to “0” Accepting an interrupt 16 _______ ________ 0 ...

Page 63

... Set the interrupt enable flag to “1” (Enable interrupt) ______ ; Disable interrupts. ; Four NOP instructions are required when using HOLD function. ; Enable interrupts. ; Disable interrupts. ; Dummy read. ; Enable interrupts. ; Push Flag register onto stack ; Disable interrupts. ; Enable interrupts. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 63 ...

Page 64

... X watchdog timer count (32768) BCLK ). 16 Prescaler “CM07 = 0” “WDC7 = 0” 1/16 “CM07 = 0” “WDC7 = 1” 1/128 “CM07 = 1” 1/2 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER is selected for the IN ) selects the prescaler division ratio (by 16 BCLK ) and when 16 Watchdog timer Watchdog timer interrupt request Set to “ ...

Page 65

... Symbol Address WDTS 000E 16 Function The watchdog timer is initialized and starts counting after a write instruction to this register. The watchdog timer value is always initialized to “7FFF regardless of whatever value is written. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset 000XXXXX 2 Function R W Must always be set to “ ...

Page 66

... DMA1 forward address pointer (20) (Note) , 0038 ) 16 16 DMA latch high-order bits Data bus low-order bits Data bus high-order bits Note: Pointer is incremented by a DMA request. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER (addresses 0022 to 0020 ) 16 16 (addresses 0026 to 0024 ...

Page 67

... DMA enable bit is “0”. Can be read at any time. However, when the DMA enable bit is “1”, reading the register set up as the forward register is the same as reading the value of the forward address pointer. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER to 003F ...

Page 68

... Expanded cause If software trigger is selected, a Software DMA DSR DMA request is generated by request bit setting this bit to “1” (When read, the value of this bit is always “0”) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset 00 16 Function R W ...

Page 69

... Source address direction 0 : Fixed DSD select bit (Note Forward Destination address 0 : Fixed DAD direction select bit (Note Forward cannot be set to “1” simultaneously. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset 00 16 Function R W /serial I/O3 (DMS=1) /serial I/O4 (DMS=1) ...

Page 70

... In an attempt to write to these bits, write “0”. The value, if read, turns out to be “0”. b0 Symbol TCR0 TCR1 Function • Transfer counter Set a value one less than the transfer count Mitsubishi microcomputers M16C / 62A Group Address When reset 0022 to 0020 Indeterminate 16 ...

Page 71

... For example (2) in Figure 1.13.5, if data is being transferred in 16-bit units on an 8-bit bus, two bus cycles are required for both the source read cycle and the destination write cycle. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ...

Page 72

... Dummy Source Destination cycle Dummy Source Destination cycle Source Source + 1 Destination Source Source + 1 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER CPU use CPU use CPU use CPU use CPU use CPU use Dummy CPU use cycle Dummy Destination ...

Page 73

... Even — Odd — Even 1 Odd 2 Even — Odd — SFR area Separate bus With wait No wait 2 2 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Memory expansion mode Microprocessor mode cycles cycles cycles — 1 — — ...

Page 74

... INTi pin, for example). With an external factor selected, the DMA request bit is timed to turn to “0” immediately before data transfer starts similarly to the state in which an internal factor is selected. 74 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ...

Page 75

... DMA transmission request signals due to external factors concurrently occur. BCLK DMA0 DMA1 CPU INT0 DMA0 request bit INT1 DMA1 request bit Figure 1.13.6. An example of DMA transfer effected by external factors Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Obtainm ent of the bus right 75 ...

Page 76

... Timer mode • One-shot mode • PWM mode • Event counter mode ) is shared with RxD and the TB5 pin careful Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Clock prescaler f C32 1/32 Reset Timer A0 interrupt Timer A0 Timer A1 interrupt ...

Page 77

... Event counter mode • Timer mode • Pulse width measuring mode Noise filter • Event counter mode and the TA0 pin careful Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Clock prescaler f 1/32 C32 Reset ) set to “1” Timer B0 interrupt ...

Page 78

... TMOD1 MR0 Function varies with each operation mode MR1 MR2 MR3 TCK0 Count source select bit (Function varies with each operation mode) TCK1 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ”. 16 Low-order High-order 8 bits 8 bits Reload register (16) Counter (16) ...

Page 79

... Timer A4 up/down flag TA2P Timer A2 two-phase pulse signal processing select bit TA3P Timer A3 two-phase pulse signal processing select bit TA4P Timer A4 two-phase pulse signal processing select bit Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Address When reset 0387 ,0386 Indeterminate 16 16 ...

Page 80

... Bit symbol Bit name Nothing is assigned attempt to write to these bits, write “0”. The value, if read, turns out to be indeterminate. CPSR Clock prescaler reset flag Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Function 1 : Timer start When read, the value is “0” ...

Page 81

... Note 1: The settings of the corresponding port register and port direction register are invalid. Note 2: The bit can be “0” or “1”. Note 3: Set the corresponding port direction register to “0”. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER pin’s input signal IN pin’ ...

Page 82

... Note 3: Valid only when counting an external signal. Note 4: When an “L” signal is input to the TAi OUT the upcount is activated. Set the corresponding port direction register to “0”. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER n : Set value pin’s polarity is reversed ...

Page 83

... TAi IN counts down rising and falling edges on the TAi TAi OUT Count up all edges TAi IN (i=3,4) Count up all edges Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER or TAi pin IN OUT n : Set value pin is “H” Down ...

Page 84

... For timer A2 and A4 mode registers, this bit can be “0” or “1”. Note 2: When performing two-phase pulse signal processing, make sure the two-phase pulse signal processing operation select bit (address 0384 sure to set the event/trigger select bit (addresses 0382 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset ...

Page 85

... If timer overflow is selected, this bit can be “1” or “0” Note 3: Set the corresponding port direction register to “0”. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ...

Page 86

... C32 pin is selected by the event/trigger select bit iIN (addresses 0382 and 0383 ). If timer overflow is selected, this bit can be “1” or “0” Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER m : values set to timer Ai register’s low-order address Function ...

Page 87

... – Cleared to “0” when interrupt request is accepted, or cleaerd by software , f ) C32 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 8 87 ...

Page 88

... Function varies with each operation mode MR1 MR2 MR3 TCK0 Count source select bit (Function varies with each operation mode) TCK1 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Data bus high-order bits Data bus low-order bits High-order 8 bits Low-order 8 bits Reload register (16) ...

Page 89

... Bit name Nothing is assigned attempt to write to these bits, write “0”. The value, if read, turns out to be indeterminate effect CPSR Clock prescaler reset flag 1 : Prescaler is reset Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Address When reset , 0390 Indeterminate 16 ...

Page 90

... In an attempt to write to this bit, write “0”. The value, if read in timer mode, turns out to be indeterminate Count source select bit TCK0 TCK1 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset 00XX0000 2 00XX0000 2 Function R ...

Page 91

... IN If timer's overflow is selected, this bit can be “0” or “1”. Note 2: Timer B0, timer B3. Note 3: Timer B1, timer B2, timer B4, timer B5. Note 4: Set the corresponding port direction register to “0”. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2 2 Function ...

Page 92

... Note Timer has overflowed b7 b6 Count source select bit C32 timer Bi mode register. This flag cannot be set to “1” by software. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Function (Note 2) (Note 3) ...

Page 93

... Cleared to “0” when interrupt request is accepted, or cleared by software. Transfer Transfer Transfer (measured value) (indeterminate (measured value) value) (Note 1) (Note 1) Cleared to “0” when interrupt request is accepted, or cleared by software. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Transfer (measured value) (Note 1) (Note 2) Transfer (measured value) (Note 1) (Note 1) (Note 2) ...

Page 94

... Three-phase mode 0 control bit 1: Three-phase mode 1 Short circuit timer count 0 : Not to be used source select bit (Note) 1 Always set to “0” Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER R W Description (Note 1) to output and W, and works the 5 R ...

Page 95

... Indeterminate 16 Function Set occurrence frequency of timer B2 interrupt request phase PWM control register 0, do not change the B2 interrupt occurrences frequency set counter to deal with the timer function for three-phase motor control. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Function ...

Page 96

... TA3S Timer A3 count start flag TA4S Timer A4 count start flag TB0S Timer B0 count start flag TB1S Timer B1 count start flag TB2S Timer B2 count start flag Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Address When reset ,0388 Indeterminate 16 16 ,038A ...

Page 97

... Invalid in timer mode. MR3 This bit can neither be set nor reset. When read in timer mode, its content is indeterminate Count source select bit TCK0 TCK1 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Function ...

Page 98

... U phase, V phase and V phase, and W phase and W phase concurrently go to “L” result, the port become the state of set by port direction register Setting “0” in this bit causes the ports to be the state 16 _______ ___ ___ Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ___ , and P7 ...

Page 99

... Timers’ functions for three-phase motor control Figure 1.15.5. Block diagram for three-phase waveform mode Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 99 ...

Page 100

... DU0 (bit 0 at 034A 16 16 ___ , the timer A4 counter starts counting the 16 , 0346 ), and starts outputting one-shot pulses. When timer A4 fin Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ). In this mode, each 16 ) for setting the 16 0). ) provides the means to choose 16 ) ...

Page 101

... U phase output signal U phase U phase Dead time Note: Set to triangular wave modulation mode and to three-phase mode 1. Figure 1.15.6. Timing chart of operation ( Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ___ ___ The three-phase shift register p o shifts in synchronization with the falling edge of the A4 output ...

Page 102

... DUB0 (bit 1 at 034A 16 ) allows the user to output the waveforms as shown in Figure 1.15.7, that is, to ___ Timer B2 interrupt occurres. Rewriting three-phase buffer register Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ), and to DU1 (bit 0 at 034B 16 ___ ...

Page 103

... DUB0 (bit 1 at 034A 16 ) and set “1” in DUB1 (bit 1 at 034A 16 , timer B2 generates an interrupt, and timer A4 16 ___ ___ ___ ___ Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ). In this mode, the 16 ) and the effective interrupt addition ...

Page 104

... Data transfer is made from the three- phase buffer register to the three- Interrupt occurres. phase shift register in step with the Rewriting the value of timer A4. timing of the timer B overflow Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER The three-phase p shift register shifts in synchronization with the falling edge of timer A4 ...

Page 105

... Figure 1.15.9. Timing chart of operation (4) Interrupt occurres. Rewriting the value of timer A4. Rewriting three-phase output buffer register n Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Data transfer is made from the three- phase buffer register to the three- phase shift register in step with the timing of the timer B overflow ...

Page 106

... Possible (Note 1) Possible Impossible Possible Impossible Impossible Possible (Note 3) Possible Impossible Impossible CMOS output CMOS output Impossible Impossible Impossible Impossible Mitsubishi microcomputers M16C / 62A Group UART2 (Note 1) Possible (Note 1) (Note 1) Possible (Note 2) (Note 1) Possible (Note 1) (Note 1) Impossible Possible (Note 4) (Note 3) Impossible ...

Page 107

... Vcc CTS/RTS disabled CTS Values set to UART0 bit rate generator (U0BRG Values set to UART1 bit rate generator (U1BRG Values set to UART2 bit rate generator (U2BRG) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Receive Reception clock Transmit/ control circuit ...

Page 108

... UART (9 bits) type PAR UART enabled PAR Clock UART (7 bits) synchronous disabled type UART (7 bits) UART (8 bits) “0” Clock synchronous type Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER UARTi receive register UARTi receive ...

Page 109

... UART UART(7 bits) synchronous disabled (7 bits) type UART (8 bits) “0” Clock synchronous type Error signal output disable Error signal output enable Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER UART2 receive register UART2 receive ...

Page 110

... U1BRG 03A9 Indeterminate 16 U2BRG 0379 Indeterminate 16 Function Assuming that set value = n, BRGi divides the count source Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER R W Function R W (During UART mode) Receive data Invalid overrun error 1 : Overrun error found ...

Page 111

... TxD, RxD I/O polarity reverse reverse bit 1 : Reverse Usually set to “0” 2 ” when I C mode is used. 2 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Function R W (During UART mode Transfer data 7 bits long Transfer data 8 bits long ...

Page 112

... Transmit data is output at rising edge of transfer clock and receive data is input at falling edge 0 : LSB first 1 : MSB first (Note 3) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Function R W (During UART mode selected ...

Page 113

... Continuous receive mode enabled Data logic select bit reverse 1 : Reverse Must be fixed to “0” enable bit Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Function R W (During UART mode Transmission disabled 1 : Transmission enabled ...

Page 114

... Must always be “0” Falling edge of RxD2 0 : Analog delay output Must always be “0” is selected 1 : Digital delay output is selected (must always be “0” when 2 not using I C mode) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Function “0”. 16 Function R ...

Page 115

... When writing to UART2 special mode 16 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Function bus exclusive use mode ...

Page 116

... UARTi receive buffer register is completed This error occurs when the next data is ready before contents of UARTi receive buffer register are read out to FF that is set to the UART bit rate generator Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Specification , 03A8 16 16 ...

Page 117

... Whether to reverse data in writing to the transmission buffer register or reading the reception buffer register can be selected. This function is reversing TxD port output and RxD port input. All I/O data level is reversed. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Specification 117 ...

Page 118

... SMD2 CKDIR Internal/external clock select bit STPS PRY Invalid in clock synchronous serial I/O mode PRYE IOPOL TxD, RxD I/O polarity reverse bit (Note 1) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset 00 16 Function Clock synchronous serial ...

Page 119

... CTS/RTS disable bit (bit 4 at address 03A4 CTS/RTS function select bit (bit 2 at address 03A4 CTS/RTS disable bit (bit 4 at address 03A4 Mitsubishi microcomputers M16C / 62A Group , 16 , 03A8 , 0378 ) = “0” ...

Page 120

... Meet the following conditions are met when the CLK input before data reception = “H” • Transmit enable bit • Receive enable bit • Dummy data write to UARTi transmit buffer register Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Stopped pulsing because transfer enable bit = “0” D ...

Page 121

... Note: This applies when the CLK polarity select bit = “0”. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER , 03AC 16 Note 1: The CLK pin level when not 7 transferring data is “H”. 7 Note 2: The CLK pin level when not transferring data is “ ...

Page 122

... CLK ) = “1”, and writing to transmit buffer register Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ). (See Figure 1.16.14 CLK , bit 5 at address 037D ...

Page 123

... This flag is set (= 1) when any of the overrun, framing, and parity errors is encountered to FF that is set to the UARTi bit rate generator Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER , 03A8 , 0378 16 16 ...

Page 124

... This function is reversing logic value of transferring data. Start bit, parity bit and stop bit are not reversed I/O polarity switch X X This function is reversing T D port output and R X level is reversed. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER D port input. All I/O data X ...

Page 125

... Stop bit length select bit PRY Odd / even parity select bit PRYE Parity enable bit IOPOL TxD, RxD I/O polarity reverse bit (Note) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset Function Transfer data 7 bits long ...

Page 126

... CTS/RTS disable bit (bit 4 at address 03A4 CTS/RTS function select bit (bit 2 at address 03A4 CTS/RTS disable bit (bit 4 at address 03A4 Mitsubishi microcomputers M16C / 62A Group , 16 , 03A8 , 0378 ) = “0” 03A8 ) = “ ...

Page 127

... frequency of BRGi count source ( frequency of BRGi count source (external clock) EXT n : value set to BRGi Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Stopped pulsing because transmit enable bit = “0” ...

Page 128

... Cleared to “0” when interrupt request is accepted, or cleared by software frequency of BRG2 count source ( value set to BRG2 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Note ...

Page 129

... Cleared to “0” when interrupt request is accepted, or cleared by software ) is assigned 1, data is inverted in writing to the Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Stop bit Start bit P : Even parity ...

Page 130

... D pin output and R D pin input. The level of any data to be input or output pin and the input level of the Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER D pin at the rising Start bit SP : Stop bit ...

Page 131

... On the transmission side, a parity error is detected by the level of input to the R D pin when a transmission interrupt occurs that is set to the UARTi bit rate generator Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER = “101 16 = “0” “1” and “1” respectively “0”). ...

Page 132

... Read to receive buffer Cleared to “0” when interrupt request is accepted, or cleared by software frequency of BRG2 count source ( value set to BRG2 and RxD are connected Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Note ...

Page 133

... If you choose the inverse format Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ) assigned “1”, you can output an “L” Start bit P : Even Parity SP : Stop bit data is inverted 7 D6 ...

Page 134

... Clock asynchronous serial I/O (UART) mode Figure 1.16.25 shows the example of connecting the SIM interface. Connect T pull-up. Figure 1.16.25. Connecting the SIM interface 134 Microcomputer TxD 2 RxD 2 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER D and R D and apply SIM card ...

Page 135

... cycle of 1/f cycle of 1/f cycle of 1/f(X IN ”. When writing to UART2 special mode 16 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2 C mode select bit bus (simplified I Function R W (During UART mode) Must always be “ ...

Page 136

... Reading the terminal when 0 is assigned to the direction register H level (when 0 is assigned to the CLK polarity select bit mode is in use. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER To DMA0, DMA1 IICM=0 UART2 transmission/ or IICM2=1 NACK interrupt request ...

Page 137

... The stop condition detection interrupt used as the arbitration loss detecting flag control bit. 16 data register to “0” in synchronization with the SCL terminal level going to “L”. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2 C mode select bit ...

Page 138

... CLK TxD Enabling transmission With "1: falling edge of RxD " selected 2 CLK TxD RxD Figure 1.16.28. Some other functions added 138 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER level and TxD level do not match, but the nonconfor Timer A0 overflow Mitsubishi microcomputers M16C / 62A Group ...

Page 139

... SCL wait output bit 2 0: UART2 clock 1: 0 output 0: Enabled SDA output disable bit 1: Disabled (high impedance) Start/stop condition Set this bit to “1” control bit (refer to Table 1.16.12) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2 C mode. Figure Function 2 ...

Page 140

... The rising edge of the final bit of the reception clock ) of the main clock. IN Duration for Duration for setting up holding Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2 C mode select bit 2. Table 2 C mode select bit IICM2 = 1 of the final bit of the clock) ...

Page 141

... P7 of the direction register. 1 I/O Timer 2 C mode used as the SCL wait output bit. Setting this bit to 16 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER To DMA0, DMA1 IICM=0 UART2 transmission/ or IICM2=1 NACK interrupt request IICM=1 and IICM2=0 To DMA0 ...

Page 142

... UART2 transfer clock. There can be instances in which arbitration lost detection flag is turned on. 142 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ) is used as the UART2 initialization bit used as the SCL pin wait output bit 2. Setting this used as the SDA output disable bit. Setting this bit 16 Mitsubishi microcomputers M16C / 62A Group ...

Page 143

... A value set in the S I/O transfer rate register i (0363 Figure 1.16.31. S I/O3, 4 block diagram SMi1 SMi0 Synchronous 1/2 circuit SMi3 Transfer rate register (8) SMi6 SMi6 S I/O counter i (3) SMi2 SMi3 SMi5 LSB MSB S I/Oi transmission/reception register (8) , 0367 ). 16 16 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Data bus 1/(ni+1) S I/Oi interrupt request 8 143 ...

Page 144

... Symbol Address S3BRG 0363 16 S4BRG 0367 16 Indeterminate Symbol Address S3TRR 0360 16 S4TRR 0364 16 Indeterminate Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 40 16 Description output OUT i output disable (high impedance) OUT i output, CLK function ) in advance to write to the 16 ...

Page 145

... OUTi through FF set in the S I/Oi transfer rate register ( 4). 16 initial value set bit), make sure the CLKi pin input is held high. OUTi Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER , 0366 = “1”): f1/2(ni+1 0366 ...

Page 146

... OUT port select bit =“1”. OUT Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER pin output level during a non-transfer OUTi S I/Oi port select bit SMi3 = 0 SOUTi initial value select bit ...

Page 147

... AD 8-bit resolution: 28 cycles, 10-bit resolution exceeds 10MH , and make IN Z frequency to 250kH AD frequency to 1MH AD Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ) when the A-D REF , reducing the power REF to connect V 16 /divide-by =f ...

Page 148

... A-D control register 0 (address 03D6 16 Decoder CH2,CH1,CH0=000 CH2,CH1,CH0=001 CH2,CH1,CH0=010 CH2,CH1,CH0=011 OPA1,OPA0=0,0 CH2,CH1,CH0=100 CH2,CH1,CH0=101 CH2,CH1,CH0=110 CH2,CH1,CH0=111 OPA1,OPA0=1,1 OPA0=1 OPA1,OPA0=0,1 OPA1=1 Mitsubishi microcomputers M16C / 62A Group AD A-D conversion rate selection ) ) V ref Comparator V IN OPA1, OPA0 Normal operation ANEX0 ANEX1 External op-amp mode ...

Page 149

... OPA0 ANEX0 and ANEX1 are not used connection mode bit ANEX0 input is A-D converted ANEX1 input is A-D converted OPA1 External op-amp connection mode indeterminate. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2 Function R is selected 0 is selected ...

Page 150

... Two high-order bits of A-D conversion result • During 8-bit mode When read, the content is indeterminate Nothing is assigned attempt to write to these bits, write “0”. The value, if read, turns out to be “0”. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset 0000XXX0 2 ...

Page 151

... ANEX0 and ANEX1 are not used connection mode bit ANEX0 input is A-D converted ANEX1 input is A-D converted OPA1 External op-amp connection mode Note: If the A-D control register is rewritten during A-D conversion, the conversion result is indeterminate. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2 Function selected ...

Page 152

... ANEX0 and ANEX1 are not used connection mode bit ANEX0 input is A-D converted ANEX1 input is A-D converted OPA1 External op-amp connection mode Note: If the A-D control register is rewritten during A-D conversion, the conversion result is indeterminate. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2 Function selected ...

Page 153

... OPA0 ANEX0 and ANEX1 are not used connection mode ANEX0 input is A-D converted bit (Note ANEX1 input is A-D converted OPA1 External op-amp connection mode is indeterminate. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER pins ...

Page 154

... OPA0 ANEX0 and ANEX1 are not used connection mode ANEX0 input is A-D converted bit (Note ANEX1 input is A-D converted OPA1 External op-amp connection mode is indeterminate. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER pins ...

Page 155

... External op-amp connection mode Note 1: If the A-D control register is rewritten during A-D conversion, the conversion result is indeterminate. Note 2: Neither ‘01’ nor ‘10’ can be selected with the external op-amp connection mode bit. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER AN ...

Page 156

... AN 16 Resistor ladder Successive conversion register ANEX0 ANEX1 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ) to “1”. When 16 cycle Comparator is 7 ...

Page 157

... Figure 1.18.1. Block diagram of D-A converter X n/ 256 ( 255) REF V : reference voltage REF Performance R-2R method 8 bits 2 channels D-A register0 (8) (Address 03D8 D-A0 output enable bit D-A register1 (8) (Address 03DA D-A1 output enable bit Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ) 157 ...

Page 158

... DA1E D-A1 output enable bit 1 : Output enabled Symbol Address DAi (i = 0,1) 03D8 03DA Indeterminate Function Output value of D-A conversion Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset 00 16 Function R W When reset ...

Page 159

... Symbol Address b0 CRCD 03BD Function CRC calculation result output register Symbo CRCIN Function Data input register Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER generate CRC code. (Addresses 03BD , 03BC ) 16 16 When reset , 03BC Indeterminate 16 16 ...

Page 160

... LSB CRC input register After CRC calculation is complete b0 CRC data register 0A41 16 Stores CRC code Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER [03BD , 03BC ] 16 16 CRCIN [03BE ] 16 CRCD [03BD , 03BC ] ...

Page 161

... External bus width is 8 bits in microprocessor mode or memory expansion mode. • Port P1 can be used as a port in multiplexed bus for the entire space. SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ). Each port can be set independently for Mitsubishi microcomputers M16C / 62A Group is 5 161 ...

Page 162

... Input to respective peripheral functions Pull-up selection Direction register Data bus Port latch Input to respective peripheral functions Note :1 symbolizes a parasitic diode. Do not apply a voltage higher than Vcc to each port. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER "1" Output (Note) (Note) (Note) (Note) ...

Page 163

... Pull-up selection Direction register Port latch Pull-up selection "1" Output Port latch NMI interrupt input "1" Output Port latch symbolizes a parasitic diode. symbolizes a parasitic diode. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER (Note1) (Note1) (Note1) (Note1) (Note2) 163 ...

Page 164

... Pull-up selection Direction register "1" Output Port latch Input to respective peripheral functions Analog input symbolizes a parasitic diode. Do not apply a voltage higher than Vcc to each port. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER (Note) (Note) D-A output enabled (Note) (Note) ...

Page 165

... Direction register Port latch Pull-up selection Direction register "1" Output Port latch symbolizes a parasitic diode. symbolizes a parasitic diode. side is added to the mask ROM version. CC Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER (Note (Note) (Note2) (Note1) (Note2) (Note1) ...

Page 166

... Port P8 direction register Input mode Port P8 direction register 6 (Functions as an input port Output mode Port P8 direction register 7 (Functions as an output port) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Address When reset , 03E6 , 03E7 , 03EA 03EF ...

Page 167

... Port P8 register “H” level data Port P8 register 5 Port P8 register 6 Port P8 register 7 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Address When reset , 03E4 , 03E5 , 03E8 Indeterminate 03ED , 03F1 , 03F4 Indeterminate ...

Page 168

... pull- pull- P10 to P10 pull- P10 to P10 pull- Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset 00 16 Function R W When reset 00 (Note 2) 16 Function R W terminal, this register becomes SS When reset 00 16 ...

Page 169

... Bit symbol Bit name PCR0 Port P1 control register Nothing is assigned attempt to write to these bits, write “0”. The value, if read, turns out to be “0”. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER When reset Function 0 : When input port, read port input level ...

Page 170

... Port P4 / CS1 CS3 Open BCLK (Note memory expansion mode or in microprocessor mode ) is set to “1”, connect Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER or V via via via a resistor (pull-up (Input mode) · ...

Page 171

... Bi register after setting a value in the timer Bi register with a count halted but before the counter starts counting gets a proper value. pin is outputting an “H” level in this instance, the output level goes to “L”, and OUT Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ”. Reading the 16 ” ...

Page 172

... Do not get into stop mode with the NMI pin set to “L”. 172 ____________ 16 by software sets enabled highest priority interrupt source request bit to “0” software. 16 _______ Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER will then be set to “0” Accepting an 16 _______ _______ ...

Page 173

... Four NOP instructions are required when using HOLD function. ; Enable interrupts. ; Disable interrupts. ; Dummy read. ; Enable interrupts. ; Push Flag register onto stack ; Disable interrupts. ; Enable interrupts. and V pin for noise and latch up countermeasure Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER and 173 ...

Page 174

... However, after the reset has been released and the operation of shifting from the microprocessor mode has started (“H” applied to the CNV the CPU shifts to the memory expansion mode. 174 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ” 2 pin), the internal ROM area cannot be accessed even if SS Mitsubishi microcomputers M16C / 62A Group ...

Page 175

... Mark specification sheet (3) ROM data : EPROMs or floppy disks *: In the case of EPROMs, there sets of EPROMs are required per pattern the case of floppy disks, 3.5-inch double-sided high-density disk (IBM format) is required per pattern. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 175 ...

Page 176

... P10 to P10 , Ta=25 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Rated value =AV -0.3 to 6.5 CC =AV CC -0.3 to 6.5 -0.3 to Vcc+0.3 -0.3 to 6.5 -0.3 to Vcc+0.3 -0.3 to 6.5 C 300 - -40 to 85(Note) -65 to 150 Unit ...

Page 177

... P3, P4, P5, P6, P7, and Main clock input oscillation frequency (Mask ROM, Flash memory 5V version, With wait) 16 10.0 0.0 5.5 =4.2V to 5.5V and f(BCLK) CC =4.2V to 5.5V and f(BCLK) CC Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER = 2. – Standard Min Typ. Max. 2.7 5.0 5.5 Vcc 0 0 0.8Vcc Vcc 0 ...

Page 178

... – C(Note2) unless otherwise specified) Measuring condition Note ( ) VREF o = 4.2V to 5.5V Min. Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2.7V to 5.5V, Vss = AV CC REF Standard Min. Typ. Max input ...

Page 179

... When a WAIT instruction is executed (Note1 Ta=85 C when clock is stopped Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 4. – unless otherwise specified) ...

Page 180

... ac3(RD – DB) = f(BCLK 180 = 5V – Parameter Parameter 9 10 – 45 [ns] 9 – 45 [ns] 9 – 45 [ns] Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER – (*) Standard Unit Min. Max. ns 62.5 ns ...

Page 181

... IN OUT t TAi input hold time h(T UP) OUT IN- SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER = 5V =– Parameter Parameter Parameter Parameter Parameter Mitsubishi microcomputers M16C / 62A Group – (*) Standard Unit Min. Max. ns 100 40 ns ...

Page 182

... INTi input HIGH pulse width t w(INL) INTi input LOW pulse width 182 = 5V – Parameter Parameter Parameter Parameter Parameter _______ Parameter Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER – (*) Standard Unit Min ...

Page 183

... 0. 30pF hold time 30pF P10 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER – Standard Unit Min. Max ...

Page 184

... C(Note3), CM15 = “1” unless otherwise specified) Measuring condition Parameter Figure 1.23 – 40 [ns 0. 30pF hold time Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER – Standard Unit Min. Max ...

Page 185

... C(Note2), CM15 = “1” unless otherwise specified) Measuring condition Figure 1.23.1 9 [ns] 9 [ns] 9 [ns] 9 [ns – 40 [ns] 9 [ns] 9 – 25 [ns] Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER – Standard Unit Min. Max ...

Page 186

... Figure 1.23.2. V =5V timing diagram (1) CC 186 t c(TA) t w(TAH) t w(TAL) t c(UP) t w(UPH) t w(UPL) t h(T –UP c(TB) t w(TBH) t w(TBL) t c(AD) t w(ADL) t c(CK) t w(CKH) t w(CKL su(D–C) d(C–Q) t w(INL) t w(INH) Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER su(UP– h(C–Q) t h(C–D) ...

Page 187

... CC • Input timing voltage : Determined with V • Output timing voltage : Determined with V Figure 1.23.3. V =5V timing diagram (2) CC tsu(RDY–BCLK) t h(BCLK–HOLD) t d(BCLK–HLDA) Hi– =1.0V Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER th(BCLK–RDY) =4.0V IH =2.5V, V =2.5V OH 187 ...

Page 188

... Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ...

Page 189

... V IL =0.8V Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 4ns.min t h(RD–CS) 0ns.min 4ns.min t h(BCLK–ALE) –4ns.min 0ns.min t h(RD–DB) 0ns.min 4ns.min t h(WR– ...

Page 190

... Data output Address t d(DB–WR) (tcyc*3/2–40)ns.min t t h(BCLK–ALE) d(AD–WR) –4ns.min 0ns.min t d(BCLK–WR) 25ns.max =5V CC Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER h(BCLK–CS) h(RD–CS) 4ns.min (tcyc/2)ns.min Data input Address t h(RD–DB) 0ns.min t SU(DB– ...

Page 191

... Ta=25 C when clock is stopped Ta=85 C when clock is stopped Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2.7 to 3.3V – ...

Page 192

... Mask ROM, Flash memory (5V version) Mask ROM, Flash memory (5V version) Mask ROM, Flash memory (5V version) Parameter 9 10 – 90 [ns] 9 – 90 [ns] 9 – 90 [ns] Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER – (*) ...

Page 193

... OUT IN t TAi input hold time h(T UP) OUT IN – Parameter Parameter Parameter Parameter Parameter Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER – (*) Standard Unit Min. Max. 150 ns 60 ...

Page 194

... INTi input HIGH pulse width w(INH) t INTi input LOW pulse width w(INL) 194 = 3V – Parameter Parameter Parameter Parameter Parameter _______ Parameter Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER – (*) Standard Unit Min. ...

Page 195

... 0. 30pF hold time – 0. 30pF P10 Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER – Standard Unit Min. Max ...

Page 196

... C(Note3), CM15=“1” unless otherwise specified) Measuring condition Parameter Figure 1.23 – 80 [ns 0. 30pF hold time Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER – Standard Unit Min. Max ...

Page 197

... C(Note2), CM15=“1” unless otherwise specified) Measuring condition Figure 1.23.7 9 [ns] 9 [ns] 9 [ns] 9 [ns – 80 [ns] 9 [ns] 9 – 45 [ns] Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER – Standard Unit Min. Max ...

Page 198

... Figure 1.23.7. V =3V timing diagram (1) CC 198 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER t c(TA) t w(TAH) t w(TAL) t c(UP) t w(UPH) t w(UPL) t h(T –UP c(TB) t w(TBH) t w(TBL) t c(AD) t w(ADL) t c(CK) t w(CKH) t w(CKL d(C–Q) su(D–C) t w(INL) t w(INH) Mitsubishi microcomputers M16C / 62A Group su(UP– h(C–Q) t h(C–D) ...

Page 199

... CC • Input timing voltage : Determined with V • Output timing voltage : Determined with V Figure 1.23.8. V =3V timing diagram (2) CC tsu(RDY–BCLK) t h(BCLK–HOLD) t d(BCLK–HLDA) Hi– =0.6V Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER th(BCLK–RDY) =2.4V IH =1.5V, V =1.5V OH 199 ...

Page 200

... SU(DB–RD) 80ns.min t h(BCLK–CS) 4ns.min t h(WR–CS) 0ns.min t h(BCLK–AD) 4ns.min t h(WR–AD) 0ns.min –4ns.min t h(BCLK–WR) 0ns.min t h(BCLK–DB) 4ns.min t h(WR–DB) t 0ns.min d(DB–WR) (tcyc/2–80)ns.min Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ...

Related keywords