M306H2FCFP Renesas Electronics Corporation., M306H2FCFP Datasheet

no-image

M306H2FCFP

Manufacturer Part Number
M306H2FCFP
Description
Manufacturer
Renesas Electronics Corporation.
Datasheet
To our customers,
Corporation, and Renesas Electronics Corporation took over all the business of both
companies. Therefore, although the old company name remains in this document, it is a valid
Renesas Electronics document. We appreciate your understanding.
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
Send any inquiries to http://www.renesas.com/inquiry.
On April 1
st
, 2010, NEC Electronics Corporation merged with Renesas Technology
Renesas Electronics website:
Old Company Name in Catalogs and Other Documents
http://www.renesas.com
April 1
Renesas Electronics Corporation
st
, 2010

Related parts for M306H2FCFP

M306H2FCFP Summary of contents

Page 1

To our customers, Old Company Name in Catalogs and Other Documents st On April 1 , 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the ...

Page 2

All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm ...

Page 3

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 ...

Page 4

... DESCRIPTION The M306H2FCFP is single-chip microcomputer using the high-performance silicon gate CMOS process using a M16C/60 Series CPU core and is packaged in a 116-pin plastic molded QFP. This single-chip microcomputer operates using sophisticated instructions featuring a high level of instruction efficiency. With 1M bytes of address space, this is capable of executing instructions at high speed. This also features a built-in data acquisition circuit, making this correspondence to Teletext broadcasting service ...

Page 5

... CPU Rewrite Mode .......................................... 205 5.4 Functions To Inhibit Rewriting Flash Memory Version ....... 215 5.5 Parallel I/O Mode ............................................. 217 5.6 Standard serial I/O mode ................................. 218 5.7 Absolute maximum ratings .............................. 246 6. PACKAGE OUTLINE ............................................. 248 7. DIFFERENCES BETWEEN M306H2MC-XXXFP AND M306H2FCFP .... 249 2 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER ...

Page 6

... Figure 1.3.1 Pin configuration (top view) Rev. 1.0 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER M306H2FCFP 116P6A-A MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER /CS2 6 P4 /CS3 54 7 ...

Page 7

... Block Diagram Figure 1.4 block diagram of the M306H2FCFP ...

Page 8

