ChipFind - документация

Электронный компонент: WT6124

Скачать:  PDF   ZIP
WT6132/WT6124/WT6116
Data Sheet Rev. 1.01
Weltrend Semiconductor, Inc.
Page 2
GENERAL DESCRIPTION
The WT6132/WT6124/WT6116 is a microcontroller for digital controlled monitor with Universal Serial
Bus (USB) interface. It contains an 8-bit CPU, 32K/24K/16K bytes ROM, 512/384 bytes RAM, 14 PWMs,
parallel I/Os, SYNC signal processor, timer, DDC1/2B interface, master/slave I
2
C interface, low speed
USB device module, 6-bit A/D converter and watch-dog timer.
FEATURES
8-bit 6502 compatible CPU with 6MHz operating frequency
WT6132 - 32768 bytes ROM, 512 bytes RAM
WT6124 - 24576 bytes ROM, 512 bytes RAM
WT6116 - 16384 bytes ROM, 384 bytes RAM
12MHz crystal oscillator
14 channels 8-bit PWM outputs
Sync signal processor with H+V separation, H/V frequency counter, H/V polarity detection/control and
clamp pulse output
Six free-running sync signal outputs (Horizontal frequency up to 106KHz)
Self-test
pattern
DDC1/2B
supported
Fast mode master/slave I
2
C interface (up to 400KHz)
Watch-dog
timer
Maximum 28 programmable I/O pins
One 8-bit programmable timer
6-bit A/D converter with 4 selectable inputs
One external interrupt request input
Low
V
DD
reset
PIN CONFIGURATION
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
GND
HIN
OSCI
OSCO
PA0/SDA1
PA1/SCL1
PA2/PWM8
PA3/PWM9
PA4/PWM10
PA5/PWM11
PA6/PWM12
PA7/PWM13/CLAMP
PB0/HFO
PB1/HFI
PB2
PB3/PAT
PB4/SCL2
PB5/SDA2
PC0/AD0
PC1/AD1
PC2/AD2
PC3/AD3
PC4
PC5
PC6
PC7/SOGIN
PD0/VOUT
PD1/HOUT
PD2/PWM7
PD3/PWM6
PD4/PWM5
PD5/PWM4
PWM0
PWM1
PWM2
PWM3
VDD
VIN
IRQ
RESET
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
GND
HIN
OSCI
OSCO
PA0/SDA1
PA1/SCL1
PA2/PWM8
PA3/PWM9
PA4/PWM10
PA5/PWM11
PA6/PWM12
PA7/PWM13/CLAMP
PB0/HFO
PB1/HFI
PB2
PB3/PAT
PB4/SCL2
PB5/SDA2
PC0/AD0
PC1/AD1
PC2/AD2
PC3/AD3
PC4
PC5
PC6
PC7/SOGIN
PD0/VOUT
PD1/HOUT
PD2/PWM7
PD3/PWM6
PD4/PWM5
PD5/PWM4
PWM0
PWM1
PWM2
PWM3
VDD
VIN
IRQ
RESET
DIP 40-pin
Shrink DIP 42-pin
WT6132
WT6124
WT6116
WT6132
WT6124
WT6116
WT6132/WT6124/WT6116
Data Sheet Rev. 1.01
Weltrend Semiconductor, Inc.
Page 3
PIN DESCRIPTION
Pin No.
42
40
Pin Name
I/O
Description
1
-
NC
No connection.
2
1
PWM2
O
PWM2 output (10V open-drain).
3
2
PWM1
O
PWM1 output (5V open-drain).
4
3
PWM0
O
PWM0 output (5V open-drain).
5
4
/RESET
I
Reset input.
6
5
VDD
+5V power supply.
7
6
GND
Ground.
8
7
OSCO
I/O
12MHz oscillator output.
9
8
OSCI
I
12MHz oscillator input.
10
9
PB5/ SDA2
I/O
Port B5 or I
2
C interface data line.
11
10 PB4/ SCL2
I/O
Port B4 or I
2
C interface clock line.
12
11 PB3/PAT
I/O
Port B3 or test pattern output
13
12 PB2
I/O
Port B2.
14
13 PB1/HFI
I/O
Port B1 or half frequency divider input.
15
14 PB0/HFO
I/O
Port B0 or half frequency divider output.
16
15 /IRQ
I
Interrupt request input, A low level on this can generate interrupt.
17
16 PC7/SOGIN
I/O
Port C7 or Sync on Green input.
18
17 PC6
I/O
Port C6.
19
18 PC5
I/O
Port C5.
20
19 PC4
I/O
Port C4.
21
20 PC3/AD3
I/O
Port C3 or ADC input 3.
22
21 PC2/AD2
I/O
Port C2 or ADC input 2.
23
22 PC1/AD1
I/O
Port C1 or ADC input 1.
24
23 PC0/AD0
I/O
Port C0 or ADC input 0.
25
24 PA0/SDA1
I/O
Port A0 or DDC interface SDA pin.
26
25 PA1/SCL1
I/O
Port A1 or DDC interface SCL pin.
27
26 PA2/PWM8
I/O
Port A2 or PWM8 output.
28
27 PA3/PWM9
I/O
Port A3 or PWM9 output.
29
28 PA4/PWM10
I/O
Port A4 or PWM10 output.
30
29 PA5/PWM11
I/O
Port A5 or PWM11 output.
31
30 PA6/PWM12
I/O
Port A6 or PWM12 output.
32
31 PA7/PWM13/
CLAMP
I/O
Port A7 or PWM13 output or clamp pulse output.
33
32 PD0/VOUT
I/O
Port D0 or Vsync output.
34
33 PD1/HOUT
I/O
Port D1 or Hsync output.
35
34 PD2/PWM7
I/O
Port D2 or PWM7 output.
36
35 PD3/PWM6
I/O
Port D3 or PWM6 output.
37
36 PD4/PWM5
I/O
Port D4 or PWM5 output.
38
37 PD5/PWM4
I/O
Port D5 or PWM4 output.
39
38 PWM3
I/O
PWM3 output (10V open-drain).
40
39 HIN
I
Hsync Input.
41
40 VIN
I
Vsync input.
42
-
NC
No connection.
WT6132/WT6124/WT6116
Data Sheet Rev. 1.01
Weltrend Semiconductor, Inc.
Page 4
FUNCTIONAL DESCRIPTION
CPU
8-bit 6502 compatible CPU operates at 6MHz. Address bus is 16-bit and data bus is 8-bit.
The non-maskable interrupt (/NMI) of 6502 is modified to be maskable and is defined as INT0 with higher
priority. The interrupt request (/IRQ) of 6502 is defined as INT1 with lower priority.
Please refer the 6502 reference menu for more detail.
RAM
WT6132 and WT6124 have 512 bytes RAM. Address is located from $0080h to $00FFh and $0180h to
$02FFh.
WT6116 have 384 bytes RAM. Address is located from $0080h to $00FFh and $0180h to $027Fh.
ROM
For WT6132, ROM is located from $8000h to $FFFFh.
For WT6124, ROM is located from $A000h to $FFFFh.
For WT6116, ROM is located from $C000h to $FFFFh.
The following addresses are reserved for special purpose :
$FFFAh (low byte) and $FFFBh (high byte) : INT0 interrupt vector.
$FFFCh (low byte) and $FFFDh (high byte) : program reset interrupt vector.
$FFFEh (low byte) and $FFFFh (high byte) : INT1 interrupt vector.
$0000h
:
$003Fh
Registers
$0040h
:
$007Fh
Reserved
$0080h
:
$00FFh
128 bytes RAM
$0100h
:
$017Fh
Reserved
$0180h
:
$02FFh
384 bytes RAM
$0300h
:
$0FFFh
Reserved
$1000h
:
$7FFFh
Reserved
$8000h
:
:
:
$FFFFh
ROM
WT6132/WT6124/WT6116
Data Sheet Rev. 1.01
Weltrend Semiconductor, Inc.
Page 5
System Reset
There are four reset sources of this controller. Fig.1 shows the block diagram of reset logic.
Fig. 1 Reset Signals
External Reset
A low level on the RESET pin will generate reset.
Illegal address Reset
When the address bus of CPU goes to illegal address, a reset pulse will be generated.
The illegal address is defined as $0040h~$007Fh, $0300h~$0FFEh and $1000h~$7FFFh.
Low VDD Voltage Reset
When VDD is below 3.9V, an internal reset signal is generated. The reset signal will last 2.048 ms after
the voltage is higher than 3.9V.
Watchdog Timer Reset
If a time-out happens when watchdog timer is enabled, a reset pulse is generated. Please refer
watchdog timer section for more information.
!"
#$%
$ &
#'
WT6132/WT6124/WT6116
Data Sheet Rev. 1.01
Weltrend Semiconductor, Inc.
Page 6
I/O Port
I/O Port A
Pin PA0 and PA1 are shared with DDC interface SDA1 and SCL1 When ENDDC bit is "0", These two
pins becomes I/O port. If PA0OE bit is set, Pin PA0 is an open-drain output. If PA0OE is cleared, Pin
PA0 is an input pin with no internal pull-up resistor. The operation of PA1 is same as PA0. Fig. 2 Shows
the structure of PA0.
Fig.2 Structure of PA0 and PA1
Pin PA2 to PA6 are shared with PWM output. When corresponding EPWMx bit is "0", the pin is I/O port.
If PAxOE bit is set, it is a push-pull type output. If PAxOE bit is cleared, it is an input pin with internal
pull-up resistor.
Pin PA7 is shared with PWM13 output and clamp pulse output. When both EPWM13 bit and ENCLP bit
are "0", this pin becomes I/O port. If PA7OE bit is set, it is a push-pull type output. If PA7OE bit is cleared,
it is an input pin with internal pull-up resistor.
Fig.3 Structure of PA2
C
D
R
Q
QN
C
D
R
Q
QN
INTERNAL_DATA_BUS
DATA[0]
PA0OE
PA0
WRITE_PA_CTRL
RESET
DATA[0]
PA0
WRITE_PA_DATA
RESET
READ_PA_DATA
DATA[0]
C
D
R
Q
QN
C
D
R
Q
QN
INTERNAL_DATA_BUS
DATA[2]
PA2OE
WRITE_PA_CTRL
PA2
RESET
DATA[2]
PA2
WRITE_PA_DATA
RESET
READ_PA_DATA
DATA[2]