To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology 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. Renesas Electronics website: http://www.renesas.
Notice 1. 2. 3. 4. 5. 6. 7. 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 the latest product information with a Renesas Electronics sales office.
To all our customers Regarding the change of names mentioned in the document, such as Mitsubishi Electric and Mitsubishi XX, to Renesas Technology Corp. The semiconductor operations of Hitachi and Mitsubishi Electric were transferred to Renesas Technology Corporation on April 1st 2003. These operations include microcomputer, logic, analog and discrete devices, and memory chips other than DRAMs (flash memory, SRAMs etc.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 1. DESCRIPTION The M37272M6/M8-XXXSP/FP and M37272MA-XXXSP are singlechip microcomputers designed with CMOS silicon gate technology. They have a OSD, data slicer, and I 2C-BUS interface, so it is useful for a channel selection system for TV with a closed caption decoder.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER TABLE OF CONTENTS 1. DESCRIPTION .......................................................................... 1 2. FEAUTURES ............................................................................. 1 3. APPLICATION ............................................................................ 1 4. PIN CONFIGURATION .....
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 4.
P 1 ( 8) 28 29 30 31 32 33 34 35 I/O port P1 10 9 8 7 6 5 4 3 I/O port P0 P 2 ( 8) I/O port P2 18 17 SI/O Timer 6 T6 (8) Timer 5 T5 (8) Timer 4 T4 (8) Timer 3 T3 (8) Timer 2 T2 (8) Timer 1 T1 (8) 15 PWM Instruction register (8) Instruction decoder Control signal Data slicer 16 Pins for data slicer CVIN VHOLD HLF Timer count source selection circuit Multi-master I2C-BUS interface TIM2 TIM3 I/O ports P30, P31 26 27 P 3 ( 2) Stack pointer S (8) ROM 21 13 12 11 36 37 38 A-D com
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 6. PERFORMANCE OVERVIEW Table 6.1 Performance Overview Functions Parameter Number of basic instructions 71 Instruction execution time 0.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Table 6.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 7. PIN DESCRIPTION Table 7.1 Pin Description Pin Name Input/ Output VCC, AVCC, Power source VSS Functions Apply voltage of 5 V ± 10 % to (typical) VCC and AVCC, and 0 V to VSS.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Table 7.2 Pin Description (continued) Pin P30/AD5, P31/AD6 Name I/O port P3 Input/ Output I/O Functions Ports P30 and P31 are a 2-bit I/O port and has basically the same functions as port 0. The output structure can be selected either CMOS output or N-channel open-drain output structure.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Ports P00–P05 N-channel open-drain output Direction register Ports P00–P05 Data bus Port latch Note : Each port is also used as follows : P0 0–P05 : PWM0–PWM5 Ports P1, P2, P30, P31 Direction register CMOS output Data bus Port latch Ports P1, P2, P30, P31 Notes 1: Each port is also used as follows : P10 : OUT2 P
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Ports P06, P07 N-channel open-drain output Direction register Ports P06, P07 Data bus Note : Each port is also used as follows : P06 : INT2/AD4 P07 : INT1 Port latch P50, P51 P52–P55 CMOS input Internal circuit CMOS output Ports P50, P51 Internal circuit Note : Each pin is also used as follows : P50 : HSYNC P51 :
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8. FUNCTIONAL DESCRIPTION 8.1 CENTRAL PROCESSING UNIT (CPU) This microcomputer uses the standard 740 Family instruction set. Refer to the table of 740 Family addressing modes and machine instructions or the SERIES 740 User’s Manual for details on the instruction set.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.2 MEMORY 8.2.1 Special Function Register (SFR) Area The special function register (SFR) area in the zero page contains control registers such as I/O ports and timers. 8.2.6 Interrupt Vector Area The interrupt vector area contains reset and interrupt vectors. 8.2.7 Zero Page 8.2.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER ■ M37272MA-XXXSP, M37272EFSP 1000016 000016 00BF16 00C016 00FF16 010016 RAM (1472 bytes) 01FF16 020016 020F16 Zero page SFR1 area SFR2 area Not used 030016 032016 Vector 2: address 032016 06FF16 OSD RAM (128 bytes) (See note) Not used ROM correction functrion Vector 1: address 030016 Not used 080016 087F16 Not
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER ■ SFR1 Area (addresses C016 to DF16) : Name 0 : “0” immediately after reset Function bit : 1 : “1” immediately after reset : No function bit ? : Indeterminate immediately after reset 0 : Fix this bit to “0” (do not write “1”) 1 : Fix this bit to “1” (do not write “0
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER ■ SFR1 Area (addresses E016 to FF16) : Name : 0 : “0” immediately after reset Function bit 1 : “1” immediately after reset : No function bit ? : Indeterminate immediately after reset 0 : Fix this bit to “0” (do not write “1”) 1 : Fix this bit to “1” (do not write “0”
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER ■ SFR2 Area (addresses 20016 to 20F16) : Name : 0 : “0” immediately after reset Function bit 1 : “1” immediately after reset : No function bit ? : Indeterminate immediately after reset 0 : Fix this bit to “0” (do not write “1”) 1 : Fix this bit to “1” (do not write “
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER : Name 0 : “0” immediately after reset Function bit : 1 : “1” immediately after reset : No function bit ? : Indeterminate immediately after reset 0 : Fix to this bit to “0” (do not write to “1”) 1 : Fix to this bit to “1” (do not write to “0”) Register Bit allocat
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.3 INTERRUPTS Interrupts can be caused by 17 different sources consisting of 4 external, 11 internal, 1 software, and reset. Interrupts are vectored interrupts with priorities as shown in Table 8.3.1. Reset is also included in the table because its operation is similar to an interrupt.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER (4) Serial I/O interrupt This is an interrupt request from the clock synchronous serial I/O function. (5) f(XIN)/4096 interrupt The f (XIN)/4096 interrupt occurs regularly with a f(XIN)/4096 period. Set bit 0 of the PWM mode register 1 to “0.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Interrupt Request Register 1 b7 b6 b5 b4 b3 b2 b1 b0 Interrupt request register 1 (IREQ1) [Address 00FC16] B Name 0 Functions After reset R W 0 : No interrupt request issued Timer 1 interrupt request bit (TM1R) 1 : Interrupt request issued 0 : No interrupt request issued Timer 2 interrupt request bit (TM2R) 1 : Inter
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Interrupt Control Register 1 b7 b6 b5 b4 b3 b2 b1 b0 Interrupt control register 1 (ICON1) [Address 00FE16] B Name Timer 1 interrupt enable bit (TM1E) 1 Timer 2 interrupt enable bit (TM2E) 2 Timer 3 interrupt enable bit (TM3E) 3 Timer 4 interrupt enable bit (TM4E) 4 OSD interrupt enable bit (OSDE) 5 VSYNC interrupt enable
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Interrupt Input Polarity Register b7 b6 b5 b4 b3 b2 b1 b0 Interrupt input polarity register (RE) [Address 00DC 16] B After reset R W 0 INT1 polarity switch bit (INT1) 0 : Positive polarity 1 : Negative polarity 0 R W 4 INT2 polarity switch bit (INT2) 0 : Positive polarity 1 : Negative polarity 0 R W 5 INT3
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.4 TIMERS 8.4.5 Timer 5 This microcomputer has 6 timers: timer 1, timer 2, timer 3, timer 4, timer 5, and timer 6. All timers are 8-bit timers with the 8-bit timer latch. The timer block diagram is shown in Figure 8.4.3.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Timer Mode Register 1 b7 b6 b5 b4 b3 b2 b1 b0 Timer mode register 1 (TM1) [Address 00F4 16] B Name 0 Timer 1 count source selection bit 1 (TM10) After reset R W Functions 0: f(XIN)/16 or f(X CIN)/16 (See note) 0 R W 1: Count source selected by bit 5 of TM1 1 Timer 2 count source selection bit 1 (TM11) 0: Count source
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Data bus 8 X CIN CM7 TM15 Timer 1 latch (8) 1/4096 8 XIN 1/8 1/2 TM10 TM12 Timer 1 interrupt request Timer 1 (8) 8 TM14 8 Timer 2 latch (8) 8 TIM2 Timer 2 interrupt request Timer 2 (8) TM11 TM13 8 8 FF16 T3SC Reset STP instruction Timer 3 latch (8) 8 Timer 3 interrupt request Timer 3 (8) TIM3 TM20 T
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.5 SERIAL I/O This microcomputer has a built-in serial I/O which can either transmit or receive 8-bit data serially in the clock synchronous mode. The serial I/O block diagram is shown in Figure 8.5.1.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Internal clock : The serial I/O counter is set to “7” during the write cycle into the serial I/O register (address 00EA16), and the transfer clock goes HIGH forcibly. At each falling edge of the transfer clock after the write cycle, serial data is output from the SOUT pin.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Serial I/O Mode Register b7 b6 b5 b4 b3 b2 b1 b0 0 0 Serial I/O mode register (SM) [Address 00EB16] B Name 0, 1 Internal synchronous clock selection bits (SM0, SM1) After reset R W Functions 0 R W b1 b0 0 0: f(XIN)/4 or f(XCIN)/4 0 1: f(XIN)/16 or f(XCIN)/16 1 0: f(XIN)/32 or f(XCIN)/32 1 1: f(XIN)/64 or f(XCIN)/64 2
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.6 MULTI-MASTER I2C-BUS INTERFACE Table 8.6.1 Multi-master I2C-BUS Interface Functions The multi-master I2C-BUS interface is a serial communications circuit, conforming to the Philips I2C-BUS data transfer format.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.6.1 I2C Data Shift Register The I2C data shift register (S0 : address 00F616) is an 8-bit shift register to store receive data and write transmit data.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.6.2 I2C Address Register The I2C address register (address 00F716) consists of a 7-bit slave address and a read/write bit. In the addressing mode, the slave address written in this register is compared with the address data to be received immediately after the START condition are detected.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.6.3 I2C Clock Control Register (4) Bit 7: ACK clock bit (ACK) The I2C clock control register (address 00FA16) is used to set ACK control, SCL mode and SCL frequency. This bit specifies a mode of acknowledgment which is an acknowledgment response of data transmission.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.6.4 I2C Control Register (3) Bit 4: data format selection bit (ALS) The I2C control register (address 00F916) controls the data communication format. This bit decides whether or not to recognize slave addresses. When this bit is set to “0,” the addressing format is selected, so that address data is recognized.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER I2C Control Register b7 b6 b5 b4 b3 b2 b1 b0 I2C control register (S1D address 00F916) B Name 0 to 2 Bit counter (Number of transmit/recieve bits) (BC0 to BC2) b2 0 0 0 0 1 1 1 1 b0 0 :8 1 :7 0 :6 1 :5 0 :4 1 :3 0 :2 1 :1 0 R W 3 I2C-BUS interface use enable bit (ESO) 0 :Disabled 1 :Enabled 0 R W 4 Data for
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.6.5 I2C Status Register (5) Bit 4: I2C-BUS interface interrupt request bit (PIN) The I2C status register (address 00F816) controls the I2C-BUS interface status. The low-order 4 bits are read-only bits and the highorder 4 bits can be read out and written to. This bit generates an interrupt request signal.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER (8) Bit 7: Communication mode specification bit (master/slave specification bit: MST) This bit is used for master/slave specification for data communication.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.6.6 START Condition Generation Method When the ESO bit of the I2C control register (address 00F916) is “1,” execute a write instruction to the I2C status register (address 00F816) to set the MST, TRX and BB bits to “1.” A START condition will then be generated.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.6.8 START/STOP Condition Detect Conditions 8.6.9 Address Data Communication The START/STOP condition detect conditions are shown in Figure 8.6.11 and Table 8.6.3. Only when the 3 conditions of Table 8.6.3 are satisfied, a START/STOP condition can be detected.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.6.10 Example of Master Transmission 8.6.11 Example of Slave Reception An example of master transmission in the standard clock mode, at the SCL frequency of 100 kHz and in the ACK return mode is shown below.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER S Slave address R/W A Data A Data A/A P A P Data A 7 bits “ 0” 1 to 8 bits 1 to 8 bits (1) A master-transmitter transmits data to a slave-receiver S Slave address R/W A Data A Data 7 bits “ 1” 1 to 8 bits 1 to 8 bits (2) A master-receiver receives data from a slave-transmitter S Slave address R/W 1st
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER (3) RESTART condition generating procedure (4) STOP condition generating procedure ➀Procedure example (The necessary conditions of the generating procedure are described as the following ➁ to ➅.) Execute the following procedure when the PIN bit is “0.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.7 PWM OUTPUT FUNCTION This microcomputer is equipped with six 8-bit PWMs (PWM0– PWM5). PWM0–PWM5 have the same circuit structure and an 8-bit resolution with minimum resolution bit width of 4 µs (for f(XIN) = 8 MHz) and repeat period of 1024 µs (for f(XIN) = 8 MHz). Figure 8.7.1 shows the PWM block diagram.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Data bus XIN 1/2 PM10 PWM timing generating circuit PWM0 register (Address 0200 16) b7 b0 8 PM13 P00 D00 PWM0 8-bit PWM circuit PM20 P01 PWM1 register (Address 0201 16) Selection gate: Connected to black side at reset. Inside of is as same contents with the others.
44 FF16 (255) 1816 (24) 0116 (1) 0016 (0) Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 t 2 4 6 8 12 16 20 24 32 36 50 40 44 48 60 56 60 64 72 80 90 120 130 140 150 92 96 104 100 112 108 124 120 116 128 144 140 136 132 156 152 148 (b) Example of 8-bit PWM t = 4 µs T = 1024 µs f(XIN) = 8 MHz T = 256 t (a) Pulses showing the weight of each bit 88 110 160 170 180 190 200 210 220 230 240 250 255 160 164 168 172 176 180 184 188 192
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER PWM Mode Register 1 b7 b6 b5 b4 b3 b2 b1 b0 PWM mode register 1 (PM1) [Address 020816] B 0 Name PWM counts source selection bit (PM10) Functions 0 : Count source supply 1 : Count source stop After reset R W 0 R W 1, 2 Nothing is assigned. These bits are write disable bits.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.8 A-D COMPARATOR A-D comparator consists of 6-bit D-A converter and comparator. A-D comparator block diagram is shown in Figure 8.8.1. The reference voltage “Vref” for D-A conversion is set by bits 0 to 5 of A-D control register 2 (address 00ED16).
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER A-D Control Register 1 b7 b6 b5 b4 b3 b2 b1 b0 A-D control register 1 (AD1) [Address 00EC16] B Name Functions 0 to 2 Analog input pin selection bits (ADC10 to ADC12) 3 This bit is a write disable bit. When this bit is read out, the value is “0.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.9 ROM CORRECTION FUNCTION This can correct program data in ROM. Up to 2 addresses can be corrected, a program for correction is stored in the ROM correction vector in RAM as the top address. The ROM correction vectors are 2 vectors.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.10 DATA SLICER When the data slicer function is not used, the data slicer circuit and the timing signal generating circuit can be cut off by setting bit 0 of the data slicer control register 1 (address 00E016) to “0.” These settings can realize the low-power dissipation.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.10.1 Notes When not Using Data Slicer When bit 0 of data slicer control register 1 (address 00E016) is “0,” terminate the pins as shown in Figure 8.10.2. Apply the same voltage as V CC to AV CC pin. 19 Leave HLF pin open.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Figures 8.10.4 and 8.10.5 the data slicer control registers.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.10.2 Clamping Circuit and Low-pass Filter The clamp circuit clamps the sync chip part of the composite video signal input from the CVIN pin. The low-pass filter attenuates the noise of clamped composite video signal. The CVIN pin to which composite video signal is input requires a capacitor (0.1 µF) coupling outside.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.10.5 Timing Signal Generating Circuit This circuit generates a reference clock which is 832 times as large as the horizontal synchronous signal frequency. It also generates various timing signals on the basis of the reference clock, horizontal synchronous signal and vertical synchronizing signal.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.10.6 Data Slice Line Specification Circuit (1) Specification of data slice line (3) Field determination This circuit decides a line on which caption data is superimposed.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLA Y CONTROLLER Caption Position Register b7 b6 b5 b4 b3 b2 b1 b0 Caption Position Register (CPS) [Address 00E616] B 0 to 4 5 Name Functions Caption data latch completion flag 2 (CPS5) 6, 7 Slice line mode specification bits (in 1 field) (CPS6, CPS7) After reset 0 Caption position bits(CPS0 to CPS4) R W R W 0: Data is not latch
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.10.7 Reference Voltage Generating Circuit and Comparator The composite video signal clamped by the clamping circuit is input to the reference voltage generating circuit and the comparator.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.10.10 Data Clock Generating Circuit This circuit generates a data clock synchronized with the start bit detected in the start bit detecting circuit. The data clock stores caption data to the 16-bit shift register.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.10.11 16-bit Shift Register 8.10.12 Interrupt Request Generating Circuit The caption data converted into a digital value by the comparator is stored into the 16-bit shift register in synchronization with the data clock.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.10.13 Synchronous Signal Counter The synchronous signal counter counts the composite sync signal taken out from a video signal in the data slicer circuit or the vertical synchronous signal Vsep as a count source.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11 OSD FUNCTIONS Table 8.11.1 outlines the OSD functions. This microcomputer incorporates an OSD circuit of 32 characters ✕ 2 lines. And also, there are 2 display modes and they are selected by a block unit. The display modes are selected by bits 0 and 1 of block control register i (i = 1 and 2).
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER The OSD circuit has an extended display mode. This mode allows multiple lines (3 lines or more) to be displayed on the screen by interrupting the display each time one line is displayed and rewriting data in the block for which display is terminated by software. Figure 8.11.1 shows the configuration of OSD character.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Clock for OSD OSC1 OSC2 Data slicer clock HSYNC VSYNC Display oscillation circuit Control registers for OSD OSD Control circuit OSD control register Horizontal position register Block control register i Vertical position register i Window register i I/O polarity control register Raster color register (address 00D016)
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER OSD Control Register b7 b6 b5 b4 b3 b2 b1 b0 0 OSD control register (OC) [Address 00D0 16] B Functions Name After reset R W OSD control bit (OC0) (See note) Automatic solid space control bit (OC1) Window control bit (OC2) 0 : All-blocks display off 1 : All-blocks display on 0 : OFF 1 : ON 0 : OFF 1 : ON 0 R W 0
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Block Control register i b7 b6 b5 b4 b3 b2 b1 b0 Block control register i (BCi) (i=1, 2) [Addresses 00D2 B Name 0, 1 Display mode selection bits (BCi0, BCi1) (See note 1) 2, 3 Dot size selection bits (BCi2, BCi3) b4 0 0 1 1 0 Pre-divide ratio selection bit (BCi4) and 00D3 16] After reset Functions b1 b0 4 16 1
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.1 Display Position The display positions of characters are specified in units called a “block.” There are 2 blocks, blocks 1 and 2. Up to 32 characters can be displayed in each block (refer to “8.11.5 Memory for OSD”).
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER The vertical display start position is determined by counting the horizontal sync signal (HSYNC). At this time, when VSYNC and HSYNC are positive polarity (negative polarity), it starts to count the rising edge (falling edge) of HSYNC signal from after fixed cycle of rising edge (falling edge) of VSYNC signal.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER The vertical display start position for each block can be set in 512 steps (where each step is 1TH (TH: HSYNC cycle)) as values “0016” to “FF16” in vertical position register i (i = 1 and 2) (addresses 00D416 and 00D516) and values “0” or “1” in bit 6 of block control register i (i = 1 and 2) (addresses 00D216 and 00D316)
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER The horizontal display start position is common to all blocks, and can be set in 128 steps (where 1 step is 4TOSC, TOSC being the OSD oscillation cycle) as values “0016” to “FF16” in bits 0 to 6 of the horizontal position register (address 00D116). The horizontal position register is shown in Figure 8.11.8.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.2 Dot Size The dot size can be selected by a block unit. The dot size in vertical direction is determined by dividing HSYNC in the vertical dot size control circuit.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.3 Clock for OSD As a clock for display to be used for OSD, it is possible to select one of the following 3 types.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.4 Field Determination Display To display the block with vertical dot size of 1/2H, whether an even field or an odd field is determined through differences in a synchronizing signal waveform of interlacing system. The dot line 0 or 1 (refer to Figure 8.11.14) corresponding to the field is displayed alternately.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Both H SYNC signal and V SYNC signal are negative-polarity input HSYNC Field V SYNC and V SYNC control signal in microcomputer Upper : VSYNC signal (n |1) field (Odd-numbered) Field Display dot line determination selection bit flag(Note) Odd T1 0.25 to 0.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.5 Memory for OSD (1) OSD ROM (addresses 140016 to 3BFF16) There are 2 types of memory for OSD : OSD ROM used to store character dot data and OSD RAM used to specify the characters and colors to be displayed.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER (1)Mask version (M37272M6/M8-XXXSP/FP, M37272MA-XXXSP) Set “FF16” to the area (We stores the test data to this area and the different data from “FF16” is stored for the actual products.) When using our font editor, the test data is written automatically.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER (2) OSD RAM The RAM for OSD is allocated at addresses 080016 to 087F16, and is divided into a display character code specification part, color code 1 specification part, and color code 2 specification part for each block. Table 8.11.3 shows the contents of the OSD RAM.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Blocks 1, 2 b7 b0 b7 b0 RA6 RA5 RA4 RA3 RA2 RA1 RA0 RF7 RF6 RF5 RF4 RF3 RF2 RF1 RF0 (See note 1) Color code 1 Character code (See note 3) CC mode Bit OSD mode Bit name Function Bit name Function Character code Character code in Character code Character code in RF0 RF1 RF2 RF3 RF4 OSD ROM RF5 OSD ROM
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.6 Character color 8.11.7 Character background color The color for each character is displayed by the color code. <7 kinds> Specified by bits 0 (R), 1 (G), and 2 (B) of the color code The character background color can be displayed in the character display area only in the OSD mode.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.8 OUT1, OUT2 signals The OUT1, OUT2 signals are used to control the luminance of the video signal. The output waveform of the OUT1, OUT2 signals is controlled by display mode, bit 5 of the block control register i (refer to Figure 8.11.4) and RA3 of OSD RAM.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.9 Attribute The attributes (border, flash, underline, italic) are controlled to the character font. The attributes to be controlled are different depending on each mode. CC mode ..................... Flash, underline, italic (per character unit) OSD mode ..................
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Color code Color code Bit 6 (RA6) Bit 5 (RA5) Bit 6 (RA6) Bit 5 (RA5) 0 0 1 0 (a) Ordinary (b) Under line Color code Color code Bit 6 (RA6) Bit 5 (RA5) Bit 6 (RA6) Bit 5 (RA5) 0 1 0 1 (c) Italic (pre-divide ratio = 1) (d) Italic (pre-divide ratio = 2) Color code flash flash flash ON Bit 6 (RA6
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 26th chracter (Refer to “8.11.9 Notes 2, 3”) RA6 of OSD RAM 1 0 0 (Refer to “8.11.9 Notes 2, 3”) 1 1 0 1 Notes 1 : The dotted line is the boundary of character color. 2 : When bit 1 of OSD control register is “0.” Fig. 8.11.19 Example of Italic Display Rev. 1.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER (4) Border The border is output around of character font (all bordered) in the OSD mode. The border ON/OFF is controlled by bit 0 and 1 of the block control register i (refer to Figure 8.11.4). The OUT1 signal is used for border output.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Character boundary B Character boundary A Character boundary B Fig. 8.11.22 Border Priority Rev. 1.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.10 Multiline Display This microcomputer can ordinarily display 2 lines on the CRT screen by displaying 2 blocks at different vertical positions. In addition, it can display up to 16 lines by using OSD interrupts. An OSD interrupt request occurs at the point at which display of each block has been completed.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.11 Automatic Solid Space Function This function generates automatically the solid space (OUT1 or OUT2 blank output) of the character area in the CC mode.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.12 Window Function This function sets the top and bottom boundary of display limit on a screen. The window function is valid only in the CC mode. The top boundary is set by the window registers 1 and bit 7 of block control register 1.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Window Register 1 b7 b6 b5 b4 b3 b2 b1 b0 Window register 1 (WN1) [Address 00D616] Name B 0 to 7 Window top boundary control bits (WN10 to WN17) Functions Window top border position = 2 TH ✕ (BC17 ✕ 16 + n) (n: setting value, TH: HSYNC cycle, BC17: bit 7 of block control register 1) After reset R W Inderterminate R
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.13 OSD Output Pin Control The OSD output pins R, G, B and OUT1 can also function as ports P52–P55. Set corresponding bit of the OSD port control register (address 00CB16) to “0” to specify these pins as OSD output pins, or set it to “1” to specify it as a general-purpose port P5.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.11.14 Raster Coloring Function An entire screen (raster) can be colored by setting the bits 4 to 0 of the raster color register. Since each of the R, G, B, OUT1, and OUT2 pins can be switched to raster coloring output, 8 raster colors can be obtained.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER : Character color “RED” (R + OUT1 + OUT2) : Border color “BLACK” (OUT1 + OUT2) : Background color “MAGENTA” (R + B + OUT1 + OUT2) : Raster color “BLUE” (B + OUT1 + OUT2) A A' HSYNC OUT1 OUT2 R Signals across A-A' G B Fig. 8.11.30 Example of Raster Coloring Rev. 1.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.12 SOFTWARE RUNAWAY DETECT FUNCTION This microcomputer has a function to decode undefined instructions to detect a software runaway. When an undefined op-code is input to the CPU as an instruction code during operation, the following processing is done. ➀ The CPU generates an undefined instruction decoding signal.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.13. RESET CIRCUIT When the oscillation of a quartz-crystal oscillator or a ceramic resonator is stable and the power source voltage is 5 V ± 10 %, hold the RESET pin at LOW for 2 µs or more, then return is to HIGH. Then, as shown in Figure 8.13.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.14 CLOCK GENERATING CIRCUIT (3) Low-speed Mode This microcomputer has 2 built-in oscillation circuits. An oscillation circuit can be formed by connecting a resonator between XIN and XOUT (XCIN and XCOUT). Use the circuit constants in accordance with the resonator manufacturer’s recommended values.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER XCIN XCOUT OSC1 clock selection bits (See notes 1, 4) XIN Timer 3 count stop bit (See notes 1, 2) XOUT “1” “1” 1 /8 1 /2 Timer 4 count stop bit (See notes 1, 2) Timer 3 Timer 4 “0” “0” Internal system clock selection bit (See notes 1, 3) Timer 3 count source selection bit (See notes 1, 2) Timing φ (Internal cl
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER High-speed operation start mode Reset STP instruction WIT instruction 8 MHz oscillating 32 kHz oscillating φ is stopped (“H”) Timer operating 8 MHz oscillating 32 kHz oscillating f(φ) = 4 MHz Interrupt 8 MHz stopped 32 kHz stopped φ is stopped (“H”) Interrupt (See note 1) External INT, timer interrupt, or SI/O inter
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 8.15 DISPLAY OSCILLATION CIRCUIT 8.17 ADDRESSING MODE The OSD oscillation circuit has a built-in clock oscillation circuits, so that a clock for OSD can be obtained simply by connecting an LC, a ceramic resonator, or a quartz-crystal oscillator across the pins OSC1 and OSC2.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 10. ABSOLUTE MAXIMUM RATINGS Symbol Parametear Ratings Unit VCC, AVCC Power source voltage VCC, AVCC –0.3 to 6 V VI Input voltage CNVSS –0.3 to 6 V VI Input voltage P00–P07, P10–P17, P20–P27, P30, P31, P50, P51, XIN, RESET, CVIN –0.3–VCC + 0.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 12. ELECTRIC CHARACTERISTICS (VCC = 5 V ± 10 %, VSS = 0 V, f(XIN) = 8 MHz, Ta = –10 °C to 70 °C, unless otherwise noted) Symbol Parametear VCC = 5.5V, f(XIN) = 8MHz System operation ICC Limits Typ. Max.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER + Power source voltage 1 2 4.5 V A Icc XIN Vcc V cc 8.00 MHz OSC1 XOUT Each output pin OSC2 VOH Vss V Vss Pin VCC is made the operation state and is measured the current, with a ceramic resonator.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 13. A-D CONVERTER CHARACTERISTICS (VCC = 5 V ± 10 %, VSS = 0 V, f(XIN) = 8 MHz, Ta = –10 °C to 70 °C, unless otherwise noted) Symbol Parameter — Resolution — Non-linearity error — Differencial non-linearity error V0T Zero transition error VFST Full-scale transition error Limits Test conditions Min. Typ.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 15. PROM PROGRAMMING METHOD The built-in PROM of the One Time PROM version (blank) and the built-in EPROM version can be read or programmed with a generalpurpose PROM programmer using a special programming adapter.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 16.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 17. MASK CONFIRMATION FORM GZZ–SH55–37B < 91A0 > Mask ROM number 740 FAMILY MASK ROM CONFIRMATION FORM Date: Receipt SINGLE-CHIP MICROCOMPUTER M37272M6-XXXSP/FP MITSUBISHI ELECTRIC Section head Supervisor signature signature Note : Please fill in all items marked ✽.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER GZZ–SH55–37B < 91A0 > 740 FAMILY MASK ROM CONFIRMATION FORM SINGLE-CHIP MICROCOMPUTER M37272M6-XXXSP/FP MITSUBISHI ELECTRIC (2) Write the ASCII codes that indicate the product name of “M37272M6–” to addresses 000016 to 000F16. Addresses 000016 to 000F16 store the product name.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER GZZ–SH55–37B < 91A0 > 740 FAMILY MASK ROM CONFIRMATION FORM SINGLE-CHIP MICROCOMPUTER M37272M6-XXXSP/FP MITSUBISHI ELECTRIC Font data must be stored in the proper OSD ROM address according to the following table.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER GZZ–SH55–38B < 91A0 > Mask ROM number 740 FAMILY MASK ROM CONFIRMATION FORM Date: Receipt SINGLE-CHIP MICROCOMPUTER M37272M8-XXXSP/FP MITSUBISHI ELECTRIC Section head Supervisor signature signature Note : Please fill in all items marked ✽.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER GZZ–SH55–38B < 91A0 > 740 FAMILY MASK ROM CONFIRMATION FORM SINGLE-CHIP MICROCOMPUTER M37272M8-XXXSP/FP MITSUBISHI ELECTRIC (2) Write the ASCII codes that indicate the product name of “M37272M8–” to addresses 000016 to 000F16. Addresses 000016 to 000F16 store the product Address name.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER GZZ–SH55–38B < 91A0 > 740 FAMILY MASK ROM CONFIRMATION FORM SINGLE-CHIP MICROCOMPUTER M37272M8-XXXSP/FP MITSUBISHI ELECTRIC Font data must be stored in the proper OSD ROM address according to the following table.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER GZZ–SH56–32B < 91A1 > Mask ROM number 740 FAMILY MASK ROM CONFIRMATION FORM Date: Receipt SINGLE-CHIP MICROCOMPUTER M37272MA-XXXSP MITSUBISHI ELECTRIC Section head Supervisor signature signature Note : Please fill in all items marked ✽.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER GZZ–SH56–32B < 91A1 > 740 FAMILY MASK ROM CONFIRMATION FORM SINGLE-CHIP MICROCOMPUTER M37272MA-XXXSP MITSUBISHI ELECTRIC (2) Write the ASCII codes that indicate the product name of “M37272MA–” to addresses 0000 16 to 000F 16. Addresses 000016 to 000F16 store the product name.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER GZZ–SH56–32B < 91A1 > 740 FAMILY MASK ROM CONFIRMATION FORM SINGLE-CHIP MICROCOMPUTER M37272MA-XXXSP MITSUBISHI ELECTRIC Font data must be stored in the proper OSD ROM address according to the following table.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 18. MARK SPECIFICATION FORM Rev. 1.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Rev. 1.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Rev. 1.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 20.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Memory Map ■ M37272M6/M8-XXXSP/FP, M37272E8SP/FP 000016 M37272M6XXXSP/FP RAM (1024 bytes) M37272M8XXXSP/FP, M37272E8SP/FP RAM (1152 bytes) 00BF16 00C016 00FF16 010016 01FF16 020016 020F16 1000016 Zero page SFR1 area SFR2 area Not used 030016 032016 053F16 05BF16 ROM correction function Vector 1: address 030016 Vec
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER ■ M37272MA-XXXSP, M37272EFSP 1000016 000016 00BF16 00C016 00FF16 010016 RAM (1472 bytes) 01FF16 020016 020F16 Zero page SFR1 area SFR2 area Not used 030016 032016 Not used ROM correction functrion Vector 1: address 030016 Vector 2: address 032016 06FF16 OSD RAM (128 bytes) (See note) Not used 080016 087F16 Not u
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Memory Map of Special Function Register (SFR) ■ SFR1 Area (addresses C016 to DF16) : Name 0 : “0” immediately after reset Function bit : 1 : “1” immediately after reset : No function bit ? : Indeterminate immediately after reset 0 : Fix this bit to “0” (do not writ
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER ■ SFR1 Area (addresses E016 to FF16) : Name : 0 : “0” immediately after reset Function bit 1 : “1” immediately after reset : No function bit ? : Indeterminate immediately after reset 0 : Fix this bit to “0” (do not write “1”) 1 : Fix this bit to “1” (do not write “0”
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER ■ SFR2 Area (addresses 20016 to 20F16) : Name : 0 : “0” immediately after reset Function bit 1 : “1” immediately after reset : No function bit ? : Indeterminate immediately after reset 0 : Fix this bit to “0” (do not write “1”) 1 : Fix this bit to “1” (do not write “
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Internal State of Processor Status Register and Program Counter at Reset : Name 0 : “0” immediately after reset Function bit : 1 : “1” immediately after reset : No function bit ? : Indeterminate immediately after reset 0 : Fix to this bit to “0” (do not write to “
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Structure of Register The figure of each register structure describes its functions, contents at reset, and attributes as follows: Bit position Bit attributes(Note 2) Values immediately after reset release (Note 1) CPU Mode Register b7 b6 b5 b4 b3 b2 b1 b0 1 1 0 0 CPU mode register (CPUM) (CM) [Address 00FB16
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00C116, 00C316, 00C516 Port Pi Direction Register b7 b6 b5 b4 b3 b2 b1 b0 Port Pi direction register (PiD) (i=0,1,2) [Addresses 00C1 16, 00C316, 00C516] B Name Functions After reset R W 0 : Port Pi0 input mode 1 : Port Pi0 output mode 0 R W 1 0 : Port Pi1 input mode 1 : Port Pi1 output mode 0 R W 2 0
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00CB16 OSD Port Control Register b7 b6 b5 b4 b3 b2 b1 b0 0 0 OSD port control register (PF ) [Address 00CB16] B Name Functions 0, 1 Fix these bits to “0.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00D116 Horizontal Position Register b7 b6 b5 b4 b3 b2 b1 b0 Horizontal position register (HP) [Address 00D1 16] B Name Functions 0 Horizontal display start Horizontal display start positions 128 steps (00 16 to 7F 16) to position control bits 6 (HP0 to HP6) (1 step is 4T OSC) 7 Nothing is assigned.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00D416, 00D516 Vertical Position Register i b7 b6 b5 b4 b3 b2 b1 b0 Vertical position register i (VPi) (i = 1 and 2) [Addresses 00D416, 00D516] B Name 0 to 7 Vertical display start position control bits (VPi0 to VPi7) (See note) Functions Vertical display start position = 2 TH ✕ (BCi6 ✕ 16 + n) (n: setting va
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00D816 I/O Polarity Control Register b7 b6 b5 b4 b3 b2 b1 b0 0 I/O polarity control register (PC) [Address 00D8 16] B Name Functions After reset R W 0 HSYNC input polarity switch bit (PC0) 0 : Positive polarity input 1 : Negative polarity input 0 R W 1 VSYNC input polarity switch bit (PC1) 0 : Positiv
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00DC16 Interrupt Input Polarity Register b7 b6 b5 b4 b3 b2 b1 b0 Interrupt input polarity register (RE) [Address 00DC 16] B Name Functions After reset R W 0 INT1 polarity switch bit (INT1) 0 : Positive polarity 1 : Negative polarity 0 R W 4 INT2 polarity switch bit (INT2) 0 : Positive polarity 1 : Ne
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00E116 Data Slicer Control Register 2 b7 b6 b5 b4 b3 b2 b1 b0 0 1 Data slicer control register 2 (DSC2) [Address 00E116] B Name Functions After reset R W 0: Data is not latched yet Indeterminate R — and a clock-run-in is not determined. 1: Data is latched and a clock-run-in is determined.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00E516 Data Clock Position Register b7 b6 b5 b4 b3 b2 b1 b0 0 1 0 Data clock position register (DPS) [Address 00E516] Name B Functions After reset R W 0 Fix this bit to “0.” 1 R W 1 Fix this bit to “1.” 0 R W 2 Fix this bit to “0.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00EB16 Serial I/O Mode Register b7 b6 b5 b4 b3 b2 b1 b0 0 0 Serial I/O mode register (SM) [Address 00EB16] B Name 0, 1 Internal synchronous clock selection bits (SM0, SM1) After reset R W Functions R W 0 b1 b0 0 0: f(XIN)/4 or f(XCIN)/4 0 1: f(XIN)/16 or f(XCIN)/16 1 0: f(XIN)/32 or f(XCIN)/32 1 1: f(XIN)/64 or
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00ED16 A-D Control Register 2 b7 b6 b5 b4 b3 b2 b1 b0 A-D control register 2 (AD2) [Address 00ED 16] B 0 to 5 Name Functions D-A converter set bits (ADC20 to ADC25) b5 0 0 0 b4 0 0 0 b3 0 0 0 b2 0 0 0 b1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 After reset R W 0 R W 0 R — b0 0 : 1/128Vcc 1 : 3/128V
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00F516 Timer Mode Register 2 b7 b6 b5 b4 b3 b2 b1 b0 Timer mode register 2 (TM2) [Address 00F5 16] B Name 0 Timer 3 count source selection bit (TM20) 1, 4 Timer 4 count source selection bits (TM21, TM24) After reset R W Functions (b6 at address 00C7 16) 0 0 1 1 b0 0 : f(X IN)/16 or f(X CIN)/16 (See note) 1 :
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00F716 I2C Address Register b7 b6 b5 b4 b3 b2 b1 b0 I2C address register (S0D) [Address 00F716] B Name Functions After reset R W The last significant bit of address data is compared.
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00F916 I2C Control Register b7 b6 b5 b4 b3 b2 b1 b0 I2C control register (S1D address 00F916) B Name 0 to 2 Bit counter (Number of transmit/recieve bits) (BC0 to BC2) b2 0 0 0 0 1 1 1 1 b0 0 :8 1 :7 0 :6 1 :5 0 :4 1 :3 0 :2 1 :1 Functions 0 R W 3 I2C-BUS interface use enable bit (ESO) 0 :Disabled 1 :En
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00FB16 CPU Mode Register b7 b6 b5 b4 b3 b2 b1 b0 0 0 1 1 CPU mode register (CM) [Address 00FB16] B Name 0, 1 Processor mode bits (CM0, CM1) Stack page selection bit (CM2) (See note) 2 Functions After reset R W b1 b0 0 0 1 1 0 R W 1 RW 1 R W 0: Single-chip mode 1: 0: Not available 1: 0: 0 page 1: 1
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00FD16 Interrupt Request Register 2 b7 b6 b5 b4 b3 b2 b1 b0 0 Interrupt request register 2 (IREQ2) [Address 00FD16] B Name 0 INT1 external interrupt request bit (INIR) Data slicer interrupt request bit (DSR) 1 2 Serial I/O interrupt request bit (S1R) 3 f(XIN)/4096 interrupt request bit (CKR) 4 INT2 external
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 00FF16 Interrupt Control Register 2 b7 b6 b5 b4 b3 b2 b1 b0 Interrupt control register 2 (ICON2) [Address 00FF16] B 0 1 2 3 4 Name INT1 external interrupt enable bit (IN1E) Data slicer interrupt enable bit (DSE) Serial I/O interrupt enable bit (S1E) f(XIN)/4096 interrupt enable bit (CKE) INT2 external interrupt e
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Address 020916 PWM Mode Register 2 b7 b6 b5 b4 b3 b2 b1 b0 0 0 PWM mode register 2 (PM2) [Address 0209 16] B Name 0 P00/PWM0 output selection bit (PM20) Functions 0 : P0 0 output 1 : PWM0 output After reset R W 0 R W 1 P01/PWM1 output selection bit (PM21) 0 : P0 1 output 1 : PWM1 output 0 R W 2 P02/PWM2 output
MITSUBISHI MICROCOMPUTERS M37272M6/M8–XXXSP/FP, M37272MA–XXXSP M37272E8SP/FP, M37272EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 21. PACKAGE OUTLINE 42P4B Plastic 42pin 600mil SDIP EIAJ Package Code SDIP42-P-600-1.78 Weight(g) 4.1 Lead Material Alloy 42/Cu Alloy 22 1 21 E 42 e1 c JEDEC Code – Symbol A A1 A2 b b1 b2 c D E e e1 L L A1 A A2 D e b1 b2 b SEATING PLANE 42P2R-A/E Dimension in Millimeters Min Nom Max – – 5.5 0.
MITSUBISHI MICROCOMPUTERS M37273M8–XXXSP, M37273MF–XXXSP M37273E8SP, M37273EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER Keep safety first in your circuit designs! • Mitsubishi Electric Corporation puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage.
M37272M6/M8-XXXSP/FP, M37272MA-XXXSP, M37272E8SP/FP, M37272EFSP DATA SHEET REVISION DESCRIPTION LIST Rev. Rev. Revision Description No. date 1.0 First Edition of PDF File 990201 1.1 • Delete “PRELIMINALY” 9907 • Correct product name (head of P141). 1.3 Updated to Rev.1.