... Performance Outline Table 1.5 performance outline of M306H2FCFP. Table 1.5.1 Performance outline of M306H2FCFP Item Number of basic instructions Shortest instruction execution time Memory ROM capacity RAM I/O port P0 to P10 (except P8 Input port P8 5 Output port P11 Multifunction TA0, TA1, TA2, TA3, TA4 timer TB0, TB1, TB2, TB3, TB4, TB5 16 bits ...

Page 9

... They also output address (A This is an 8-bit I/O port equivalent to P0. These pins output CS – select signals used to specify an access space. A order address bits. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function and the X pins OUT pin and leave the IN – ...

Page 10

... 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. This is a 1-bit output-only port. Pins in this port also function as SLICEON output pins as selected by software. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function clock selected by software ...

Page 11

... Sub-carrier (fsc) input pin for synchronous signal generation power supply input pin for rewriting of built-in flash memory. Usually supply pin, and supply 4.75-5.25V at the time of rewriting of built-in flash memory. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function 1 pin pin. ...

Page 12

... Internal RAM area Internal reserved area (Note) External area FFFDC Internal reserved area (Note) Internal ROM area FFFFF MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER to FFFFF . The starting addition to storing data, the 16 . This area accommodates the control to FFFDB . If the starting addresses ...

Page 13

... Note: Location in the SFR area where nothing is allocated are reserved. Do not access these areas for read or write. Figure 2.1.2 Location of peripheral unit control registers (1) 10 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER INT3 interrupt control register(INT3IC) 0044 16 ...

Page 14

... Flash memory control register 03B4 16 03B5 16 03B6 16 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 M306H2FCFP with DATA ACQUISITION CONTROLLER (FER) 11 ...

Page 15

... Port P10 direction register (PD10) 03F6 16 03F7 16 03F8 16 03F9 16 03FA 16 03FB 16 Pull-up control register 0 (PUR0) 03FC 16 Pull-up control register 1 (PUR1) 03FD 16 Pull-up control register 2 (PUR2) 03FE 16 Port control register (PCR) 03FF 16 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Rev. 1.0 ...

Page 16

... INTB H b15 b0 USP b15 b0 ISP Address registers b15 b0 SB b15 b0 FLG Frame base registers IPL U I MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER b0 Program counter b0 Interrupt table L register b0 User stack pointer b0 Interrupt stack pointer b0 Static base register b0 Flag register ...

Page 17

... 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. 14 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER Rev. 1.0 ...

Page 18

... Flag register (FLG 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 M306H2FCFP with DATA ACQUISITION CONTROLLER 15 ...

Page 19

... More than 20 cycles are needed RESET BCLK Single chip mode Address Figure 2.3.2 Reset sequence 16 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER RESET 0V BCLK 24 cycles Address Content of reset vector FFFFC 16 Address FFFFE 16 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 4.75V 0.95V Rev. 1.0 ...

Page 20

... A software reset has almost the same effect as a hardware reset. The contents of internal RAM are preserved. Rev. 1.0 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ____________ ____________ Input port (floating) Output port Input port Output port MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Status ) applies a (software) reset to the 16 17 ...

Page 21

... MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER (005A )··· (005B )··· (005C )··· ...

Page 22

... The content of other registers and RAM is undefined when the microcomputer is reset. The initial values must therefore be set. Note: When the V level is applied to the CNV pin MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER (03DC )··· (03E2 )··· ...

Page 23

... Figure 2.4.2 shows the memory maps applicable for each of the modes when memory area dose not be expanded (normal mode). Note : Microprocessor mode cannot be used. 20 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER " and "11 2 " to the processor mode is selected bits.. 2 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ". 2 Rev. 1.0 ...

Page 24

... Must always be set to “0” Reserved bit Must always be set to “0” PM17 Wait bit Note : Set bit 1 of the protect register (address 000A values to this register. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 00 16 Function Single-chip mode ...

Page 25

... RAM area RAM area Internally reserved area External Inhibited area Internally reserved area Internal Internal ROM area ROM area External area : Accessing this area allows the user to access a device connected externally to the microcomputer. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Rev. 1.0 ...

Page 26

... BYTE pin Bits 4 and 5 of processor mode register 0 can be used as programmable I/O ports. When bit 6 of processor mode 3 are multiplexed with MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ) are used to change 16 Switching factor are multiplexed with ...

Page 27

... HLDA HLDA HLDA HOLD HOLD HOLD ALE ALE ALE RDY RDY RDY MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Memory expansion mode “00” “11”(Note 1) Multiplexed bus (separate bus) for the entire space 16 bits 8 bits “L” “H” ...

Page 28

... CS3 wait bit MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER to D function 0 7 function as the data bus Bits the chip select ...

Page 29

... H Not used Read 1 byte of data When BYTE pin = “L” Data (Notes MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 16 _________ ________ Status of external data bus Status of external data bus ALE A Address Address Data (Notes 1) ...

Page 30

... The RDY signal is invalid when setting 16 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 M306H2FCFP with DATA ACQUISITION CONTROLLER ________ ________ ), but the RDY pin should be 16 Status ________ 27 ...

Page 31

... SFR accessed Address output Floating Output data RD, WR, WRL, WRH output BHE output Output "H" Output "L" MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER __________ Status Internal RAM accessed Maintain status before accessed address of external area Floating Undefined Output "H" ...

Page 32

... Invalid Invalid 0 Invalid 1 Invalid (Note (Note) MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ) (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 29 ...

Page 33

... Figure 2.4.7 Typical bus timings using software wait 30 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Bus cycle (Note 1) Output Address Address Bus cycle (Note 1) Output Address Bus cycle (Note 1) Address Address Data output Address MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Input Input Address Address Input Rev. 1.0 ...

Page 34

... OUT (Note OUT X COUT (Note COUT MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Sub clock generating circuit • CPU’s operating clock source • Timer A/B’s count clock source Crystal oscillator CIN COUT Available Stopped Microcomputer (Built-in feedback resistor) ...

Page 35

... CM04 f C Sub clock OUT R Main clock CM02 CM05 1/2 1/2 a CM06=0 CM17,CM16=01 CM06=0 CM17,CM16= MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER C32 SIO2 SIO2 SIO2 CM07 Divider BCLK f C CM07=1 ...

Page 36

... WAIT instruction. 16 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER -X drive capacity select IN OUT ), the sub-clock can However, be sure the memory 16 ) 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 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function ...

Page 38

... Retains status before wait mode “H ” “H ” “H ” Retains status before wait mode Valid only in single-chip mode Valid only in single-chip mode MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ) enable stops oscillation 16 , and f stops in stop mode, periph- C32 ...

Page 39

... Retains status before wait mode Valid only in single-chip mode Valid only in single-chip mode MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 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 0 0 Invalid Invalid 0 1 Invalid 1 1 MITSUBISHI MICROCOMPUTERS M306H2FCFP or vice versa, the clock to which 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 37 ...

Page 41

... The main clock and the sub-clock 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 2.5.5 is the state transition diagram of the above modes. 38 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER MITSUBISHI MICROCOMPUTERS M306H2FCFP C = 3.0 V) only CC Rev. 1.0 ...

Page 42

... MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ...

Page 43

... SI/Oi control register (i=3,4) (addresses 0362 and 0366 ) (Note “0” . Other bits do not automatically return to “0” and they must therefore be reset by the program. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ), system clock 16 ), port P9 direction 16 ) and SI/O4 control register (address not automatically 16 ...

Page 44

... Rev. 1.0 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER Undefined instruction (UND instruction) Overflow (INTO instruction) BRK instruction INT instruction Reset _______ NMI ________ DBC Special Watchdog timer Single step Address matched Peripheral I/O (Note) MITSUBISHI MICROCOMPUTERS M306H2FCFP 41 ...

Page 45

... When returning from the interrupt routine, the U flag is returned to the state it was before the acceptance of interrupt request. So far as software numbers 32 through 63 are concerned, the stack pointer does not make a shift. 42 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER Rev. 1.0 ...

Page 46

... 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. Rev. 1.0 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ____________ _______ ___ ________ MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ______ 43 ...

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 M306H2FCFP with DATA ACQUISITION CONTROLLER LSB Remarks , program execution starts from 16 _______ Rev. 1.0 ...

Page 48

... UART2 transmit/NACK (Note 3) UART2 receive/ACK (Note 3) UART0 transmit UART0 receive UART1 transmit UART1 receive Timer A0 Timer A1 Timer A2 Timer A3 Timer A4 Timer B0 Timer B1 Timer B2 INT0 INT1 INT2 to Software interrupt MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Remarks Cannot be masked I flag Cannot be masked I flag ). 16 45 ...

