•8051 core, 12MHz operating frequency with double CPU clock option
•0.35uM process; 5V/3.3V power supply and I/O; 3.3V core operating
•1024-byte RAM; 64K-byte program Flash-ROM support In System Programming (ISP)
•Maximum 14 channels of PWM DAC
•Maximum 31 I/O pins
•SYNC processor for composite separation/insertion, H/V polarity/frequency check and polarity adjustment
•Built-in low power reset circuit
•Built-in self-test pattern generator with four free-running timings
•Compliant with VESA DDC1/2B/2Bi/2B+ standard
•Dual slave IIC addresses; H/W auto transfer DDC1/DDC2x data
•Single master IIC interface for internal device communication
•Maximum 4-channel 6-bit ADC
•Watchdog timer with programmable interval
•Flash-ROM program code protection selection
•40-pin DIP, 42-pin SDIP or 44-pin PLCC package
GENERAL DESCRIPTIONS
The MTV312M micro-controller is an 8051 CPU core embedded device especially tailored for CRT/LCD
Monitor applications. It includes an 8051 CPU core, 1024-byte SRAM, 14 built-in PWM DACs, VESA DDC
interface, 4-channel A/D converter, and a 64K-byte internal program Flash-ROM.
BL OCK DIAGRAM
RD
WR
ALE
INT1
PWM DAC
XFR
ADC
HSYNC
VSYNC
HBLANK
VBLANK
ISCL
ISDA
HSCL
HSDA
RST
X1
X2
CORE
I/O
RD
WR
ALE
INT1
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 0.99 - 1 - 2001/07/26
MYSON
ISDA/P3.4/T0
ISCL/P3.5/T1
P6.2/AD2/HLFHI
P1.624P1.7
P6.1/AD1
P1.5
P6.0/AD0
HSDA/P3.1/Txd
P1.1
P3.2/INT0
P1.2
P1.3
P1.4
23222120282726
25
NC
6543214443424140
NC
VDD3
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
P6.2/AD2/HLFHI
P6.3/AD3
ISDA/P3.4/T0
ISCL/P3.5/T1
P6.2/AD2/HLFHI
MTV312M64
TECHNOLOGY
PIN CONNECTION
DA2/P5.2401
VDD3
VDD
VSS
X2
X1
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
MTV312M
40 Pin
PDIP
DA1/P5.1
DA0/P5.0
STOUT/P4.2
P3.2/INT0
VSYNC
39
HSYNC
38
DA3/P5.3
37
DA4/P5.4
36
DA5/P5.5
35
DA8/HLFHO
34
DA9/HALFV
33
HBLANK/P4.1
32
VBLANK/P4.0
31
DA7/HCLAMP
30
DA6/P5.6
29
RST
28
P6.6/DA12
27
P6.5/DA11
26
P6.4/DA10
25
HSCL/P3.0/Rxd
24
HSDA/P3.1/Txd
23
P6.0/AD0
22
P6.1/AD1
21
P1.7
DA2/P5.2401
DA1/P5.1
DA0/P5.0
VDD3
NC
NC
RST
VDD
VSS
X2
X1
STOUT/P4.2
P1.0
P1.1
P3.2/INT0
P1.2
P1.3
P1.4
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
MTV312M
42 Pin
SDIP
(Rev 0.99)
VSYNC
42
HSYNC
41
DA3/P5.3
39
DA4/P5.4
38
DA5/P5.5
37
DA8/HLFHO
36
DA9/HALFV
35
HBLANK/P4.1
34
VBLANK/P4.0
33
DA7/HCLAMP
32
DA6/P5.6
31
P6.6/DA12
30
P6.5/DA11
29
P6.4/DA10
28
HSCL/P3.0/Rxd
27
HSDA/P3.1/Txd
26
P6.0/AD0
25
P6.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
MTV312M
44 Pin
PLCC
39
DA8/HLFHO
38
DA9/HALFV
37
HBLANK/P4.1
36
VBLANK/P4.0
35
DA7/HCLAMP
34
DA6/P5.6
33
P6.7/DA13
32
P6.6/DA12
31
P6.5/DA11
30
P6.4/DA10
29
HSCL/P3.0/Rxd
Revision 0.99 - 2 - 2001/07/26
MYSON
3.3V System
MTV312M64
TECHNOLOGY
(Rev 0.99)
PIN CONFIGURATION
A “CMOS output pin” means it can sink and drive at least 4mA current. It is not recommended to use such
pin as input function.
A “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 needs an external pull up resistor.
A “8051 standard pin” is a pseudo open drain pin. It can sink at least 4mA current when output is at low level,
and drives at least 4mA current for 160nS when output transits from low to high, then keeps driving at 100uA
to maintain the pin at high level. It can be used as input or output function. It needs an external pull up
resistor when driving heavy load device.
Output
Data
2 OSC
period
delay
4mA10uA
4mA
Input
Data
120uA
Pin
8051 Stand ard Pin
Output
Data
CMOS Outp u t Pin
4mA
4mA
Pin
Input
Data
Output
Data
Open Drain Pin
No Current
Pin
4mA
POWER CONFIGURATION
The MTV312M can work on 5V or 3.3V power supply system.
In 5V power system, the VDD pin is connected to 5V power and the VDD3 needs an external capacitor, all
output pins can swing from 0~5V, input pins can accept 0~5V input range. And ADC conversion range is 5V.
However, X1 and X2 pins must be kept below 3.3V.
In 3.3V power system, the VDD and VDD3 are connected to 3.3V power, all output pins swing from 0~3.3V,
HSYNC, VSYNC and open drain pin can accept 0~5V input range, other pins must be kept below 3.3V. And
the ADC conversion range is 3.3V.
--33I/OGeneral purpose I/O / PWM DAC output (CMOS)
323436OVertical blank (CMOS) / General purpose Output (CMOS)
333537OHorizontal blank (CMOS) / General purpose Output (CMOS)
111415OSelf-test video output (CMOS) / General purpose Output (CMOS)
394143IHorizontal SYNC or Composite SYNC Input
404244IVertical SYNC input
PIN NO.
(Rev 0.99)
TypeDescription
Revision 0.99 - 4 - 2001/07/26
MYSON
MTV312M64
TECHNOLOGY
(Rev 0.99)
FUNCTIONAL DESCRIPTIONS
1. 8051 CPU Core
The CPU core of MTV312M is compatible with the industry standard 8051, which includes 256 bytes RAM,
Special Function Registers (SFR), two timers, five interrupt sources and a serial interface. The CPU core
fetches its program code from the 64K bytes Flash in MTV312M. It uses Port0 and Port2 to access the
“external special function register” (XFR) and external auxiliary RAM (AUXRAM).
The CPU core can run at double rate when FclkE is set. Once the bit is set, the CPU runs as if a 24MHz
X’tal is applied on MTV312M, but the peripherals (IIC, DDC, H/V processor) still run at the original frequency.
Note: All registers listed in this document reside in 8051’s external RAM area (XFR). For internal RAM
memory map, please refer to 8051 spec.
2. Memory Allo catio n
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 MTV312M, the 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 F00h - FFFh. These registers are
used for special functions. Programs can use "MOVX" instruction to access these registers .
2.4 Auxiliary RAM (AUXRAM)
There are total 512 bytes auxiliary RAM allocated in the 8051 external RAM area 800h - 9FFh. Programs
can use "MOVX" instruction to access the AUXRAM.
2.5 Dual Port RAM (DDCRAM)
There are 256 bytes Dual Port RAM allocated in the 8051 external RAM area E00h - EFFh. Programs can
use "MOVX" instruction to access the RAM. The external DDC1/2 Host can access the R AM as if a 24LC02
EEPROM is connected onto the interface.
FFh
Internal RAM
Accessible by
addressing only
80h
7Fh
Internal RAM
Accessible by
direct and indirect
indirect
(Using
MOV A,@Ri
instruction)
addressing
SFR
Accessible by
direct addressing
FFFh
F00h
XFR
Accessible by
indirect external
RAM addressing
(Using MOVX
instruction)
EFFh
E00h
9FFh
DDCRAM
Accessible by
indirect external
RAM addressing
(Using MOVX
instruction)
AUXRAM
Accessible by
indirect external
RAM addressing
(Using MOVX
instruction
00h
800h
Revision 0.99 - 5 - 2001/07/26
MYSON
PWMF
MTV312M64
TECHNOLOGY
3. Chip Configu ratio n
The Chip Configuration registers define configuration of the chip and function of the pins.
Reg nameaddrbit7bit6bit5Bit4bit3bit2bit1bit0
PADMOD
PADMOD
PADMOD
PADMOD
PADMOD
PADMOD
OPTION
PADMOD (w) : Pad mode control registers. (All are "0" in Chip Reset)
DA13E = 1→ Pin “P6.7/DA13” is DA13.
DA12E = 1→ Pin “P6.6/DA12” is DA12.
DA11E = 1→ Pin “P6.5/DA11” is DA11.
DA10E = 1→ Pin “P6.4/DA10” is DA10.
AD3E = 1→ Pin “P6.3/AD3” is AD3.
AD2E = 1→ Pin “P6.2/AD2” is AD2.
AD1E = 1→ Pin “P6.1/AD1” is AD1.
AD0E = 1→ Pin “P6.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.
HLFHE = 1→ Pin “DA8/HALFH” is HSYNC half frequency output.
4.1 Port1
Port1 is a group of pseudo open drain pins or CMOS output pins. It can be used as general purpose I/O.
Behavior of Port1 is the same as standard 8051.
4.2 P3.0-2, P3.4-5
If these pins are not set as IIC pins, Port3 can be used as general purpose I/O, interrupt, UART and Timer
pins. Behavior of Port3 is the same as standard 8051.
4.3 Port4, Port5 and Port6
Port5 and Port6 are used as general purpose I/O. S/W needs to set the corresponding P5(n)oe and P6(n)oe
to define whether these pins are input or output. Port4 is pure output.
PORT5 (r/w) : Port 4 data input/output value.
PORT6 (r/w) : Port 5 data input/output value.
PORT4 (w) :Port 6 data output value.
5. PWM DAC
Each output pulse width of PWM DAC converter is controlled by an 8-bit register in XFR. The frequency of
PWM clock is 47KHz or 94KHz, selected by PW MF. And the total duty cycle step of these DAC outputs is
253 or 256, selected by DIV253. If DIV253=1, writing FDH/FEH/FFH to DAC register generates stable high
output. If DIV253=0, the output pulses low at least once even if the DAC register's content is FFH. Writing
00H to DAC register generates stable low output.
Reg nameaddrbit7bit6bit5bit4bit3bit2bit1bit0
DA0
DA1
DA2
DA3
DA4
DA5
DA6
DA7
DA8
DA9
DA10
DA11
DA12
DA13
F20h(r/w)Pulse width of PWM DAC 0
F21h(r/w)Pulse width of PWM DAC 1
F22h(r/w)Pulse width of PWM DAC 2
F23h(r/w)Pulse width of PWM DAC 3
F24h(r/w)Pulse width of PWM DAC 4
F25h(r/w)Pulse width of PWM DAC 5
F26h(r/w)Pulse width of PWM DAC 6
F27h(r/w)Pulse width of PWM DAC 7
F28h(r/w)Pulse width of PWM DAC 8
F29h(r/w)Pulse width of PWM DAC 9
F2Ah(r/w)Pulse width of PWM DAC 10
F2Bh(r/w)Pulse width of PWM DAC 11
F2Ch(r/w)Pulse width of PWM DAC 12
F2Dh(r/w)Pulse width of PWM DAC 13
(Rev 0.99)
DA0-13 (r/w) : The output pulse width control for DA0-13.
* All of PWM DAC converters are centered with value 80h after power on.
6. H/V SYNC Processin g
The H/V SYNC processing block performs the functions of composite signal separation/insertion. SYNC
inputs presence check, frequency counting, polarity detection and control, as well as the protection of
VBLANK output while VSYNC speeds up in high DDC comm unication clock rate.
Based on the digital filter, the present and frequency function block treat any pulse shorter than one OSC
period (83.33ns) as noise, between one and two OSC period (83.33ns to 166.67ns) as unknown region, and
longer than two OSC period (166.67ns) as pulse.
Revision 0.99 - 9 - 2001/07/26
Loading...
+ 18 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.