ETC WT6160-S44

Weltrend Semiconductor, Inc.
WT6148/WT6160
Digital Monitor Controller
(ROM Type)
Preliminary Data Sheet
REV. 1.02
Sep. 4, 02
The information in this document is subject to change without notice.
 Weltrend Semiconductor, Inc. All Rights Reserved.
WT6148/WT6160v1.02
Digital Monitor Controller
GENERAL DESCRIPTION
The WT6148/ WT6160 is a microcontroller for digital controlled monitor. It contains an 8-bit CPU, 48K
/60K bytes ROM, 1056 bytes RAM, 14 PWMs, parallel I/Os, SYNC signal processor, timer, DDC1/2B
interface, master/slave I2C interface, 6-bit A/D converter and watch-dog timer.
FEATURES
• 8-bit 6502 compatible CPU with 6MHz operating frequency
• WT6148 : 48K bytes ROM,
WT6160 : 60K bytes ROM,
,1024 bytes SRAM+32 bytes bit addressable SRAM
• 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 85Hz@1600x1200)
• Self-test pattern
• DDC1/2B module for EDID1.3, EDID2.0 and Enhance EDID
• Fast mode master/slave I2C 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 VDD reset
ORDERING INFORMATION
Package Type
Part Number
42-pin PDIP
WT6148/ WT6160-N42
42-pin Shrink PDIP
WT6148/ WT6160-K42
40-pin PDIP
WT6148/ WT6160-N40
44-pin SOP
WT6148/ WT6160-S44
44-pin PLCC
WT6148/ WT6160-L44
Weltrend Semiconductor, Inc.
Page 2
WT6148/WT6160v1.02
Digital Monitor Controller
PIN ASSIGNMENT AND PACKAGE TYPE
42-pin SPDIP
40-pin PDIP
1
42
PWM2
2
41
VIN
PWM2
1
40
VIN
PWM1
3
40
HIN
PWM1
2
39
HIN
PWM0
4
39
PWM3
PWM0
3
38
PWM3
RESET/3V3
5
38
PD5/PWM4
RESET/3V3
4
37
PD5/PWM4
VDD
6
37
PD4/PWM5
VDD
5
36
PD4/PWM5
GND
7
36
PD3/PWM6
GND
6
35
PD3/PWM6
OSCO
8
35
PD2/PWM7
OSCO
7
34
PD2/PWM7
OSCI
9
34
PD1/HOUT
OSCI
8
33
PD1/HOUT
PB5/SDA2
10
33
PD0/VOUT
PB5/SDA2
9
32
PD0/VOUT
PB4/SCL2
11
32
PA7/PWM13/CLAMP
PB4/SCL2
10
31
PA7/PWM13/CLAMP
PB3/PAT
12
31
PA6/PWM12
PB3/PAT
11
30
PA6/PWM12
PB2
13
30
PA5/PWM11
PB2
12
29
PA5/PWM11
PB1/HFI
14
29
PA4/PWM10
PB1/HFI
13
28
PA4/PWM10
PB0/HFO
15
28
PA3/PWM9
PB0/HFO
14
27
PA3/PWM9
IRQ
16
27
PA2/PWM8
IRQ
15
26
PA2/PWM8
PC7/SOGIN
17
26
PA1/SCL1
PC7/SOGIN
16
25
PA1/SCL1
PC6
18
25
PA0/SDA1
PC6
17
24
PA0/SDA1
PC5
19
24
PC0/AD0
PC5
18
23
PC0/AD0
PC4
20
23
PC1/AD1
PC4
19
22
PC1/AD1
PC3/AD3
21
22
PC2/AD2
PC3/AD3
20
21
PC2/AD2
RESET/3V3
PWM0
PWM1
PWM2
4
3
2
44-pin SOP
5
WT6148-K42
WT6160-K42
WT6148-N40
WT6160-N40
44-pin PLCC
5
40
PD5/PWM4
VDD
7
39
PD5/PWM4
VDD
6
39
PD4/PWM5
GND
8
38
PD4/PWM5
7
38
OSCO
9
37
PD3/PWM6
GND
8
37
PD3/PWM6
OSCI
10
36
PD2/PWM7
OSCO
9
36
PD2/PWM7
PB5/SDA2
11
35
PD1/HOUT
OSCI
10
35
PD1/HOUT
PB4/SCL2
12
34
PD0/VOUT
PB5/SDA2
11
34
PD0/VOUT
PB3/PAT
13
33
PA7/PWM13/CLAMP
PB4/SCL2
12
33
PA7/PWM13/CLAMP
PB2
14
32
PA6/PWM12
PB3/PAT
13
32
PA6/PWM12
PB1/HFI
15
31
PA5/PWM11
PB2
14
31
PA5/PWM11
PB0/HFO
16
30
PA4/PWM10
PB1/HFI
15
30
PA4/PWM10
IRQ
17
29
PA3/PWM9
PB0/HFO
16
29
PA3/PWM9
Weltrend Semiconductor, Inc.
Page 3
26
27
28
PA1/SCL1
PA2/PWM8
PC2/AD2
PA0/SDA1
23
25
22
24
PC1/AD1
PC3/AD3
PC0/AD0
24
PC1/AD1
21
23
PC0/AD0
PC4
PC2/AD2
25
22
20
PC3/AD3
PA0/SDA1
PC5
21
26
PC4
19
20
PA1/SCL1
PC6
PC5
PA2/PWM8
27
19
28
18
18
17
PC6
IRQ
PC7/SOGIN
WT6148-L44
WT6160-L44
PC7/SOGIN
WT6148-S44
WT6160-S44
PWM3
PWM3
RESET/3V3
HIN
41
40
4
VIN
HIN
PWM0
41
VIN
42
42
43
3
43
2
PWM1
44
PWM2
1
44
6
1
WT6148/WT6160v1.02
Digital Monitor Controller
PIN DESCRIPTION
Pin No.
L44 S44 42
40
Pin Name
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
NC
PWM2
PWM1
PWM0
/RESET
NC
VDD
NC
GND
OSCO
OSCI
PB5/ SDA2
PB4/ SCL2
PB3/PAT
PB2
PB1/HFI
PB0/HFO
/IRQ
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
6
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
34
35
36
37
38
39
40
41
42
34
35
36
37
38
39
40
41
42
43
33
34
35
36
37
38
39
40
41
32
33
34
35
36
37
38
39
40
PC7/SOGIN
PC6
PC5
PC4
PC3/AD3
PC2/AD2
PC1/AD1
PC0/AD0
PA0/SDA1
PA1/SCL1
PA2/PWM8
PA3/PWM9
PA4/PWM10
PA5/PWM11
PA6/PWM12
PA7/PWM13/
CLAMP
PD0/VOUT
PD1/HOUT
PD2/PWM7
PD3/PWM6
NC
PD4/PWM5
PD5/PWM4
PWM3
HIN
VIN
I/O
O
O
O
I
I/O
I
I/O
I/O
I/O
I/O
I/O
I/O
I
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
Description
No Connection.
PWM2 output (10V open-drain).
PWM1 output (5V open-drain).
PWM0 output (5V open-drain).
Reset input
No Connection.
+5V power supply.
No Connection.
Ground.
12MHz oscillator output.
12MHz oscillator input.
Port B5 or I2C interface data line.
Port B4 or I2C interface clock line.
Port B3 or test pattern output
Port B2.
Port B1 or half frequency divider input.
Port B0 or half frequency divider output.
Interrupt request input. A low level on this can generate
interrupt.
Port C7 or Sync on Green input.
Port C6.
Port C5.
Port C4.
Port C3 or ADC input 3.
Port C2 or ADC input 2.
Port C1 or ADC input 1.
Port C0 or ADC input 0.
Port A0 or DDC interface SDA pin.
Port A1 or DDC interface SCL pin.
Port A2 or PWM8 output.
Port A3 or PWM9 output.
Port A4 or PWM10 output.
Port A5 or PWM11 output.
Port A6 or PWM12 output.
Port A7 or PWM13 output or clamp pulse output.
I/O
I/O
I/O
I/O
Port D0 or Vsync output.
Port D1 or Hsync output.
Port D2 or PWM7 output.
Port D3 or PWM6 output.
No Connection.
I/O Port D4 or PWM5 output.
I/O Port D5 or PWM4 output.
I/O PWM3 output (10V open-drain).
I Hsync Input.
I Vsync input.
Weltrend Semiconductor, Inc.
Page 4
WT6148/WT6160v1.02
Digital Monitor Controller
43
44
44
42
-
NC
NC
No Connection.
No Connection.
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
The 1024 bytes SRAM include :
128 bytes SRAM are from $0080H to $00FFH
256 bytes SRAM are from $0100H to $01FFH
256 bytes SRAM are from $0200H to $02FFH
256 bytes SRAM are from $0300H to $03FFH
128 bytes SRAM are from $0400H to $047FH
The 32 bytes SRAM bit addressible are from $0500H to $05FFH
ROM
For WT6148, ROM address is located from $4000h to $FFFFh.
For WT6160, ROM address is located from $1000h 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.
Weltrend Semiconductor, Inc.
Page 5