Page 49

... Also, the interrupt enable flag (I flag) and the IPL are located in the flag register (FLG). Figure 2.7.3 shows the memory map of the interrupt control registers. 46 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER Rev. 1.0 ...

Page 50

... POL Polarity select bit 0 : Selects falling edge 1 : Selects rising edge Reserved bit Always set to “0” interrupt request for that register. For details, see the precautions for interrupts. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER When reset XXXXX000 2 16 XXXXX000 2 XXXXX000 ...

Page 51

... Level Level 5 Level Level 7 48 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER Table 2.7.4 Interrupt levels enabled according to the contents of the IPL Priority IPL order IPL IPL IPL Interrupt levels 1 and above are enabled ...

Page 52

... Instructions : AND, OR, BCLR, BSET Rev. 1.0 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ; 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 M306H2FCFP with DATA ACQUISITION CONTROLLER 49 ...

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 2.7.4 Interrupt response time 50 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Interrupt request acknowledged Interrupt sequence (b) Interrupt response time MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Time Instruction in interrupt routine Rev. 1.0 ...

Page 54

... Indeterminate SP-2 SP-4 SP-2 Indeterminate contents contents Indeterminate MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 8-Bit bus, without wait 20 cycles (Note 1) 20 cycles (Note 1) 20 cycles (Note 1) 20 cycles (Note vec vec+2 PC SP-4 vec ...

Page 55

... Flag register m – 1 [SP] Stack pointer m value before interrupt occurs Stack status after interrupt request is acknowledged MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Stack area LSB [SP] New stack Program counter ( pointer value Program counter ( Flag register (FLG ...

Page 56

... Finished saving registers in two operations. Note: [SP] denotes the initial value of the stack pointer (SP) when interrupt request is acknowledged. After registers are saved, the SP content is [SP] minus 4. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Stack area Sequence in which order registers are saved Program counter (PC ...

Page 57

... Interrupt resolution circuit When two or more interrupts are generated simultaneously, this circuit selects the interrupt with the highest priority level. Figure 2.7.9 shows the circuit that judges the interrupt priority level. 54 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER Rev. 1.0 ...

Page 58

... Figure 2.7.9 Maskable interrupts priorities (peripheral I/O interrupts) Rev. 1.0 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 M306H2FCFP with DATA ACQUISITION CONTROLLER Interrupt request level judgment output to clock generating circuit (Fig.2.5.3) Interrupt request accepted 55 ...

Page 59

... INT4 interrupt polarity swiching bit IFSR5 INT5 interrupt polarity swiching bit IFSR6 Interrupt request cause select bit IFSR7 Interrupt request cause select bit MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ________ ________ When reset Fumction 0 : One edge 1 : Two edges ...

Page 60

... Port P10 -P10 pull- select bit Key input interrupt control register Port P10 direction 7 register direction register 7 direction 6 Interrupt control circuit direction 5 direction 4 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ______ register (bit 5 (address 004D ) 16 Key input interrupt request 57 ...

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 M306H2FCFP with DATA ACQUISITION CONTROLLER When reset 2 Function Interrupt disabled 1 : Interrupt enabled ...

Page 62

... Reading address 00000 16 by software. 16 _______ , which is exclusively input. Reading the contents of the P8 register 5 _______ _______ _______ ________ ________ to INT pins is changed, the interrupt request bit is sometimes set MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER by software sets 16 . Accepting an interrupt 16 _______ ________ 0 59 ...

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 M306H2FCFP with DATA ACQUISITION CONTROLLER Rev. 1.0 ...

Page 64

... X watchdog timer count (32768) BCLK Prescaler “CM07 = 0” “WDC7 = 0” 1/16 “CM07 = 0” “WDC7 = 1” 1/128 “CM07 = 1” 1/2 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ) selects the prescaler 16 ). Thus the watchdog timer Watchdog timer Watchdog timer interrupt request Set to “ ...

Page 65

... 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 M306H2FCFP with DATA ACQUISITION CONTROLLER When reset 000XXXXX 2 Function R W Must always be set to “0” ...

Page 66

... DMA0 forward address pointer (20) (Note) DMA1 source pointer SAR1 (20) (addresses 0032 , 0028 ) 16 16 DMA1 destination pointer DAR1 (20) DMA1 forward address pointer (20) (Note) , 0038 ) 16 16 DMA latch high-order bits Note: Pointer is incremented by a DMA request. M306H2FCFP to 0020 ) 16 16 (addresses 0026 to 0024 ) 0030 ) 16 16 (addresses 0036 ...

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 M306H2FCFP with DATA ACQUISITION CONTROLLER to 003F ] cannot be accessed) 16 ...

Page 68

... Software DMA If software trigger is selected, a 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 M306H2FCFP with DATA ACQUISITION CONTROLLER When reset 00 16 Function R W /two edges of INT0 pin (DMS=1) ...

Page 69

