M37221 Mitsubishi, M37221 Datasheet

no-image

M37221

Manufacturer Part Number
M37221
Description
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
Manufacturer
Mitsubishi
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M37221-125
Manufacturer:
CN/如韵
Quantity:
20 000
Part Number:
M37221EASP
Manufacturer:
MIT
Quantity:
1 345
Part Number:
M37221EASP
Manufacturer:
MITSUBISH
Quantity:
20 000
Part Number:
M37221EFSP
Manufacturer:
MIT
Quantity:
6 220
Part Number:
M37221M6-065SP
Manufacturer:
MITSUBISH
Quantity:
20 000
Part Number:
M37221M6-262SP
Manufacturer:
MIT
Quantity:
100
Part Number:
M37221M6-270SP
Manufacturer:
MITSUBISHI
Quantity:
2 940
Part Number:
M37221M6-270SP
Manufacturer:
MITSUBISHI
Quantity:
20 000
Part Number:
M37221M6-277SP
Quantity:
70
Part Number:
M37221M6-286SP
Manufacturer:
MITSUBISHI
Quantity:
20 000
DESCRIPTION
The M37221EF-XXXSP and M37221EFSP are single-chip microcom-
puters designed with CMOS silicon gate technology. They are housed
in a 42-pin shrink plastic molded DIP.
In addition to their simple instruction sets, the ROM, RAM and I/O
addresses are placed on the same memory map to enable easy pro-
gramming.
The M37221EF-XXXSP and M37221EFSP have a PWM output func-
tion and a OSD display function, so it is useful for a channel selection
system for TV.
FEATURES
Memory size
The minimum instruction execution time
Power source voltage .................................................. 5 V ± 10 %
Power dissipation............................................................. 165 mW
Subroutine nesting ....................................... 96 levels (maximum)
Interrupts ....................................................... 14 types, 14 vectors
8-bit timers .................................................................................. 4
Programmable I/O ports (Ports P0, P1, P2, P3
Input ports (Ports P3
Output ports (Ports P5
12 V withstand ports .................................................................... 6
LED drive ports ........................................................................... 4
Serial I/O ............................................................ 8-bit
Multi-master I
A-D comparator (6-bit resolution) ................................ 6 channels
D-A converter (6-bit resolution) ................................................... 2
PWM output circuit ......................................... 14-bit
ROM correction function ........................................... 32 bytes
Number of basic instructions ..................................................... 71
......................................... 0.5 s (at 8 MHz oscillation frequency)
(at 8 MHz oscillation frequency, V
ROM ........................................................ 62 K bytes
RAM ....................................................... 1216 bytes
ROM for display ......................................... 8 K bytes
RAM for display .......................................... 96 bytes
2
C-BUS interface ............................... 1 (2 systems)
3
, P3
2
–P5
4
) ......................................................... 2
5
) ...................................................... 4
M37221EF-XXXSP,M37221EFSP
CC
=5.5V, at CRT display)
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
0
–P3
2
) .............. 27
1, 8-bit
1 channel
6
2
APPLICATION
TV
PIN CONFIGURATION (TOP VIEW)
CRT display function
P0
Number of display characters ................ 24 characters
Kinds of characters ..................................................... 256 kinds
Dot structure .......................................................... 12
Kinds of character sizes .................................................. 3 kinds
Kinds of character colors (It can be specified by the character)
Kinds of character background colors (It can be specified by the character)
Kinds of raster colors (maximum 7 kinds)
Display position
Bordering (horizontal and vertical)
6
maximum 7 kinds (R, G, B)
maximum 7 kinds (R, G, B)
Horizontal .................................................................. 64 levels
Vertical .................................................................... 128 levels
/INT2/A-D4
P0
P0
P0
P0
P0
P0
P2
P2
P0
0
1
2
3
4
5
/PWM0
/PWM1
/PWM2
/PWM3
/PWM4
/PWM5
CNV
3
4
7
H
V
/TIM3
/TIM2
/INT1
with ON-SCREEN DISPLAY CONTROLLER
X
SYNC
SYNC
D-A
P2
P2
P3
V
P2
OUT
X
SS
SS
IN
5
6
7
2
MITSUBISHI MICROCOMPUTERS
10
11
12
13
14
15
16
17
18
19
20
21
Outline 42P4B
1
2
3
4
5
6
7
8
9
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
(16 lines maximum)
P5
P5
P2
P2
P1
P1
P1
P1
P5
P2
P1
P1
P1
P1
P3
P3
OSC1/P3
OSC2/P3
V
P5
RESET
CC
3
5
0
2
0
1
2
5
2
4
1
3
4
6
7
0
1
/G
/OUT1
/S
/S
/OUT2
/SCL1
/SCL2
/A-D1/INT3
/R
/B
/S
/SDA1
/SDA2
/A-D2
/A-D3
/A-D5/DA1
/A-D6/DA2
CLK
IN
OUT
3
4
16 dots
2 lines

