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 programming. The M37221EF-XXXSP and M37221EFSP have a PWM output function and a OSD display function, so it is useful for a channel selection system for TV.
FEATURES
•Number of basic instructions ..................................................... 71
•Memory size
ROM ........................................................62 K bytes
RAM ....................................................... 1216 bytes
ROM for display ......................................... 8 K bytes
RAM for display .......................................... 96 bytes
•The minimum instruction execution time......................................... 0.5 µs (at 8 MHz oscillation frequency)
•Power source voltage .................................................. 5 V ± 10 %
•Power dissipation............................................................. 165 mW (at 8 MHz oscillation frequency, VCC=5.5V, at CRT display)
•Subroutine nesting ....................................... 96 levels (maximum)
•Interrupts ....................................................... 14 types, 14 vectors
•8-bit timers .................................................................................. 4
•Programmable I/O ports (Ports P0, P1, P2, P30–P32) .............. 27
•Input ports (Ports P33, P34) ......................................................... 2
•Output ports (Ports P52–P55) ...................................................... 4
•12 V withstand ports .................................................................... 6
•LED drive ports ........................................................................... 4
•Serial I/O ............................................................ 8-bit ✕1 channel
•Multi-master I2C-BUS interface ............................... 1 (2 systems)
•A-D comparator (6-bit resolution) ................................ 6 channels
•D-A converter (6-bit resolution) ................................................... 2
•PWM output circuit......................................... 14-bit ✕1, 8-bit ✕6
•ROM correction function ........................................... 32 bytes ✕2
•CRT display function
Number of display characters ................ 24 characters ✕2 lines(16 lines maximum)
Kinds of characters ..................................................... 256 kinds
Dot structure .......................................................... 12 ✕16 dots
Kinds of character sizes .................................................. 3 kinds
Kinds of character colors (It can be specified by the character) maximum 7 kinds (R, G, B)
Kinds of character background colors (It can be specified by the character) maximum 7 kinds (R, G, B)
Kinds of raster colors (maximum 7 kinds)
Display position
Horizontal .................................................................. 64 levels
Vertical .................................................................... 128 levels
Bordering (horizontal and vertical)
APPLICATION
TV