... DSD select bit (Note Forward Destination address 0 : Fixed DAD direction select bit (Note Forward cannot be set to “1” simultaneously. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER When reset 00 16 Function R W /serial I/O3 (DMS=1) /serial I/O4 (DMS=1) /two edges of INT1 (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 0029 TCR1 0039 Function • Transfer counter Set a value one less than the transfer count MITSUBISHI MICROCOMPUTERS M306H2FCFP Address When reset 0022 to 0020 Indeterminate 16 16 0032 to 0030 Indeterminate ...

Page 71

... For example (2) in Figure 2.9.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. 68 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER Rev. 1.0 ...

Page 72

... Dummy Source Destination cycle Dummy Source Destination cycle Source Source + 1 Destination Source Source + 1 Destination MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER CPU use CPU use CPU use CPU use CPU use CPU use Dummy CPU use cycle Dummy CPU use cycle 69 ...

Page 73

... Even – Odd – Even 1 Odd 2 Even – Odd – SFR area Separate bus With wait No wait 2 2 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Memory expansion mode No. of read No. of write cycles cycles cycles – – ...

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. Rev. 1.0 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER 71 ...

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 2.9.6 An example of DMA transfer effected by external factors 72 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER Obtainm ent of the bus right Rev. 1.0 ...

Page 76

... Event counter mode • Timer mode • One-shot mode • PWM mode • Event counter mode ) is shared with RxD and the TB5 pin careful MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Clock prescaler f 1/32 C32 Reset Timer A0 interrupt Timer A0 Timer A1 interrupt Timer A1 ...

Page 77

... Pulse width measuring mode • Event counter mode • Timer mode • Pulse width measuring mode • Event counter mode and the TA0 pin careful MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Clock prescaler f C32 1/32 Reset Timer B0 interrupt Timer B0 Timer B1 interrupt ...

Page 78

... TCK0 TCK1 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ” ...

Page 79

... MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER R W ...

Page 80

... When reset CPSRF 0381 0XXXXXXX 16 Bit symbol Bit name effect CPSR Clock prescaler reset flag 1 : Prescaler is reset (When read, the value is “0”) MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function Input on TA0 is selected (Note) IN Function R W Input on TA1 ...

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 M306H2FCFP with DATA ACQUISITION CONTROLLER pin’s input signal IN pin’s polarity is reversed ...

Page 82

... Set the corresponding port direction register to “0”. Note 5: In the case of using “Event counter mode” as “Free-Run type”, the timer register contents may be unkown when counting begins.(Refer 3. Usage Precaution.) MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER pin’s polarity is reversed OUT ...

Page 83

... If the phase relationship is such that the OUT IN pin goes “L” when the input signal on the TAi IN TAi OUT Count up all edges TAi IN (i=3,4) Count up all edges MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER or TAi pin IN OUT pin is “H” Down Down Down count count count pin goes “ ...

Page 84

... A4 is fixed to multiply-by-4 processing operation. signal processing operation select bit (address 0384 sure to set the event/trigger select bit (address 0383 contents may be unkown when counting begins.(Refer 3. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function ...

Page 85

... 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 M306H2FCFP with DATA ACQUISITION CONTROLLER Function pin's input signal (Note 3) IN pin's input signal (Note 3) IN Rev ...

Page 86

... If timer overflow is selected, this bit can be “1” or “0” MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER R W Function pin's input signal (Note 2) IN pin's input signal (Note 2) IN ...

Page 87

... – Cleared to “0” when interrupt request is accepted, or cleaerd by software ) C32 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 8 Rev. 1.0 ...

Page 88

... Function varies with each operation mode MR1 MR2 MR3 Count source select bit (Function varies with each operation mode) MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Data bus high-order bits Data bus low-order bits High-order 8 bits Low-order 8 bits Reload register (16) ...

Page 89

... Nothing is assigned attempt to write to these bits, write “0”. The value, if read, turns out to be “0” effect CPSR Clock prescaler reset flag 1 : Prescaler is reset MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER When reset , 0390 Indeterminate 0392 Indeterminate ...

Page 90

... MR3 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 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 2 2 Function R W (Note 1) (Note 2) 1 ...

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 M306H2FCFP with DATA ACQUISITION CONTROLLER 2 2 Function R W ...

Page 92

... Timer has overflowed b7 b6 Count source select bit C32 and a value is written to the timer Bi mode register. This flag cannot be set to “1” by software. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W (Note 2) (Note 3) 89 ...

Page 93

... Cleared to “0” when interrupt request is accepted, or cleared by software. Transfer Transfer Transfer (indeterminate (measured value) (measured value) value) (Note 1) (Note 1) (Note 1) Cleared to “0” when interrupt request is accepted, or cleared by software. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Transfer (measured value) (Note 1) (Note 2) Transfer (measured value) (Note 1) (Note 2) Rev. 1.0 ...

Page 94

... Possible Impossible Possible Impossible Impossible Possible (Note 3) Possible Impossible Impossible CMOS output CMOS output Impossible Impossible Impossible Impossible MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER UART1 UART2 (Note 1) Possible (Note 1) (Note 1) Possible (Note 2) (Note 1) Possible (Note 1) (Note 1) Impossible Possible (Note 4) (Note 3) ...

Page 95

... RTS 2 Vcc CTS/RTS disabled CTS Values set to UART0 bit rate generator (BRG0 Values set to UART1 bit rate generator (BRG1 Values set to UART2 bit rate generator (BRG2) MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER TxD 0 Receive Reception clock Transmit/ receive unit ...

Page 96

... Clock synchronous UART (9 bits) type UART PAR Clock UART (7 bits) disabled synchronous type UART (7 bits) UART (8 bits) “0” Clock synchronous type MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER UARTi receive register UARTi receive buffer register ...

Page 97

... UART Clock UART UART(7 bits) synchronous (7 bits) type UART (8 bits) Clock synchronous type Error signal output disable Error signal output enable MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER UART2 receive register UART2 receive buffer register ...

Page 98

... Indeterminate 16 Function Assuming that set value = n, BRGi divides the count source Note 1: Write a value to the register while transmit/receive stop. Note 2: Use MOV instruction to write to this register. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER R W Function R W (During UART mode) Receive data ...

Page 99

... TxD, RxD I/O polarity reverse reverse bit 1 : Reverse Usually set to “0” 2 ” when I C mode is used. 2 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W (During UART mode Transfer data 7 bits length Transfer data 8 bits length ...

Page 100

... 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 M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W (During UART mode selected ...

Page 101

... Continuous receive mode enabled Data logic select bit reverse 1 : Reverse Must be fixed to “0” enable bit MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W (During UART mode Transmission disabled 1 : Transmission enabled 0 : Data present in transmit buffer register ...

Page 102

... Reading and writing U2SMR3 are enable when SDDS = "0". when digital delay is selected. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W (During UART mode) ...

Page 103

... Delaying ; Only analog delay value when analog delay is selected, and only digital delay value when digital delay is selected. 4: Delay level depends on SCL pin and SDA pin. And, when use external clock, delay is increase around 100ns. So test first, and use this. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER R W Function ...

Page 104

... Interrupts requested when data transfer from UARTi “1”: Interrupts requested when data transmission from that is set to the UART bit rate generator MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER , 03A8 , 0378 03A8 , 0378 16 16 ...

Page 105

... TxD, RxD I/O polarity reverse (UART2) This function is reversing TxD port output and RxD port input. All I/O data level is reversed. 102 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER Specification Rev. 1.0 ...

Page 106

... STPS PRY Invalid in clock synchronous serial I/O mode PRYE IOPOL TxD, RxD I/O polarity reverse bit (Note1) 2: Set a corresponding direction register to "0." MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 00 16 Function Clock synchronous serial I/O mode 0 : Internal clock ...

Page 107

... 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 M306H2FCFP with DATA ACQUISITION CONTROLLER , 16 , 03A8 , 0378 ) = “0” ...

Page 108

... MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER “ 0 ” ...

Page 109

... Note: This applies when the CLK polarity select bit = “0”. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER , 03AC , 037C 16 16 Note 1: The CLK pin level when not transferring data is “H”. Note 2: The CLK pin level when not transferring data is “ ...

Page 110

... SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ( ( ( CLK ) = “1”, and writing to transmit buffer register MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ). (See Figure 2.11.14 CLK , bit 5 at address 037D 107 ...

Page 111

... Interrupts requested when data transfer from UARTi “1”: Interrupts requested when data transmission from that is set to the UARTi bit rate generator MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ,03A8 ,0378 = “0” and 03A8 = “ ...

Page 112

... This function is reversing logic value of transferring data. Start bit, parity bit and stop bit are not reversed. • T This function is reversing T level is reversed. Rev. 1.0 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Specification I/O polarity switch (UART2 port output and R X MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER D port input. All I/O data X 109 ...

Page 113

... Valid when bit 6 = “1” select bit 0 : Odd parity 1 : Even parity PRYE Parity enable bit 0 : Parity disabled 1 : Parity enabled IOPOL TxD, RxD I/O polarity reverse reverse bit (Note Reverse MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function Function Rev. 1.0 ...

Page 114

... 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 M306H2FCFP , 16 , 03A8 , 0378 ) = “0” 03A8 ) = “1” ...

Page 115

... frequency of BRGi count source ( frequency of BRGi count source (external clock) EXT n : value set to BRGi MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Stopped pulsing because transmit enable bit = “0” ...

Page 116

... Cleared to “0” when interrupt request is accepted, or cleared by software frequency of BRG2 count source ( value set to BRG2 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ...

Page 117

... Cleared to “0” when interrupt request is accepted, or cleared by software ) is assigned 1, data is inverted in writing to the MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Stop bit Start bit ...

Page 118

... SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 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 M306H2FCFP with DATA ACQUISITION CONTROLLER D pin at the rising Start bit SP : Stop bit 115 ...

Page 119

... R D pin when a transmission interrupt occurs that is set to the UARTi bit rate generator MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER = “101 16 = “0”) = “1” and “1” respectively “0”). 16 = “0”). 16 = “ ...

Page 120

... 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 M306H2FCFP with DATA ACQUISITION CONTROLLER ...

Page 121

... Therefore, a parity error signal can be detected Hi MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER , bit 7) has been Start bit P : Even Parity SP : Stop bit Even parity Rev. 1.0 ...

Page 122

... Figure 2.11.25 shows the example of connecting the SIM interface. Connect T apply pull-up. Figure 2.11.25 Connecting the SIM interface Rev. 1.0 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Microcomputer TxD 2 RxD 2 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER D and SIM card and 2 119 ...

Page 123

... Delaying ; Only analog delay value when analog delay is selected, and only digital delay value when digital delay is selected. 4: Delay level depends on SCL pin and SDA pin. And, when use external clock, delay is increase around 100ns. So test first, and use this. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 2 C mode selection bit bus interface effective ...

Page 124

... H level (when 0 is assigned to the CLK polarity select bit mode is in use. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ...

Page 125

... SCL terminal level 1 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 2 C mode selection ) . Functions changed detected 0 Rev. 1.0 ...

Page 126

... Transmit start condition select bit (Bit 6 of the UART2 special mode register normal state CLK TxD Enabling transmission With "1: falling edge of RxD " selected 2 CLK TxD RxD Figure 2.11.28 Some other functions added Rev. 1.0 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER 1: Timer A0 overflow 123 ...

Page 127

... " 1 " MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 2 C mode. Figure R ...

Page 128

... 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 M306H2FCFP with DATA ACQUISITION CONTROLLER 2 C mode selection bit IICM2 = 1 of the final bit of the clock) UART2 reception (the falling edge ...

Page 129

... C mode C mode are shown in Figure 2.11.30— a functional block diagram used as the SCL wait output bit. Setting this bit 16 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER To DMA0, DMA1 UART2 transmission/ NACK interrupt request To DMA0 UART2 reception/ACK interrupt request, DMA1 request ...

Page 130

... SDA pin to turn to the high-impedance state. Refrain from changing the value of this bit at the rising edge of the UART2 transfer clock. There can be instances in which arbitration lost detection flag is turned on. Rev. 1.0 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER ) is used as the UART2 initialization bit used as the SCL pin wait output bit 2 ...

Page 131

... A value set in the S I/O transfer rate register i (0363 Figure 2.11.31 S I/O3, 4 block diagram 128 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER SMi1 SMi0 Synchronous 1/2 1/(ni+1) circuit Transfer rate register (8) SMi6 S I/O counter i (3) SMi5 LSB MSB S I/Oi transmission/reception register ( 0367 ). 16 16 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Data bus S I/Oi interrupt request Rev. 1.0 ...

Page 132

... Symbol Address S3BRG 0363 16 S4BRG 0367 16 Indeterminate Symbol Address S3TRR 0360 16 S4TRR 0364 16 Indeterminate MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 16 Description output i output disable (high impedance) i output, CLK function ) in advance to write to the 16 . "1" When reset Indeterminate ...

Page 133

... OUT set in the S I/Oi transfer rate register ( 4 initial value set bit), make sure the CLKi pin input is held low. OUT MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER , 0366 = “1”): f1/2(ni+1 0):Input from the CLKi terminal (Note 0366 ) ...

Page 134

... OUT port select bit ="1". OUT MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER i pin output level during a non-transfer S I/Oi port select bit SMi3 = initial value select bit OUT ...

Page 135

... Software trigger External trigger (can be retriggered) /P9 input changes from “H” to “L” TRG 7 Without sample and hold function cycles AD With sample and hold function cycles AD frequency to 250kH AD frequency to 1MH AD MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER , f =f min. Z min. Z Rev. 1.0 ...

Page 136

... MITSUBISHI MICROCOMPUTERS M306H2FCFP ...

Page 137

... Vref connected b7 b6 External op-amp ANEX0 and ANEX1 are not used connection mode bit ANEX0 input is A-D converted ANEX1 input is A-D converted External op-amp connection mode indeterminate. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function is selected 0 is selected 1 ...

Page 138

... SMP 1 : With sample and hold select bit Always set to “0” result is indeterminate. Address 03C0 ,03C2 16 16 03C8 ,03CA 16 16 Function MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER When reset 0000XXX0 2 Function R W When reset ,03C4 ,03C6 , 16 16 Indeterminate ,03CC ,03CE ...

Page 139

... External op-amp 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 result is indeterminate. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W (Note 2) (Note 2) Function R W ...

Page 140

... 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 M306H2FCFP with DATA ACQUISITION CONTROLLER Function selected is selected is selected is selected ...

Page 141

... 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 isindeterminate. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER pins pins ...

Page 142

... MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER pins ...

Page 143

... External op-amp 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 M306H2FCFP with DATA ACQUISITION CONTROLLER etc ...

Page 144

... ANEX1 “1” and bit 7 is “1”, input via AN 16 Resistor ladder Successive conversion register MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ) to “1” Comparator 141 ...

Page 145

... Figure 2.13.1 Block diagram of D-A converter 142 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Performance R-2R method 8 bits 2 channels D-A register0 (8) (Address 03D8 D-A0 output enable bit R-2R resistor ladder D-A register1 (8) (Address 03DA D-A1 output enable bit R-2R resistor ladder MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ) Rev. 1.0 ...

Page 146

... D-A0 output enable bit 1 : Output enabled 0 : Output disabled DA1E D-A1 output enable bit 1 : Output enabled Symbol Address When reset DAi (i = 0,1) 03D8 03DA Indeterminate Function MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 00 16 Function LSB . 16 143 ...

Page 147

... Symbol Address b0 CRCD 03BD 16 Function CRC calculation result output register Symbo Address CRCIN 03BE Function Data input register MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER generate CRC code. (Addresses 03BD , 03BC ) 16 16 When reset , 03BC Indeterminate 16 Values that R W can be set ...

Page 148

... LSB MSB CRC input register After CRC calculation is complete b0 CRC data register 0A41 16 Stores CRC code MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER [03BD , 03BC ] 16 16 CRCIN [03BE ] 16 CRCD [03BD , 03BC ] 16 16 ...

Page 149

... MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ...

Page 150

... SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER Contents Slice RAM address control register (020E Slice RAM data control register (0210 Expansion register address control register (0216 Expansion register data control register (0218 MITSUBISHI MICROCOMPUTERS M306H2FCFP , 0210 , 16 16 Data setting register ) 16 ...

Page 151

... SR17B SR17A SR179 SR178 SR177 SR176 SR175 ). Then read out data from Slice RAM data 16 ). When end the data reading, Slice RAM address control register 16 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 16 Remarks SD4 SD3 SD2 SD1 SD0 SR004 SR003 SR002 ...

Page 152

... MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER SR001 SR000 ...

Page 153

... MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Address When reset 020E ...

Page 154

... Expansion Register Control Data acquisition function. Expansion register composition is shown in Table 2.15.3. Table 2.15.3 Expansion register composition Rev. 1.0 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER 151 ...

Page 155

... Expansion register address Expansion register data control register (16) (DD15 to DD0) control register (5) (DA5 to DA0) Increment automatically after data access Expansion register MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ). Then write data (DD15 to DD0 When reset 0000 ...

Page 156

... Reserved bit TEST0 Test bit TEST1 TEST2 Reserved bit DD0 0 0 Bit symbol Bit name Reserved bit MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W Must always be set to "0". 0 Normal mode 1 Stand-by mode Must always be set to "0". Function R W Must always be set to " ...

Page 157

... Broadcast method NXP selection bit Reserved bit DD0 0 0 Bit symbol Bit name Reserved bit MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W Must always be set to "0". 0 P11 output 1 SLICEON output Must always be set to "0". When port output : fixed to "L" when ...

Page 158

... SLI_VP2 Acquisition level control bit SLSLVL Reserved bit Synchronous separation SYNCSEP_ON0 control bit Reserved bit MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W Must always be set to "0" not set Generats PDC clock in based on FSCIN pin 1 input signal. ...

Page 159

... SEKI5 Reserved bit SEL_VPSH VPS clock selection bit DD0 Bit symbol Bit name Reserved bit MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W Must always be set to "0". Must always be set to "1". Must always be set to "0". Function R W SEKI1 ...

Page 160

... PDC_HP8 PDC_HP9 PDC_HP10 Reserved bit PDC, VPS, VBI clock phase PD1 control bit PD2 Reserved bit MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W Must always be set to "0". 0 Synchronizing clock OFF 1 Synchronizing clock oscillation Must always be set to "0". ...

Page 161

... Slicer selection bit Reserved bit Data slicer control bit HGSLS HGSL Data slicer control bit DD0 0 0 Bit symbol Bit name Reserved bit MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function VPS and VBI acquisition check start position is VPS_HS, 10 (n-3) VPS_HS VPS_HPn n=3 ...

Page 162

... Reserved bit VPS data acquisition line VPSF_LINE0 selection bit VPSF_LINE1 VPSF_LINE2 VPSF_LINE3 VPSF_LINE4 Reserved bit MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function not acquisition field 1 PDC data 1 Acquisition field 1 PDC data 0 Do not acquisition field 2 PDC data 1 ...

Page 163

... PDC_FLC7 Flaming code selection bit VPS_FLC0 at VPS and VBI acquisition VPS_FLC1 VPS_FLC2 VPS_FLC3 VPS_FLC4 VPS_FLC5 VPS_FLC6 VPS_FLC7 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W [PDC] Flaming code (8 bits) Clock run - in Data Setting PDC_FLC0 to PDC_FLC7 PDC_FLC0 11100100 [VBI] Flaming code (24 bits) ...

Page 164

... DIV_PDC2 DIV_PDC3 DIV_PDC4 DIV_PDC5 DIV_PDC6 DIV_PDC7 DIV_PDC8 SELPEEK Peek point detect selection bit Reserved bit MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W Must always be set to "0". 0 PDC_FLC5 valid 1 PDC_FLC5 invalid (Note1) Must always be set to "0". 0 VPS_FLC5 valid ...

Page 165

... Reserved bit synchronous signal detected flag NGSYNC (Note 1) Reserved bit Note 1: This flag detects unwanted signals during the sync signal (slice period). MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W Control the acquisition clock frequency f for VPS and VBI. VPS ...

Page 166

... MIN5 Reserved bit Note1. Video signal Clock run in DD0 0 0 Bit symbol Bit name Reserved bit MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function R W Set acquisition data sampling maximum value after A/D conversion SAMAX = 2 MAXn (Note1) n=0 Must always be set to "0". ...

Page 167

... The scanning lines number in figure is corresponds to slice RAM . MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER pulse period 334 ...

Page 168

... MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ...

Page 169

... MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ) ...

Page 170

... Humming data ming data ). H 8. Reads addresses 021C coded value and error information on the humming data Humming data M MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER and writes data B to address 16 and L of humming data and 021E data (Obtains the de ...

Page 171

... V CC (Note 2) to internal circuit SS2 Port P11 output selection bit (Note 1) Expamsion register construction composition Do not apply a voltage higher than Vcc to each port. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER from internal circuit OUTPUT (Note ...

Page 172

... not apply a voltage higher than Vcc to each port. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ...

Page 173

... Port P1 can be used as a port in multiplexed bus for the entire space. 170 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ). Each port can be set independently for 5 ________ _____ ________ ______ ________ ________ . 5 ________ ______ ________ ________ ________ __________ __________ MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER 5 ________ __________ __________ Rev. 1.0 ...

Page 174

... Input to respective peripheral functions Pull-up selection Direction register "1" Output Port latch Input to respective peripheral functions Note1 : symbolizes a parasitic diode. Do not apply a voltage higher than Vcc to each port. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER (Note1) (Note1) (Note1) (Note1) 171 ...

Page 175

... Port latch Data bus NMI interrupt input Direction register "1" Output Port latch Note1 : symbolizes a parasitic diode. Do not apply a voltage higher than Vcc to each port. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER (Note1) (Note1) (Note1) (Note1) (Note1) Rev. 1.0 ...

Page 176

... 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 M306H2FCFP with DATA ACQUISITION CONTROLLER (Note1) (Note1) D-A output enabled (Note1) (Note1) ...

Page 177

... Direction register Port latch Pull-up selection Direction register "1" Output Port latch Note1 : symbolizes a parasitic diode. Do not apply a voltage higher than Vcc to each port MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER (Note1 (Note1 ...

Page 178

... 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 M306H2FCFP with DATA ACQUISITION CONTROLLER Address When reset , 03E6 , 03E7 , 03EA 03EF , 03F3 , 03F6 00 ...

Page 179

... P8 Port P8 register “L” level data Port P8 register “H” level data Port P8 register 5 Port P8 register 6 Port P8 register 7 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Address When reset , 03E4 , 03E5 , 03E8 Indeterminate 03F1 , 03F4 Indeterminate Function R ...

Page 180

... Pulled high pull- pull- P10 to P10 pull- P10 to P10 pull- MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER When reset 00 16 Function R W When reset 00 16 Function R W When reset 00 16 Function R W 177 ...

Page 181

... Port P1 control register 0 : When input port, read port 1 : Read the contents of port P1 Nothing is assigned attempt to write to these bits, write “0”. The value, if read, turns out to be “0”. MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Function input level. When output port, read the contents of port P1 register ...

Page 182

... “ 1 ” MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER or V via a SS ...

Page 183

... OUT the timer Ai interrupt request bit goes to “1”. If the TAi the level does not change, and the timer Ai interrupt request bit does not becomes “1”. 180 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER ”. Reading 16 ” ...

Page 184

... NMI interrupt is prohib ited. Rev. 1.0 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER ____________ by software sets enabled highest priority interrupt source request bit to “0”. by software. 16 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER ”. Reading the 16 will then be set to “0” Accepting an interrupt 16 ...

Page 185

... 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 M306H2FCFP with DATA ACQUISITION CONTROLLER pin via a resistor CC Rev. 1.0 ...

Page 186

... SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER , and pin and V pin, V pin and V SS DD1 SS1 pin using a heavy wire. SS MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER at a time. While operating, must set CC pin, V pin and V pin, V DD2 SS2 DD3 pin 183 ...

Page 187

... Figure 3.1 Status of the power supply voltage VCC during operation mode transition 184 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER = 3.0 V) ...

Page 188

... , P10 to P10 , Ta=25 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Unit Rated value -0 -0.3 to 5.75 -0.3 to 5.75 -0.3 to Vcc+0.3 -0.3 to 5.75 -0.3 to Vcc+0.3 -0.3 to 5.75 C 1000 mW - -40 to 125 185 ...

Page 189

... P9, and P10 must be 80mA max. The total IOL (peak) for must be 80mA max. The total IOH (peak) for ports P3 must be 80mA max MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER = 4.75V to 5.25V – Standard Unit Typ. Min Max. 4.75 5.0 5.25 ...

Page 190

... = P10 to P10 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER Standard Unit Min Typ. Max. 3.0 V 4.7 V 3.75 V 3.0 V 3.0 3.0 V 1.6 2.0 V 0.45 V 0.4 V 2 ...

Page 191

... = P10 P10 MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER =3V,V =0V,Ta=25° Standard Unit Min Typ. Max. 2.5 V 3.0 V 1.6 0 0.2 0.8 V 4.0 –4.0 A 66.0 120.0 500 Rev. 1.0 ...

Page 192

... At the time of a clock stop (Notes 2) all are at the same potential level as V DD8) STBY0 and (address 15 16 through 5.0V – Measuring condition Sync-chip voltage MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER o C unless otherwise specified) Standard Unit Min Typ. Max. 1 ...

Page 193

... REF unless otherwise specified) Z Measuring condition Note ( ) MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER = 5V, Vss = AV CC REF ...

Page 194

... X 2 Rev. 1.0 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER = 5V Parameter Parameter 9 – 45 [ns] 9 – 45 [ns] 9 – 45 [ns] MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER o C unless otherwise specified) Standard Unit Min. Max. ns 100 Standard Unit Min ...

Page 195

... UP) IN- OUT 192 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER unless otherwise specified Parameter Parameter Parameter Parameter Parameter MITSUBISHI MICROCOMPUTERS M306H2FCFP Standard Unit Min. Max. ns 100 Standard Unit Min. Max. ns 400 ns 200 ns ...

Page 196

... INTi input LOW pulse width Rev. 1.0 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER = 5V Parameter Parameter Parameter Parameter Parameter _______ Parameter MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER o C unless otherwise specified) Standard Unit Min. Max. ns 100 200 ...

Page 197

... MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER o C, CM15 = “1” unless ...

Page 198

... – MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER o C, CM15 = “1” unless otherwise ...

Page 199

... X 3 – 40 [ns] 9 [ns] 9 – [ns] MITSUBISHI MICROCOMPUTERS M306H2FCFP with DATA ACQUISITION CONTROLLER o C, CM15 = “1” unless Unit Min ...

Page 200

... Figure 4.1 Port P0 to P11 measurement circuit Rev. 1.0 MITSUBISHI MICROCOMPUTERS M306H2FCFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER 30pF P10 P11 197 ...

Related keywords