7600 Series Mitsubishi
M37640E8-XXXFP Specification Semiconductor Corporation
1 Overview
1.1 MCU Features .................................................... 1-5
1.2 Pin Description and Layout................................ 1-6
2 Functional Description
2.1 Central Processing Unit......................................2-3
2.1.1 Register Structure......................................... 2-3
2.1.2 Accumulator (A)........................................... 2-3
2.1.3 Index Registers X and Y............................... 2-4
2.1.4 Stack Pointer................................................. 2-4
2.1.5 Program Counter .......................................... 2-4
2.1.6 Processor Status Register ............................. 2-5
2.2 CPU Mode Registers.......................................... 2-7
2.3 Oscillator Circuit................................................ 2-8
2.3.1 Description ................................................... 2-8
2.3.2 Frequency Synthesizer Circuit ................... 2-11
2.4 Memory Map.................................................... 2-14
2.4.1 Zero page.................................................... 2-15
2.4.2 Special Page................................................ 2-15
2.4.3 Special Function Registers .........................2-15
2.5 Processor Modes............................................... 2-17
2.5.1 Single Chip................................................. 2-17
2.5.2 Memory Expansion .................................... 2-18
2.5.3 Microprocessor........................................... 2-18
2.5.4 EPROM ...................................................... 2-18
2.5.5 Slow Memory Wait .................................... 2-19
2.5.6 Hold Function............................................. 2-23
2.5.7 Expanded Data Memory Access ................ 2-23
2.6 Peripheral Interface .......................................... 2-25
2.6.1 Chip Bus Timing ........................................ 2-25
2.6.2 Peripheral Interface and Access Timing..... 2-26
2.7 Input and Output Ports ..................................... 2-28
2.7.1 Ports............................................................ 2-28
2.7.1.1 I/O Ports................................................ 2-29
2.7.1.2 Power and Ground Pins........................ 2-40
2.7.1.3 CNVss Pin............................................. 2-40
2.7.1.4 Xin and Xout Pins.................................2-40
2.7.1.5 X
Cin
and XCout Pins ............................ 2-40
2.7.1.6 RESET Pin............................................ 2-40
2.7.1.7 RDY Pin ............................................... 2-41
2.7.1.8 DMAout Pin ......................................... 2-41
2.7.1.9 F
out
Pin.................................................. 2-41
2.7.1.10 SYNC
out
Pin....................................... 2-41
2.7.1.11 RD and WR Pins................................. 2-41
2.7.1.12 LPF Pin............................................... 2-41
2.7.1.13 USB D+/D- Pins................................. 2-41
2.7.1.14 Ext. Cap Pin........................................ 2-41
2.7.2 Port Control Register.................................. 2-42
2.7.3 Port 2 Pull-up Control Register.................. 2-42
2.8 Interrupt Control Unit....................................... 2-43
2.8.1 Interrupt Control......................................... 2-43
2.8.2 Interrupt Sequence and Timing ..................2-47
2.9 Universal Serial Bus......................................... 2-49
2.9.1 USB Function Control Unit (USB FCU).... 2-50
2.9.1.1 Serial Interface Engine ......................... 2-50
2.9.1.2 Generic Function Interface...................2-50
2.9.1.3 Serial Engine Interface Unit .................2-50
2.9.1.4 Microcontroller Interface Unit.............. 2-50
2.9.1.5 USB Transceiver................................... 2-50
2.9.2 USB Interrupts............................................2-51
2.9.2.1 USB Function Interrupt ........................2-51
2.9.2.2 USB SOF Interrupt...............................2-52
2.9.3 USB Endpoint FIFOs.................................. 2-52
2.9.3.1 IN (Transmit) FIFOs............................. 2-52
2.9.3.2 Out (Receive) FIFOs............................. 2-53
2.9.4 USB Special Function Registers................. 2-54
2.10 Master CPU Bus Interface.............................. 2-65
2.10.1 Data Bus Buffer Status Registers
(DBBS0, DBBS1)....................................... 2-68
2.10.2 Input Data Bus Buffer Registers
(DBBIN0, DBBIN1)................................... 2-68
2.10.3 Output Data Bus Buffer Registers
(DBBOUT0, DBBOUT1)........................... 2-68
2.11 Direct Memory Access Controller.................. 2-69
2.11.1 Operation.................................................. 2-70
2.11.1.1 Source, Destination, and Transfer Count
Register Operation............................................ 2-71
2.11.1.2 DMAC Transfer Request Sources......2-71
2.11.1.3 Transfer Features for USB and MBI .. 2-72
2.11.1.4 DMAC Transfer Mode ....................... 2-74
2.11.1.5 DMAC Transfer Timing..................... 2-74
2.12 Special Count Source Generator .................... 2-79
2.12.1 SCSG Operation....................................... 2-79
2.12.2 SCSG Description..................................... 2-80
2.12.2.1 SCSG1 ................................................2-80
2.12.2.2 SCSG2 ................................................2-80
2.13 Timers............................................................. 2-82
2.13.1 Timer X..................................................... 2-82
2.13.1.1 Read and Write Method...................... 2-82
2.13.1.2 Count Stop Control............................. 2-83
2.13.1.3 Timer Mode........................................2-83
2.13.1.4 Pulse Output Mode.............................2-83
2.13.1.5 Event Counter Mode........................... 2-84
2.13.1.6 Pulse Width Measurement Mode........ 2-84
2.13.2 Timer Y..................................................... 2-84
2.13.2.1 Read and Write Method...................... 2-85
2.13.2.2 Count Stop Control............................. 2-85
2.13.2.3 Timer Mode........................................2-85
2.13.2.4 Pulse Period Measurement Mode....... 2-86
2.13.2.5 Event Counter Mode........................... 2-86
2.13.2.6 HL Pulse-width Measurement Mode.. 2-86
2.13.3 Timer 1 ..................................................... 2-87
2.13.3.1 Timer Mode........................................2-87
2.13.3.2 Pulse Output Mode.............................2-87
2.13.4 Timer 2 ..................................................... 2-88
2.13.4.1 Timer Mode........................................2-88
2.13.4.2 Pulse Output Mode.............................2-88