applications. It includes an 8051 CPU core, 1024-byte SRAM, OSD controller, 4 built-in PWM DACs, VESA
DDC interface, 4-channel A/D converter, a 64K-byte internal program Flash-ROM an d a 9K-word internal
CONTROL
INTERFACE
AD0-3
DA0-3
P0.0-7
P2.0-3
P0.0-7
P2.0-3
P1.0-7
P3.0-2
P3.4-5
P4.0-7
P5.0-7
CONTROL
MTV230M
TECHNOLOGY
(Rev 1.0)
8051 Embedded LCD Monitor Controller
with Flash OSD
FEATURES
•8051 core, 12MHz operating frequency with double CPU clock option, 3.3V power supply.
•
•Maximum 4 channels of 5V open-drain PWM DAC.
•Maximum 32 bi-directional I/O pins.
•SYNC processor for composite separation/insertion, H/V polarity/frequency check and polarity adjustment.
•Built-in low power reset circuit.
•Compliant with VESA DDC2B/2Bi/2B+ standard.
•Dual slave IIC addresses.
•Single master IIC interface for internal device communication.
•Maximum 4-channel 6-bit ADC.
•Watchdog timer with programmable interval.
•OSD controller features:
. Full-screen display consists of 15 (rows) by 30 (columns) characters.
. Programmable OSD menu positioning for display screen center.
. 512 Flash-ROM fonts, with 12x18 dot matrix, including 480 standard fonts and 32 multi-color fonts.
.
. Character bordering, shadowing and blinking effect.
. Character height control (18 to 71 lines), double height and/or width control.
. 4 programmable windows with multi-level operation and programmable shadowing width/height/color.
•
•42-pin SDIP or 44-pin PLCC/QFP package.
program Flash-ROM.
GENERAL DESCRIPTIONS
The MTV230M micro-controller is an 8051 CPU core embedded device specially tailored to LCD Monitor
OSD character Flash-ROM.
BL OCK DIAGRAM
OSDHS
OSDVS
XIN
ROUT
GOUT
BOUT
FBKG
INT
HSYNC
VSYNC
HBLANK
VBLANK
ISCL
ISDA
HSCL
HSDA
RST
X1
X2
8051
CORE
RD
WR
ALE
INT1
RD
WR
ALE
INT1
PWM DAC
XFR
ADC
OSD
H/VSYNC
DDC & IIC
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.
A “CMOS pin” can be used as Input or Output mode. To use these pins as output mode, S/W needs to set
the corresponding output enable control bit “Pxxoe” to 1. Otherwise, the “Pxxoe” should clear to 0. In Output
mode, these pins can sink and drive at least 4mA current.
A “5V open drain pin” means it can sink at least 4mA current but no drive current 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 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 a high level. It can be used as input or output function. It needs an external pull up resistor when
O41/39 OSD intensity output / General purpose output (CMOS)
O42/40 OSD fast blanking output (CMOS)
O43/41 OSD blue color video signal output (CMOS)
O44/42 OSD green color video signal output (CMOS)
O1OSD red color video signal output (CMOS)
fetches its program code from the 64K bytes Flash in MTV230M. It uses Port0 and Port2 to access the
2. Memory Allo catio n
2.4 Auxiliary RAM (AUXRAM)
MTV230M
TECHNOLOGY
1. 8051 CPU Core
(Rev 1.0)
The CPU core of MTV230M is compatible with the industry standard 8051, which incl udes 256 bytes RAM,
Special Function Registers (SFR), two timers, five interrupt sources and serial interface. The CPU core
“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 MTV230M, 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.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 MTV230M, 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 OSD control or other special function. Program can use "MOVX" instruction to access these
registers.
There are total 768 bytes auxiliary RAM allocated in the 8051 external RAM area 800h - AFFh. Program can
use "MOVX" instruction to access the AUXRAM.
FFh
Internal RAM
Accessible by
addressing only
MOV A,@Ri
instruction)
80h
7Fh
Internal RAM
Accessible by
direct and indirect
addressing
indirect
(Using
SFR
Accessible by
direct addressing
FFFh
F00h
AFFh
XFR
Accessible by
indirect external
RAM addressing
(Using MOVX
instruction)
AUXRAM
Accessible by
indirect external
RAM addressing
(Using MOVX
instruction
00h
800h
Revision 1.0 - 5 - 2000/11/15
MYSON
PWMF
MTV230M
TECHNOLOGY
3. Chip Configu ratio n
The Chip Configuration registers define the chip pins function, as well as the connection, configuration and
frequency of the functional block.
Reg nameaddrbi t7bit6bit5Bit4bit 3b it2bit1bit0
PADMOD
PADMOD
PADMOD
PADMOD
OPTION
PADMOD (w) : Pad mode control registers. (All are "0" in Chip Reset)
HIICE = 1→ pin “P3.0/Rxd/HSCL” is HSCL; pin “P3.1/Txd/HSDA” is HSDA.
IIICE= 1→ pin “P6.1/ISDA” is ISDA; pin “P6.0/ISCL” is ISCL.
HVE= 1→ pin “P4.7/VBLANK” is VBLANK; pin “P4.6/HBLANK” is HBLANK.
HclpE = 1→ pin “P4.5/HCLAMP” is HCLAMP.
FclkE= 1→ CPU is running at double rate.
P62E= 1→ pin “INT/P6.2” is P6.2.
DA3E = 1→ pin “P5.7/DA3” is DA3.
DA2E = 1→ pin “P5.6/DA2” is DA2.
DA1E = 1→ pin “P5.5/DA1” is DA1.
DA0E = 1→ pin “P5.4/DA0” is DA0.
AD3E = 1→ pin “P5.3/AD3” is AD3.
AD2E = 1→ pin “P5.2/AD2” is AD2.
AD1E = 1→ pin “P5.1/AD1” is AD1.
AD0E = 1→ pin “P5.0/AD0” is AD0.
P47oe = 1→ P4.7 is output pin.
P46oe = 1→ P4.6 is output pin.
P45oe = 1→ P4.5 is output pin.
P44oe = 1→ P4.4 is output pin.
P43oe = 1→ P4.3 is output pin.
P42oe = 1→ P4.2 is output pin.
= 0→ pin “P3.0/Rxd/HSCL” is P3.0/Rxd; pin “P3.1/Txd/HSDA” is P3.1/Txd.
= 0→ pin “P6.1/ISDA” is P6.1; pin “P6.0/ISCL” is P6.0.
= 0→ pin “P4.7/VBLANK” is P4.7; pin “P4.6/HBLANK” is P4.6.
= 0→ pin “P4.5/HCLAMP” is P4.5.
= 0→ CPU is running at normal rate.
= 0→ pin “INT/P6.2” is INT.
= 0→ pin “P5.7/DA3” is P5.7.
= 0→ pin “P5.6/DA2” is P5.6.
= 0→ pin “P5.5/DA1” is P5.5.
= 0→ pin “P5.4/DA0” is P5.4.
= 0→ pin “P5.3/AD3” is P5.3.
= 0→ pin “P5.2/AD2” is P5.2.
= 0→ pin “P5.1/AD1” is P5.1.
= 0→ pin “P5.0/AD0” is P5.0.
= 0→ P4.7 is input pin.
= 0→ P4.6 is input pin.
= 0→ P4.5 is input pin.
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. The behavior of Port3 is the same as standard 8051.
4.3 Port4, Port5 and Port6
Port4 and Port5 are used as general purpose I/O. S/W needs to set the corresponding P4(n)
Revision 1.0 - 7 - 2000/11/15
oe
MYSON
to define whether these pins are input or output. Port6 is purely output.
Each PWM DAC output pulse width of the converter is controlled by an 8-bit register in XFR. The frequency
of PWM clock is 47KHz or 94KHz, selected by PWMF. And the total duty cycle step of these DAC outputs is
Pulse width of PWM DAC 0
Pulse width of PWM DAC 1
Pulse width of PWM DAC 2
Pulse width of PWM DAC 3
* All of PWM DAC converters are centered with value 80h after power on.
PORT4 (r/w) :Port 4 data input/output value.
PORT5 (r/w) :Port 5 data input/output value.
PORT6 (w) :Port 6 data output value.
5. PWM DAC
253 or 256, selected by DIV253. If DIV253=1, writing FDH/FEH/FFH to DAC reg ister ge nerates stable high
output. If DIV253=0, the output will pulse low at least once even if content of the DAC reg ister is FFH. Writing
00H to DAC register generates stable low output.
Reg nameaddrbi t7bit6bit5b it4bit3bit 2bi t1bit0
DA0
DA1
DA2
DA3
DA0-3 (r/w) : The output pulse width control for DA0-3.
F20h (r/w)
F21h (r/w)
F22h (r/w)
F23h (r/w)
Revision 1.0 - 8 - 2000/11/15
MYSON
inputs presence check, frequency counting, polarity detection and H/V output polarity control. The present
CVpre flag is set and users can select the extracted "CVSYNC" for the source of polarity check,
6.2 H/V Frequency Counter
VSYNC/CVSYNC is present or continuously updated when VSYNC/CVS YNC is non-present. The 12 bits
Hpol
CVpre
Vbpl
VSYNC
Vpre
Vfreq
Vpol
VBLANK
HSYNC
CVSYNC
Hpre
Hfreq
Hbpl
HBLANK
XOR
MTV230M
TECHNOLOGY
(Rev 1.0)
6. H/V SYNC Processing
The H/V SYNC processing block performs the functions of composite signal separation /insertion, SYNC
and frequency function block treat any pulse shorter than one OSC period as noise.
Digital Filter
Present
Check
Polarity Check &
Freq. Count
Present
Check
XOR
XOR
Digital Filter
Polarity Check &
Sync Seperator
Present Check &
Freq. Count
Composite
Pulse Insert
XOR
H/V SYNC Processor Block Diagram
6.1 Composite SYNC Separation/Insertion
The MTV230M continuously monitors the input HSYNC, if the vertical SYNC pulse can be extracted from the
input, a
frequency count, and VBLANK output. The CVSYNC will have 8us delay compared to the original signal.
The MTV230M can also insert pulse to HBLANK output during com posite active time of VSYNC. The width
of the insert pulse is 1/8 HSYNC period and the insertion frequency can adapt to original HSYNC. The insert
pulse of HBLANK can be disabled or enabled by setting “NoHins” control bit.
MTV230M can discriminate HSYNC/VSYNC frequency and saves the information in XFRs. The 14 bits
Hcounter counts the time of 64xHSYNC period, then loads the result into the HCNTH/HCNTL latch. The
output value will be [(128000000/H-Freq) - 1], updated once per VSYNC/CVSYNC perio d when
Vcounter counts the time between two VSYNC pulses, then loads the result into the VCNTH/VCNTL latch.
The output value will be (62500/V-Freq), updated every VSYNC/CVSYNC perio d. An extra overflow bit
indicates the condition of H/V counter overflow. The VFchg/HFchg interrupt is set when VCNT/HCNT value
changes or overflowes. Table 6.2.1 and table 6.2.2 show the HCNT/VCNT value under the operations of
12MHz.
Revision 1.0 - 9 - 2000/11/15
MYSON
CVpre flag interrupt may be disabled when S/W disables the composite function.
6.4 H/V Polarity Detect
The polarity functions detect the input HSYNC/VSYNC high and low pulse duty cycle. If the high pulse
duration is longer than that of the low pulse, the negative polarity is asserted; otherwise, positive polarity is
6.5 Output HBLANK/VBLANK Control and Polarity Adjust
mux selection and output polarity are S/W controllable.
flag is set each time when MTV230M detects a VSYNC pulse. The flag is cleared by S /W writing a "0".
6.3 H/V Present Check
The Hpresent function checks the input HSYNC pulse, Hpre flag is set when HSYNC is over 10KHz or
cleared when HSYNC is under 10Hz. The Vpresent function checks the input VSYNC pulse, the Vpre flag is
set when VSYNC is over 40Hz or cleared when VSYNC is under 10Hz. The HPRchg interrupt is set when
the Hpre value changes. The VPRchg interrupt is set when the Vpre/CVpre value changes. However, the
asserted. The HPLchg interrupt is set when the Hpol value changes. The VPLchg interrupt is set when the
Vpol value changes.
The HBLANK is the mux output of HSYNC and composite Hpulse. The VBLANK is the mux output of
VSYNC and CVSYNC. The
6.6 VSYNC Interrupt
The MTV230M checks the VSYNC input pulse and generates an interrupt at its leading edge. The VSYNC
Revision 1.0 - 10 - 2000/11/15
Loading...
+ 21 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.