The MTV112M micro-controller is an 8051 CPU core embedded device specially tailored to CRT monitor
24Cxx series EEPROM interface, A/D converter and a 32K bytes internal program Flash ROM.
MTV112M
TECHNOLOGY
(Rev 2.0)
8051 Embedded CRT Monitor Controller
Flash Version
FEATURES
l8051 core.
l384
l
l14-channels 5V open-drain PWM DAC, 10 dedicated channels and 4 channels shared with I/O pin.
l28 bi-direction I/O pin,12 dedicated pin,12 shared with DAC, 4 shared with DDC/IIC interface.
l3-output pin shared with H/V sync output and self test output pins.
lSYNC processor for composite separation, polarity and frequency check, and polarity adjustment.
lBuilt-in monitor self-test pattern generator.
lBuilt-in low power reset circuit.
lOne slave mode IIC interface and one master mode IIC interface.
lIIC interface for DDC1/DDC2B and EEPROM, only one EEPROM needed to store DDC1/DDC2B and
display mode information.
lDual 4-bit ADC or 4 channel 6-bit ADC.
lWatchdog timer with programmable interval.
l40-pin PDIP and 44-pin PLCC package.
GENERAL DESCRIPTION
applications. It includes an 8051 CPU core, 384-byte SRAM, 14 built-in PWM DACs, DDC1/DDC2B interface,
BL OCK DIAGRAM
STOUT
P1.0-7
X1
X2
P2.0-3
P3.0-P3.2
8051
CORE
P3.4
P0.0-7
RD
WR
INT
1
RST
P2.4-7
P0.0-7
XFR
RD
WR
WATCH-DOG
TIMER
RST
H / VSYNC
CONTROL
14 CHANNEL
PWM DAC
HSYNC
VSYNC
HBLANK
VBLANK
DA0-9
DA10-13
ADC
AD0
AD1
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.
O293033Self-test video output / General purpose output
O303234PWM DAC output / General purpose I/O (open-drain)
O313335PWM DAC output / General purpose I/O (open-drain)
O323436PWM DAC output / General purpose I/O (open-drain)
O333537PWM DAC output / General purpose I/O (open-drain)
O343638PWM DAC output / General purpose I/O (open-drain)
O353739PWM DAC output / General purpose I/O (open-drain)
O363841PWM DAC output / General purpose I/O (open-drain)
O373942PWM DAC output / General purpose I/O (open-drain)
O384043PWM DAC output / General purpose I/O (open-drain)
O394144PWM DAC output / General purpose I/O (open-drain)
-40421Positive power supply
Des cript ion
Revision 2.0 - 3 - 2001/05/18
MYSON
1.1 PSEN, ALE, RD and WR pins are disabled. The external RAM access is restricted to
PADMOD
PADMOD
PADMOD
MTV112M
TECHNOLOGY
(Rev 2.0)
3.0 FUNCTIONAL DESCRIPTION
1. 8051 CPU Core
MTV112M includes all 8051 functions with the following exceptions:
XFRs within
MTV112M.
1.2 Port 0, port 3.3, and ports 3.5 ~ 3.7 are not general-purpose I/O ports. They are dedicated to monitor
control or DAC pins.
1.3 INT1 and T1 input pins are not provided.
1.4 Ports 2.4 ~ 2.7 are shared with DAC pins; ports 3.0 ~ 3.2, and port3.4 are shared with monitor control
pins.
In addition, there are 2 timers, 5 interrupt sources and a serial interface compatible with the standard 8051.
The Txd/Rxd (P3.0/P3.1) pins are shared with DDC interface. INT0/T0 pins are shared with IIC interface. An
extra option can be used to switch the INT0 source from P3.2 to P2.0. This feature maintains an external
interrupt source when IIC interface is enabled.
Note: All regis t ers li st ed in th i s do c um ent resid e in the external RAM area (XFR). For the intern al
P57E = 1 → Pin #32 is P5.7.
= 0→ Pin #32 is DA7.
P56E = 1 → Pin #33 is P5.6.
= 0→ Pin #33 is DA6.
P55E = 1 → Pin #34 is P5.5.
= 0→ Pin #34 is DA5.
P54E = 1 → Pin #35 is P5.4.
= 0→ Pin #35 is DA4.
P53E = 1 → Pin #36 is P5.3.
= 0→ Pin #36 is DA3.
P52E = 1 → Pin #37 is P5.2.
Revision 2.0 - 4 - 2001/05/18
MYSON
controlled by (MCLK1,MCLK0) bits.
Memory Allocation
256 bytes, accessible by
pulse width is controlled by an 8-bit register in XFR. The frequency of PWM
tal, selected by DACK. And the frequency of these DAC outputs is (PWM
clk frequency)/256, selected by DIV253. If DIV253=1, writing FDH/FEH/FFH to the DAC register
MTV112M
TECHNOLOGY
= 0→ Pin #37 is DA2.
P51E = 1 → Pin #38 is P5.1.
= 0→ Pin #38 is DA1.
P50E = 1 → Pin #39 is P5.0.
= 0→ Pin #39 is DA0.
MORE = 1 → Bits P57E,P56E,P55E,P54E,P53E,P52E,P51E,P50E,DACK,EHALFV,
EHALFH,ENCLP,ADCMOD can be programmed,and master IIC speed is
= 0→ above bits internal keep “0” by MTV112M, and master IIC speed is controlled by
IICF bit.
* SINT0 should be 0 in this case.
2.
2.1 Internal Special Function Registers (SFR)
SFR is a group of registers that is the same as standard 8051.
2.2 Internal RAM
There is a 384 bytes RAM in MTV112M. The first portion of the RAM area contains
setting PSW.1=0; the second portion of the RAM area contains 128 bytes, accessible by setting PSW.1=1.
(Rev 2.0)
2.3 External Special Function Registers (XFR)
XFR is a group of registers allocated in the 8051 external RAM area. Most of the registers are used for
monitor control or PWM DAC. The program can initialize Ri value and use "MOVX" instruction to access
these registers.
FFH
80H
7FH
00H
3. PWM DAC
Each D/A converter's output
is X’tal or 2 * X’
or (PWM
generates stable high output. If DIV253=0, the output will pulse low at least once even if the DAC register's
content is FFH. Writing 00H to the DAC register generates stable low output.
Accessible by indirect
addressing only.
The value of PSW.1 =
both 0 and 1.
(Using MOV A, @Ri
instruction)
Accessible by direct
and indirect
addressing.
PSW.1=0
Accessible by direct
Accessible by direct
SFR
addressing.
and indirect
addressing.
PSW.1 =1
FFH
00H
XFR
Accessible by indirect
external RAM
addressing.
(Using MOVX A, @Ri
Instruction.)
clk frequency)/253
clk
reg name
DA0
DA1
Revision 2.0 - 5 - 2001/05/18
addrbit7bit6bit5bit4bit3bit2bit1bit0
20h (r/w) DA0
21h (r/w)
DA1
b7
b7
DA0
DA1
b6
b6
DA0
DA1
b5
b5
DA0
DA1
b4
b4
DA0
DA1
b3
b3
DA0
DA1
b2
b2
DA0
DA1
b1
b1
DA0
DA1
b0
b0
MYSON
WCLR
WDT2
WDT1
WDT0
Watchdog timer & special control bit.
The PWM DAC outputs frequency is (PWM
The PWM DAC output frequency is
tal frequency).
output while VSYNC speeds up to a high DDC communication clock rate. T he present and frequency
DA0 (r/w) :The output pulse width control for DA0.
DA1 (r/w) :The output pulse width control for DA1.
DA2 (r/w) :The output pulse width control for DA2.
DA3 (r/w) :The output pulse width control for DA3.
DA4 (r/w) :The output pulse width control for DA4.
DA5 (r/w) :The output pulse width control for DA5.
DA6 (r/w) :The output pulse width control for DA6.
DA7 (r/w) :The output pulse width control for DA7.
DA8 (r/w) :The output pulse width control for DA8.
DA9 (r/w) :The output pulse width control for DA9.
DA10 (r/w) :The output pulse width control for DA10.
DA11 (r/w) :The output pulse width control for DA11.
DA12 (r/w) :The output pulse width control for DA12.
DA13 (r/w) :The output pulse width control for DA13.
WDT (w) :
DIV253 = 1→
= 0→
= 0→ The PWM clk frequency is (X’tal frequency).
*1. All D/A converters are centered with value 80h after power-on.
4. H/V SYNC Processing
The H/V SYNC processing block performs the functions of composite signal separation , SYNC input
presence check, frequency counting, and polarity detection and control, as well as the protection of VBLANK
function block treat any pulse less than one OSC period as noise.
4.1 Composite SYNC Separation
MTV112M continuously monitors the input HSYNC. If the vertical SYNC pulse can be extracted from the
input, a CVpre flag is set and the user can select the extracted "CVSYNC" for the source of polari ty check,
frequency count and VBLANK. The CVSYNC will have a 10-16 us delay compared to the original signal. The
delay depends on the OSC frequency and composite mix method.
MTV112M can discriminate HSYNC/VSYNC frequency and saves the information in XFRs. The 15-bit
Hcounter counts the time of the 64xHSYNC period, but only 11 upper bits are loaded into the
Revision 2.0 - 6 - 2001/05/18
Loading...
+ 14 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.