Related parts for M37221

M37221 Summary of contents

Page 1

... In addition to their simple instruction sets, the ROM, RAM and I/O addresses are placed on the same memory map to enable easy pro- gramming. The M37221EF-XXXSP and M37221EFSP have a PWM output func- tion and a OSD display function useful for a channel selection system for TV. ...

Page 2

... M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER MITSUBISHI MICROCOMPUTERS H SYNC V SYNC OUT1 OUT2 PWM0 PWM1 PWM2 PWM3 PWM4 PWM5 OUT S S CLK S IN INT1 INT2 INT3 ...

Page 3

... CRT display function Number of display characters Dot structure Kinds of characters Kinds of character sizes Kinds of character colors Display position (horizontal, vertical) M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER 71 0.5 s (the minimum instruction execution time MHz oscillation fre- quency) 8 MHz (maximum bytes ...

Page 4

... Input Clock input for CRT display Clock output for Output CRT display 4 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER Functions Apply voltage ± (typical This is connected enter the reset state, the reset input pin must be kept at a “L” for more (under normal V conditions) ...

Page 5

... The input pins are in the floating state, so the values of the pins can be read. When data is written into the input pin written only into the port latch, while the pin remains in the floating state. M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER Ports P5 – ...

Page 6

... FUNCTIONAL DESCRIPTION Central Processing Unit (CPU) The M37221EF-XXXSP uses the standard 740 family instruction set. Refer to the table of 740 family addressing modes and machine in- structions or the SERIES 740 <Software> User’s Manual for details on the instruction set. Machine-resident 740 family instructions are as follows: The FST, SLW instruction cannot be used ...

Page 7

... FFDE 16 Interrupt vector area FFFF 16 Fig. 2. Memory map M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER Interrupt Vector Area The interrupt vector area contains reset and interrupt vectors. Zero Page The 256 bytes from addresses 0000 page area. The internal RAM and the special function registers (SFR) are allocated to this area ...

Page 8

... Serial I/O mode register (SM Serial I/O regsiter (SIO DA1 conversion register (DA1 DA2 conversion register (DA2) 16 Fig. 3. Memory map of SFR (special function register) (1) 8 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER Bit allocation b7 DA2S DA1S P31S PW7 PW6 ...

Page 9

... Interrupt request register 1 (IREQ1 Interrupt request register 2 (IREQ2 Interrupt control register 1 (ICON1 Interrupt control register 2 (ICON2) 16 Fig. 4. Memory map of SFR (special function register) (2) M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER Bit allocation b7 b0 HR5 HR4 HR3 ...

Page 10

... ROM correction enable register (RCR) 16 21C 16 21D 16 21E 16 21F 16 Fig. 5. Memory map of 2 page register 10 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER to 21F ) 16 16 Bit allocation b7 b0 RCR1 RCR0 MITSUBISHI MICROCOMPUTERS State immediately after reset ...

Page 11

... Timer 2 interrupt Timer 1 interrupt Serial I/O interrupt 2 Multi-master I C-BUS interface interrupt INT3 interrupt BRK instruction interrupt M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER Interrupt Causes (1) V and CRT interrupts SYNC The V interrupt is an interrupt request synchronized with SYNC the vertical sync signal ...

Page 12

... I (non-maskable). Interrupt request bit Interrupt enable bit Interrupt disable flag I Fig. 6. Interrupt control 12 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER )/4096 period. Set bit C-BUS inter- BRK instruction ...

Page 13

... INT2 polarity switch bit 0 : Positive polarity 1 : Negative polarity INT3 polarity switch bit 0 : Positive polarity 1 : Negative polarity Fix this bit to “0.” Fig. 7. Structure of interrupt-related registers M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER interrupt request bit ...

Page 14

... TIMERS The M37221EF-XXXSP has 4 timers: timer 1, timer 2, timer 3, and timer 4. All timers are 8-bit timer with the 8-bit timer latch. The timer block diagram is shown in Figure 9. All of the timers count down and their divide ratio is 1/(n+1), where n is the value of timer latch. The value is set to a timer at the same time ...

Page 15

... Count start 1 : Count stop Timer 2 internal count source selection bit 0 : f(X )/ Timer 1 overflow Fix this bit to “0.” Fig. 8. Structure of timer-related registers M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER /TIM2 pin 4 0 Timer 34 mode register ...

Page 16

... When the external clock source is selected, timers 2 and 3 are counted at a rising edge of input signal the stop mode or the wait mode, external clock inputs TIM2 and TIM3 cannot be used. Fig. 9. Timer block diagram 16 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER Timer 1 latch (8) 8 ...

Page 17

... SERIAL I/O The M37221EF-XXXSP has a built-in serial I/O which can either trans- mit or receive 8-bit data in serial in the clock synchronous mode. The serial I/O block diagram is shown in Figure 10. The synchroniz- ing clock I/O pin (S ), and data I/O pins (S CLK as port P2. Bit 2 of the serial I/O mode register (address 00DC ...

Page 18

... Serial I/O output S OUT Serial I/O input S IN Note : When an internal clock is selected, the S Fig. 12. Serial I/O timing (for LSB first) 18 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER 7 0 pin and data in IN Fig. 11. Structure of serial I/O mode register D D ...

Page 19

... I/O register CLK OUT SM: Serial I/O mode register Fig. 13. Signals on serial I/O common transmission/reception mode M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER and IN ” to the serial 16 Clock “1” Serial I/O shift register (8) “0” SM6 19 ...

Page 20

... Noise Serial Clock elimination clock control circuit (SCL) circuit 2 Fig. 14. Block diagram of multimaster I C-BUS interface 20 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER Table 2. Multi-master I Item Format 2 C-BUS inter address reg Communication mode SCL clock frequency : System clock = f(X Note: We are not responsible for any third party’ ...

Page 21

... These bits store slave addresses. Regardless of the 7-bit address- ing mode and the 10-bit addressing mode, the address data trans- mitted from the master is compared with the contents of these bits. M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER ) is an 8-bit shift ...

Page 22

... Note: At 400 kHz in the high-speed clock mode, the duty is 40%. In the other cases, the duty is 50%. 22 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER 2 ( Control Register 2 The I C control register (address 00DA C clock control register tion format. ...

Page 23

... RBW), the first bytes agree. The state of this bit is changed from “1” to “0” by executing a write 2 instruction to the I C data shift register (address 00D7 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER 7 “0” BSEL1 BSEL0 10 BIT “1” BSEL0 ...

Page 24

... TRX bit is set to “1” (transmit) if the least significant bit (R/W bit) of the address data trans- 24 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER mitted by the master is “1.” When the ALS bit is “0” and the R/W bit is “ ...

Page 25

... Fig. 19. Structure status register SCL PIN IICIRQ Fig. 20. Interrupt request signal generating timing M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER (6) START Condition Generating Method When the ES0 bit of the I execute a write instruction to the for setting the MST, TRX and BB bits to “ ...

Page 26

... S : START condition A : ACK bit Sr : Restart condition Fig. 24. Address data communication format 26 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER (9) Address Data Communication There are two address data communication formats, namely, 7-bit addressing format and 10-bit addressing format. The respective ad- dress communication formats is described below. ...

Page 27

... SCL at the “H” level. Set a communication enable status by setting “48 control register (address 00DA ). 16 When a START condition is received, an address comparison is made. M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER •When all transmitted addresses are “0” (general call set to “1.” After 16 AD0 of the data shift register an interrupt request signal occurs ...

Page 28

... PWM OUTPUT FUNCTION The M37221EF-XXXSP is equipped with a 14-bit PWM (DA) and six 8-bit PWMs (PWM0–PWM5). DA has a 14-bit resolution with the minimum resolution bit width of 0.25 s (for f(X repeat period of 4096 s. PWM0–PWM5 have the same circuit struc- ture and an 8-bit resolution with minimum resolution bit width (for f MHz) and repeat period of 1024 s ...

Page 29

... D0 : Port P0 direction register PW : PWM output control register PWM output control register 2 Note : The DA-L register also functions as the low-order 6 bits of the DA latch. Fig. 25. PWM block diagram M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER ( 63) m Data bus ...

Page 30

... Fig. 26. 8-bit PWM timing 30 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER ...

Page 31

... D4 counter Fundamental waveform of smaller interval “tm” which is not specified by low-order 6 bits is not changed. 14-bit PWM output t Low-order 6-bit output of DA latch Fig. 27. 14-bit PWM output example (f(X IN M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER D [DA-L register writing of DA ...

Page 32

... PWM3 output P0 /PWM4 output selection bit PWM4 output P0 /PWM5 output selection bit PWM5 output Fig. 28. Structure of PWM-related registers 32 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER output selection bit 4 output 4 output 0 output 1 output 2 output ...

Page 33

... Analog P1 /A-D3 7 signal P0 /INT2/A-D4 6 switch P3 /A-D5/DA1 0 P3 /A-D6/DA2 1 Fig. 31. A-D comparator block diagram M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER 7 ). Fig.30. Structure of A-D control register 2 Table 7. Relation between contents of A-D control register 2 and ) 16 reference voltage “V Bit 5 Bit not set ...

Page 34

... D-A CONVERTER The M37221EF-XXXSP has 2 D-A converters with 6-bit resolution. D-A converter block diagram is shown in Figure 34. D-A conversion is performed by setting the value in the DA conver- sion register. The result of D-A conversion is output from the DA pin by setting “1” to the DA output enable bit of the port P3 output mode control register (bits 2 and 3 at address 00CD The output analog voltage V is determined with the value n (n: deci- mal number) in the DA conversion register ...

Page 35

... CRT DISPLAY FUNCTIONS (1) Outline of CRT Display Functions Table 9 outlines the CRT display functions of the M37221EF-XXXSP. The M37221EF-XXXSP incorporates a CRT display control circuit of 24 characters 2 lines. CRT display is controlled by the CRT control register 256 kinds of characters can be displayed. The colors can be specified for each character and kinds of col- ors can be displayed on one screen ...

Page 36

... Border selection register RAM for display 10 bits (Addresses 00E6 16 to 00E9 ) 16 Color registers (Address 00EC CRT port control register Data bus Fig. 37. Block diagram of CRT display control circuit 36 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER ) 16 , 00E2 ) ROM for display ...

Page 37

... CV1 CV1 (b) Example when block 2 overlaps with block 1 Fig. 38. Display position M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER Block 2 is displayed after the display of block 1 is completed (refer to Figure 38 (a)). Accordingly, if the display of block 2 starts during the display of block 1, only block 1 is displayed ...

Page 38

... Note: Do not generate falling edge of H SYNC edge of V control signal in microcomputer to avoid SYNC jitter. Fig. 39. Supplement explanation for display position 38 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER 7 signal. So interval SYNC signals can se- SYNC ). For details. 16 signal after SYNC Fig ...

Page 39

... Note: The display start position in the horizontal direction is not affected by the character size. In other words, the horizontal display start position is common to all blocks even when the character size varies with each block (refer to Figure 43). M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER ...

Page 40

... Fig. 44. Display character stored data 40 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER The CRT display ROM has a capacity bytes. Since 32 bytes are required for 1 character data, the ROM can stores up to 256 kinds of characters. ) used to specify the The CRT display ROM space is broadly divided into 2 areas ...

Page 41

... Block 2 22nd character 23rd character 24th character M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER RAM for display (addresses 0600 The CRT display RAM is allocated at addresses 0600 and is divided into a display character code specification part and Right 4 dots lines display color specification part for each block ...

Page 42

... Fig. 45. Structure of CRT display RAM 42 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER 7 0 Character code 1 0 Color register specification 7 0 Character code 1 0 ...

Page 43

... R, G and B outputs are set by using bits the color register. Bit 5 is used to specify whether a character output or blank output. Figure 46 shows the structure of the color register. M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER 7 ...

Page 44

... TV video signal. 4 :The wavy-lined arrows in the Table denote video signals M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER G output B output OUT1 output output ...

Page 45

... Border output Fig. 47. Structure of border selection register Table 14. Relationship between set value in border selection register and character border function Border selection register MDn0 0 1 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER ) 16 Fig. 48. Example of border Functions Ordinary ...

Page 46

... Multiline Display The M37221EF-XXXSP can ordinarily display 2 lines on the CRT screen by displaying 2 blocks at different vertical positions. In addi- tion, it can display lines by using CRT interrupts. A CRT interrupt request occurs at the point at which display of each block has been completed. In other words, when a scanning line ...

Page 47

... An example in which a magenta character “I” and a red character “O” are displayed with blue raster coloring is shown in Figure 51 SYNC R B OUT1 Fig. 51. Example of raster coloring M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER 7 . Set bit 7 of the and output polarity of “RED” ...

Page 48

... CRT display and a feedback resistor • a quartz-crystal oscillator only for CRT display and a feedback resistor (Note) Note necessary to connect other ceramic resonator or quartz-crystal oscillator across the pins X 48 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER 7 ...

Page 49

... Use the JMP instruction (total of 3 bytes) to return from the main program to the program for correction not set the same ROM correction address to the blocks 1 and 2. M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER ROM correction address 1 (high-order) ROM correction address 1 (low-order) ...

Page 50

... RESET CIRCUIT The M37221EF-XXXSP is reset according to the sequence shown in Figure 56. It starts the program from the address formed by using the content of address FFFF as the high-order address and the con- 16 tent of the address FFFE as the low-order address, when the 16 RESET pin is held at “L” level for more while the power source voltage ± ...

Page 51

... Color register 2 (00E9 Color register 3 Note : The contents of all other registers and RAM are undefined at reset, so set their initial values. : Undefined : Unused bit Fig. 57. Internal state of microcomputer at reset M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER Contents of register ) CRT control register ...

Page 52

... Data bus Port latch Ports Direction register Data bus Port latch Fig. 58. I/O pin block diagram (1) 52 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER MITSUBISHI MICROCOMPUTERS N-channel open drain output Ports P0 – Note: Each port is also used as below: P0 – ...

Page 53

... SYNC SYNC Internal circuit Fig. 59. I/O pin block diagram (2) M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER D- OUT1, OUT2 Schmidt input SYNC SYNC Internal circuit CMOS output D- OUT1, OUT2 Note: Each pin is also used ...

Page 54

... Fig. 62. Clock generating circuit block diagram 54 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER stops at “H” level. )/16 IN keeps its “H” level stops in Fig. 60. Ceramic resonator circuit example M37221EF-XXXSP External oscillation circuit Fig. 61. External clock input circuit example pin Reset ...

Page 55

... Note : Make the level change from “L” to “H” at the point at which the power source voltage exceeds the specified voltage. Fig. 64. Auto-clear circuit example M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER ADDRESSING MODE The memory access is reinforced with 17 kinds of addressing modes. ...

Page 56

... Functional check in target device Caution : The screening temperature is far higher than the storage temperature. Never expose to 150°C exceeding 100 hours. Fig. 65. Programming and testing of One Time PROM version 56 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER PCA7408 MITSUBISHI MICROCOMPUTERS with ON-SCREEN DISPLAY CONTROLLER ...

Page 57

... F or more capacitor externally across the power source pins V connect 0 more capacitor externally across the pins V 5: Use a quartz-crystal oscillator or a ceramic resonator for the CPU oscillation circuit. M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER Conditions All voltages are based on V ...

Page 58

... hysteresis when these pins are used as serial I/O pins. P1 interface pins. 58 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER ( f MHz ...

Page 59

... LOW p S SCL STA Fig. 66. Definition diagram of timing on multi-master I M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER = – unless otherwise noted) a Test conditions = – unless otherwise noted) a Test conditions Standard clock mode High-speed clock mode Parameter ...

Page 60

... PACKAGE OUTLINE 60 M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER MITSUBISHI MICROCOMPUTERS ...

Page 61

... M37221EF-XXXSP,M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER MITSUBISHI MICROCOMPUTERS 61 ...

Page 62

... Sep. First Edition 1996 H-DF319-B Editioned by Committee of editing of Mitsubishi Semiconductor Data Book Published by Mitsubishi Electric Corp., Semiconductor Division This book, or parts thereof, may not be reproduced in any form without permission of Mitsubishi Electric Corporation. ©1996 MITSUBISHI ELECTRIC CORPORATION Printed in Japan 62 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER MITSUBISHI DATA BOOK SINGLE-CHIP 8-BIT MICROCOMPUTERS Vol ...

Page 63

... REVISION DESCRIPTION LIST Rev. No. 1.0 First Edition 2.0 Information about copywright note, revision number, release data added (last page). 2.1 Correct note (P54) M37221EF-XXXSP, M37221EFSP DATA SHEET Revision Description (1/1) Rev. date 9708 971130 980731 ...

Related keywords