MYSON MTV212MS32, MTV212MV32, MTV212MN32 Datasheet

MYSON
8051 core, 12MHz operating frequency. 512-byte RAM; 32K-byte program Flash-ROM support In System Maximum 14 channels of 5V open-drain PWM DAC.
Watchdog timer with pro
VESA DDC interface, 3-channel A/D converter and a 32K-byte internal program Flash-ROM.
WR
WR
MTV212M32
TECHNOLOGY
(Rev 1.1)
8051 Embedded Monitor Controller
Flash Type with ISP
FEATURES
Maximum 32 bi-directional I/O pins.
SYNC processor for composite separation/insertion, H/V polarity/frequency check, polarity adjustment
and programmable clamp pulse output.
Built-in self-test pattern generator with four free-running timings.
Built-in low power reset circuit.
Compliant with VESA DDC1/2B/2Bi/2B+ standard.
Dual slave IIC addresses.
Single master IIC interface for internal device communication.
4-channel 6-bit ADC.
40-pin DIP, 42-pin SDIP or 44-pin PLCC package.
grammable interval.
GENERAL DESCRIPTIONS
Programming(ISP).
The MTV212M32 micro-controller is an 8051 CPU core embedded device specially tailored to Monitor applications. It includes an 8051 CPU core, 512-byte SRAM, SYNC processor, 14 built-in PWM DACs,
BL OCK DIAGRAM
STOUT HBLANK VBLANK HSYNC VSYNC HCLAMP HALFV HALFH
P1.0-7 P2.0-2,P2.4-7
P3.2-0
P3.4-5 RST X1 X2
8051
P0.0­7 RD
ALE
P0.0­7 RD
ALE
AD0-2
XFR
ADC
H/VSYNC CONTROL
14 CHANNEL
PWM DAC
ISCL
DDC & IIC
INTERFACE
ISDA HSCL HSDA
This datasheet contains new product information. Myson Technology reserves the rights to modify the product specification without notice. No liability is assumed as a result of the use of this product. No rights under any patent accompany the sale of the product.
Revision 1.1 - 1 - 2000/07/04
MYSON
MTV212M32
TECHNOLOGY
(Rev 1.1)
DEVICE SUMMARY
The MTV212M32 is one of the MTV212 family device. For other family devices information, please see the table below:
Part Numb er USB ROM RAM Pack ag e
MTV212A16 No 16K 256 PDIP40, SDIP42, PLCC44 MTV212A24 No 24K 512 PDIP40, SDIP42, PLCC44 MTV212M32/A32 No 32K 512 PDIP40, SDIP42, PLCC44 MTV212A32U Yes 32K 768 PDIP40, SDIP42, PLCC44 MTV212A48U Yes 48K 768 PDIP40, SDIP42, PLCC44 MTV212A64U Yes 64K 1024 PDIP40, SDIP42, PLCC44
The usage of Auxiliary RAM (AUXRAM) is limited for targeted Flash ROM, the allowable XBANK (35h) bank selection is defined as the table below:
Part Numb er RAM Xbnk2 Xbnk1 Xbnk 0
MTV212A16 256 - - ­ MTV212A24 512 0 0 0 0 0 1 MTV212M32/A32 512 0 0 0 0 0 1 MTV212A32U 768 0 0 0
0 0 1 0 1 0 0 1 1
MTV212A48U 768 0 0 0
0 0 1 0 1 0 0 1 1
MTV212A64U 1024 0 0 0
0 0 1 0 1 0 0 1 1 1 0 0 1 0 1
Revision 1.1 - 2 - 2000/07/04
MYSON
DA2/P5.2
DA1/P5.1
DA0/P5.0
VSS
ISDA/P3.4/T0
ISCL/P3.5/T1
STOUT/P4.2
P2.2/AD2
P3.2/INT0
DA2/P5.2
DA1/P5.1
DA0/P5.0
VSS
ISDA/P3.4/T0
ISCL/P3.5/T1
STOUT/P4.2
P2.2/AD2
P3.2/INT0
P1.624P1.7
P2.1/AD1
P1.5
P2.0/AD0
HSDA/P3.1/Txd P1.1
P3.2/INT0
P1.2
P1.3
P1.4
23222120282726
25
NC
6543214443424140
NC
NC
DA0/P5.0
DA1/P5.1
DA2/P5.2 VSYNC
HSYNC
DA3/P5.3
DA4/P5.4
DA5/P5.5
19
18
VSS
ISDA/P3.4/T0
ISCL/P3.5/T1
STOUT/P4.2
P2.2/AD2
P2.3/AD3
MTV212M32
TECHNOLOGY
(Rev 1.1)
PIN CONNECTION
Note: As long as the pin sequence is not changed, the 42 pin SDIP’s pin-out is negotiable according to customer’s demand.
401
VSYNC
39
HSYNC
38
DA3/P5.3
37
DA4/P5.4
36
DA5/P5.5
35
DA8/HALFH
34
DA9/HALFV
33
HBLANK/P4.1
32
VBLANK/P4.0
31
DA7/HCLAMP
30
DA6/P5.6
29
P2.7/DA13
28
P2.6/DA12
27
P2.5/DA11
26
P2.4/DA10
25
HSCL/P3.0/Rxd
24
HSDA/P3.1/Txd
23
P2.0/AD0
22
P2.1/AD1
21
P1.7
RST
VDD
X2 X1
P1.0 P1.1
P1.2 P1.3 P1.4 P1.5 P1.6
2 3 4 5 6 7 8
MTV212M32
9
40 Pin
10 11 12 13 14 15 16 17 18 19 20
PDIP
NC NC NC
RST
VDD
X2 X1
P1.0 P1.1
P1.2 P1.3 P1.4
1 2 3 4 5 6 7 8
MTV212M32
9
42 Pin
10 11 12 13 14 15 16 17 18 19 20
SDIP
VSYNC
42
HSYNC
41 40
DA3/P5.3
39
DA4/P5.4
38
DA5/P5.5
37
DA8/HALFH
36
DA9/HALFV
35
HBLANK/P4.1
34
VBLANK/P4.0
33
DA7/HCLAMP
32
DA6/P5.6
31
P2.6/DA12
30
P2.5/DA11
29
P2.4/DA10
28
HSCL/P3.0/Rxd
27
HSDA/P3.1/Txd
26
P2.0/AD0
25
P2.1/AD1
24
P1.7
23
P1.6
2221
P1.5
RST
VDD
X2 X1
P1.0
7 8 9 10 11 12 13 14 15 16 17
MTV212M32
44 Pin
PLCC
39
DA8/HALFH
38
DA9/HALFV
37
HBLANK/P4.1
36
VBLANK/P4.0
35
DA7/HCLAMP
34
DA6/P5.6
33
P2.7/DA13
32
P2.6/DA12
31
P2.5/DA11
30
P2.4/DA10
29
HSCL/P3.0/Rxd
Revision 1.1 - 3 - 2000/07/04
MYSON
PWM DAC output (5V open drain) / General purpose I/O (5V open drain). PWM DAC output (5V open drain) / General purpose I/O (5V open drain). PWM DAC output (5V open drain) / General purpose I/O (5V open drain).
PWM DAC output (CMOS) /
PWM DAC output (5V open drain) / PWM DAC output (5V open drain) /
MTV212M32
TECHNOLOGY
PIN DESCRIPTION
Name Type Description DA2/P5.2 DA1/P5.1 DA0/P5.0 RST VDD P2.3/AD3 VSS X2 X1 ISDA/P3.4/T0 ISCL/P3.5/T1 STOUT/P4.2 P2.2/AD2 P1.0 P1.1 P3.2/INT0 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 P2.1/AD1 P2.0/AD0 HSDA/P3.1/Txd HSCL/P3.0/Rxd P2.4/DA10 P2.5/DA11 P2.6/DA12 P2.7/DA13 DA6/P5.6 DA7/HCLAMP VBL ANK /P4.0 HBLA NK /P4.1 DA9/HALFV DA8/HALFH DA5/P5.5 DA4/P5.4 DA3/P5.3 HSYNC VSYNC
I/O I/O I/O
Active high reset.
I
Positive Power Supply.
-
General purpose I/O (CMOS output or 8051 standard) / ADC Input.
I/O
Ground.
-
Oscillator output.
O
Oscillator input.
I
Master IIC data (5V open drain) / General purpose I/O (8051 standard) / T0
I/O
Master IIC clock (5V open drain) / General purpose I/O (8051 standard) / T1
I/O
Self-test video output (CMOS) / General purpose Output (CMOS).
O
General purpose I/O (CMOS output or 8051 standard) / ADC Input.
I/O
General purpose I/O (CMOS output or 8051 standard).
I/O
General purpose I/O (CMOS output or 8051 standard).
I/O
General purpose Input / INT0.
I
General purpose I/O (CMOS output or 8051 standard).
I/O
General purpose I/O (CMOS output or 8051 standard).
I/O
General purpose I/O (CMOS output or 8051 standard).
I/O
General purpose I/O (CMOS output or 8051 standard).
I/O
General purpose I/O (CMOS output or 8051 standard).
I/O
General purpose I/O (CMOS output or 8051 standard).
I/O
General purpose I/O (CMOS output or 8051 standard) / ADC Input.
I/O
General purpose I/O (CMOS output or 8051 standard) / ADC Input.
I/O
Slave IIC data (5V open drain) / General purpose I/O (8051 standard) / Txd
I/O
Slave IIC clock (5V open drain) / General purpose I/O (8051 standard) / Rxd
I/O
General purpose I/O (CMOS output or 8051 standard) / PWM DAC output (CMOS).
I/O
General purpose I/O (CMOS output or 8051 standard) / PWM DAC output (CMOS).
I/O
General purpose I/O (CMOS output or 8051 standard) / PWM DAC output (CMOS).
I/O
General purpose I/O (CMOS output or 8051 standard) / PWM DAC output (CMOS).
I/O
PWM DAC output (CMOS) / General purpose I/O (CMOS output or open drain I/O).
I/O
O
Vertical blank (CMOS) / General purpose Output (CMOS).
O
Horizontal blank (CMOS) / General purpose Output (CMOS).
O O O
PWM DAC output (CMOS) / General purpose I/O (CMOS output or open drain I/O).
I/O
PWM DAC output (CMOS) / General purpose I/O (CMOS output or open drain I/O).
I/O
PWM DAC output (CMOS) / General purpose I/O (CMOS output or open drain I/O).
I/O
Horizontal SYNC or Composite SYNC Input.
I
Vertical SYNC input.
I
Hsync clamp pulse output (CMOS).
(Rev 1.1)
vsync half freq. output (5V open drain). hsync half freq. output (5V open drain).
Revision 1.1 - 4 - 2000/07/04
MYSON
MTV212M32
TECHNOLOGY
(Rev 1.1)
PIN CONFIGURATION
A “CMOS output pin” means it can sink and drive at least 4mA current. It’s not recommended to use such pin as input fuction. A “5V open drain pin” means it can sink at least 4mA current but only drive 10~20uA to VDD. It can be used as input or output function and need an external pull up resistor. A “8051 standard pin” is a pseudo open drain pin. It can sink at least 4mA current when output low level, and drive at least 4mA current for 160nS when output transit from low to high, then keep drive 1 00uA to maintain the pin at high level. It can be used as input or output function. It need an external pull up resistor when drive heavy load device.
Output
Data
2 OSC period
delay
4mA 10uA
4mA
Input Data
120uA
8051 Stand ard Pin
Pin
Input Data
Output
Data
Output
Data
4mA
CMOS Outp u t Pin
Pin
4mA
No Current
5V Open Drain Pin
Pin
4mA
Revision 1.1 - 5 - 2000/07/04
MYSON
FUNCTIONAL DESCRIPTIONS
2. Memory Allo catio n
2.4 Auxiliary RAM (AUXRAM) divided into two banks, selected by XBANK register. Program can initialize
MTV212M32
TECHNOLOGY
1. 8051 CPU Core
(Rev 1.1)
MTV212M32 includes all 8051 functions with the following exceptions:
1.1 The external RAM access is restricted to XFRs/AUXRAM within the MTV212M32.
1.2 Port0, port3.3, port3.6 and port3.7 are not general-purpose I/O ports. They are dedicated to monitor special application.
1.3 INT1 input pin is not provided, it is connected to special interrupt sources.
1.4 Port2 are shared with special function pins.
In addition, there are 2 timers, 5 interrupt sources and serial interface compatible with the standard 8051.
Note: All registers listed in this document reside in external RAM area (XFR). For internal RAM memory map please refer to 8051 spec.
2.1 Internal Special Function Registers (SFR)
The SFR is a group of registers that are the same as standard 8051.
2.2 Internal RAM
There are total 256 bytes internal RAM in MTV212M32, same as standard 8052.
2.3 External Special Function Registers (XFR)
The XFR is a group of registers allocated in the 8051 external RAM area 00h - 7Fh. Most of the registers are used for monitor control or PWM DAC. Program can initialize Ri value and use "MOVX" instruction to access these registers.
There are total 256 bytes auxiliary RAM allocated in the 8051 external RAM area 80h - FFh. The AUXRAM is instruction to access the AUXRAM.
FFh
Internal RAM
addressing only
80h 7Fh
Internal RAM
Accessible by
indirect
(Using
MOV A,@Ri
instruction)
SFR
Accessible by
direct addressing
FFh
80h 7Fh
Ri value and use "MOVX"
AUXRAM
Accessible by
indirect external
RAM addressing
(XBANK=0)(Using
MOVX A,@Ri
instruction)
Accessible by
indirect external
RAM addressing
(XBANK=1)(Using
MOVX A,@Ri
XFR
AUXRAM
instruction)
Accessible by
direct and indirect
addressing
00h
Accessible by
indirect external
RAM addressing
(Using
MOVX A,@Ri
instruction
00h
Revision 1.1 - 6 - 2000/07/04
MYSON
PWMF
MTV212M32
TECHNOLOGY
3. Chip Configu ratio n
The Chip Configuration registers define the chip pins function, as well as the functional blocks' connection, configuration and frequency.
Reg name addr bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
PADMOD PADMOD PADMOD PADMOD PADMOD PADMOD
OPTION OPTION
XBANK
PADMOD (w) : Pad mode control registers. (All are "0" in Chip Reset)
DA13E = 1 pin “P2.7/DA13” is DA13. DA12E = 1 pin “P2.6/DA12” is DA12. DA11E = 1 pin “P2.5/DA11” is DA11. DA10E = 1 pin “P2.4/DA10” is DA10.
AD3E = 1 pin “P2.3/AD3” is AD3. AD2E = 1 pin “P2.2/AD2” is AD2. AD1E = 1 pin “P2.1/AD1” is AD1. AD0E = 1 pin “P2.0/AD0” is AD0. P56E = 1 pin “DA6/P5.6” is P5.6. P55E = 1 pin “DA5/P5.5” is P5.5.
P54E = 1 pin “DA4/P5.4” is P5.4. P53E = 1 pin “DA3/P5.3” is P5.3. P52E = 1 pin “DA2/P5.2” is P5.2. P51E = 1 pin “DA1/P5.1” is P5.1. P50E = 1 pin “DA0/P5.0” is P5.0. HIICE = 1 pin “HSCL/P3.0/Rxd” is HSCL; pin “HSDA/P3.1/Txd” is HSDA.
IIICE = 1 pin “ISDA/P3.4/T0” is ISDA; pin “ISCL/P3.5/T1” is ISCL. HLFVE = 1 → pin “DA9/HALFV” is VSYNC half frequency output.
30h (w) DA13E DA12E DA11E DA10E AD3E AD2E AD1E AD0E 31h (w) P56E P55E P54E P53E P52E P51E P50E 32h (w) HIICE IIICE HLFVE HLFHE HCLPE P42E P41E P40E 3Ah (w) COP17 COP16 COP15 COP14 COP13 COP12 COP11 COP10 3Bh (w) COP27 COP26 COP25 COP24 COP23 COP22 COP21 COP20
3Ch (w) COP56 COP55 COP54 COP53
33h (w) 34h (w) SlvAbs1 SlvAbs0
35h (r/w) Xbnk2 Xbnk1 Xbnk0
= 0 pin “P2.7/DA13” is P2.7. = 0 pin “P2.6/DA12” is P2.6. = 0 pin “P2.5/DA11” is P2.5.
= 0 pin “P2.4/DA10” is P2.4. = 0 pin “P2.3/AD3” is P2.3. = 0 pin “P2.2/AD2” is P2.2. = 0 pin “P2.1/AD1” is P2.1. = 0 pin “P2.0/AD0” is P2.0. = 0 pin “DA6/P5.6” is DA6.
= 0 pin “DA5/P5.5” is DA5. = 0 pin “DA4/P5.4” is DA4. = 0 pin “DA3/P5.3” is DA3. = 0 pin “DA2/P5.2” is DA2. = 0 pin “DA1/P5.1” is DA1. = 0 pin “DA0/P5.0” is DA0.
= 0 pin “HSCL/P3.0/Rxd” is P3.0/Rxd; pin “HSDA/P3.1/Txd” is P3.1/Txd. = 0 pin “ISDA/P3.4/T0” is P3.4/T0; pin “ISCL/P3.5/T1” is P3.5/T1.
DIV253 FclkE IICpass ENSCL Msel MIICF1 MIICF0
(Rev 1.1)
Revision 1.1 - 7 - 2000/07/04
MYSON
is HSYNC half frequency output.
is HSYNC clamp pulse output.
is open drain I/O or CMOS PWM DAC.
is open drain I/O or CMOS PWM DAC. is open drain I/O or CMOS PWM DAC. is open drain I/O or CMOS PWM DAC.
MTV212M32
TECHNOLOGY
= 0 pin “DA9/HALFV” is DA9.
HLFHE = 1 pin “DA8/HALFH”
= 0 pin “DA8/HALFH” is DA8.
HCLPE = 1 pin “DA7/HCLAMP”
= 0 pin “DA7/HCLAMP” is DA7.
P42E = 1 pin “STOUT/P4.2” is P4.2.
= 0 pin “STOUT/P4.2” is STOUT.
P41E = 1 pin “HBLANK/P4.1” is P4.1.
= 0 pin “HBLANK/P4.1” is HBLANK.
P40E = 1 pin “VBLANK/P4.0” is P4.0.
= 0 pin “VBLANK/P4.0” is VBLANK.
COP17 = 1 pin “P1.7” is CMOS Output.
= 0 pin “P1.7” is 8051 standard I/O.
COP16 = 1 pin “P1.6” is CMOS Output.
= 0 pin “P1.6” is 8051 standard I/O.
COP15 = 1 pin “P1.5” is CMOS Output.
= 0 pin “P1.5” is 8051 standard I/O.
COP14 = 1 pin “P1.4” is CMOS Output.
= 0 pin “P1.4” is 8051 standard I/O.
COP13 = 1 pin “P1.3” is CMOS Output.
= 0 pin “P1.3” is 8051 standard I/O.
COP12 = 1 pin “P1.2” is CMOS Output.
= 0 pin “P1.2” is 8051 standard I/O.
COP11 = 1 pin “P1.1” is CMOS Output.
= 0 pin “P1.1” is 8051 standard I/O.
COP10 = 1 pin “P1.0” is CMOS Output.
= 0 pin “P1.0” is 8051 standard I/O.
COP27 = 1 pin “P2.7/DA13” is CMOS data Output.
= 0 pin “P2.7/DA13” is 8051 standard I/O or CMOS PWM DAC Output.
COP26 = 1 pin “P2.6/DA12” is CMOS data Output.
= 0 pin “P2.6/DA12” is 8051 standard I/O or CMOS PWM DAC Output.
COP25 = 1 pin “P2.5/DA11” is CMOS data Output.
= 0 pin “P2.5/DA11” is 8051 standard I/O or CMOS PWM DAC Output.
COP24 = 1 pin “P2.4/DA10” is CMOS data Output.
= 0 pin “P2.4/DA10” is 8051 standard I/O or CMOS PWM DAC Output.
COP23 = 1 pin “P2.3/AD3” is CMOS data Output.
= 0 pin “P2.3/AD3” is 8051 standard I/O or ADC Input.
COP22 = 1 pin “P2.2/AD2” is CMOS data Output.
= 0 pin “P2.2/AD2” is 8051 standard I/O or ADC Input.
COP21 = 1 pin “P2.1/AD1” is CMOS data Output.
= 0 pin “P2.1/AD1” is 8051 standard I/O or ADC Input.
COP20 = 1 pin “P2.0/AD0” is CMOS data Output.
= 0 pin “P2.0/AD0” is 8051 standard I/O or ADC Input.
COP56 = 1 pin “DA6/P5.6” is CMOS data Output.
= 0 pin “DA6/P5.6”
COP55 = 1 pin “DA5/P5.5” is CMOS data Output.
= 0 pin “DA5/P5.5”
COP54 = 1 pin “DA4/P5.4” is CMOS data Output.
= 0 pin “DA4/P5.4”
COP53 = 1 pin “DA3/P5.3” is CMOS data Output.
= 0 pin “DA3/P5.3”
(Rev 1.1)
Revision 1.1 - 8 - 2000/07/04
Loading...
+ 18 hidden pages