9397 750 12667 © Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data sheet Rev. 01 — 29 June 2004 7 of 21
Philips Semiconductors
SAF7167AHW
YUV-to-RGB digital-to-analog converter
For RGB 5:6:5 video inputs, the video data are just directly bypassed to triple DACs.
The input video data can be selected to either twos complement (I
2
C-bus bit DRP = 0) or
binary offset (I
2
C-bus bit DRP = 1). The video input format is selected by I
2
C-bus bits
FMTC[1:0].
The rising edge of HREF input defines the start of active video data. When HREF is
inactive, the video output will be blanked.
7.1.2 YUV-to-RGB matrix
The matrix converts YUV data, in accordance with ITU-R BT.601, to RGB data with
approximately 1.5 LSB deviation to the theoretical values for 8-bit resolution.
7.1.3 Triple 8-bit DACs
Three identical DACs for R, G and B video outputs are designed with voltage-drive
architecture to provide high-speed operation of up to 66 MHz conversion data rate. Pin
C_REF(H) is provided to allow for one external de-coupling capacitor to be connected
between the internal reference voltage source and ground.
7.2 Analog mixers and keying control
The analog mixers are controlled to switch between the outputs from the video DACs and
analog RGB inputs by a keying signal. The analog RGB inputs need to interface with
analog mixers in the way of DC-coupling, also these RGB inputs are limited to RGB
signals without a sync level pedestal. The keying control can be enabled by setting
I
2
C-bus bit KEN = 1. Two kinds of keying are possible to generate: one is external key
(from EXTKEY pin when KMOD[2:0] are all logic 0), and the other is the internal pixel
colour key (when KMOD[2:0] are not all logic 0) generated by comparing the input pixel
data with the internal I
2
C-bus register value KD[7:0]. Controlled by KMOD[2:0] bits, there
are 4 ways to compare the pixel data (see Table 8).
UV0 G4 G4 G4 G4
YUV7 G3 G3 G3 G3
YUV6 G2 G2 G2 G2
YUV5 G1 G1 G1 G1
YUV4 B4 B4 B4 B4
YUV3 B3 B3 B3 B3
YUV2 B2 B2 B2 B2
YUV1 B1 B1 B1 B1
YUV0 B0 B0 B0 B0
RGB data 0123
Table 7: Pixel byte sequence of 5:6:5
…continued
Input Pixel byte sequence of RGB 5:6:5
9397 750 12667 © Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data sheet Rev. 01 — 29 June 2004 8 of 21
Philips Semiconductors
SAF7167AHW
YUV-to-RGB digital-to-analog converter
Since only one control register KD[7:0] provides the data value for pixel data comparison,
when at 2 × 8-bit or 3 × 8-bit pixel input modes, it is presumed that all input bytes (lower,
middle or higher) of each pixel must be the same as KD[7:0] in order to make graphics
colour key active.
The polarity of EXTKEY can be selected with KINV. With KINV = 0, EXTKEY = HIGH
switches analog mixers to select DAC outputs. Before the internal keying signal switches
the analog multiplexers, it can be further delayed up to 7 PCLK cycles with the control bits
KDLY[2:0].
7.3 Voltage output amplifiers
Before the analog input enters the analog mixers, it passes through voltage output
amplifiers. Level shifters are used internally to provide an offset of 0.2 V and an amplifier
gain of 2 for analog inputs to match with the output levels from DACs. After buffering with
voltage output amplifiers, the final RGB outputs can drive a 150 load directly (25
internal resistor, 47 external serial resistor, and 75 load resistor) at the monitor side
(see Figure 9).
The output voltage level of DAC ranges from the lowest level 0.2 V (zero code) to the
highest level 1.82 V (all one code).
With the digital input YUV video data in accordance with ITU-R BT.601, the RGB output of
8-bit DAC actually ranges from the 16th step (black) to the 235th step (white). Therefore,
after the voltage divider with external serial resistor and monitor load resistor, the output
voltage range to a monitor is approximately 0.7 V (p-p).
7.4 I
2
C-bus control
Only one control byte is needed for the SAF7167AHW. The I
2
C-bus format is shown in
Table 9.
[1] S = START condition.
[2] SLAVE ADDRESS = 1011 111X; X = R/W control bit. X = 0: order to write. X = 1: order to read (not used for
SAF7167AHW).
[3] A = acknowledge; generated by the slave.
[4] SUBADDRESS = subaddress byte.
[5] DATA = data byte.
[6] P = STOP condition.
Table 8: KMOD[2:0]
KMOD[2:0] Pixel type Remark
100 8-bit pixel pseudo colour mode
101 2 × 8-bit pixel high colour mode 1 with pixels
given at both rising and falling
edges of PCLK
110 2 × 8-bit pixel high colour mode 2 with pixels
given only at rising edges of
PCLK
111 3 × 8-bit pixel true colour mode
Table 9: I
2
C-bus format
S
[1]
SLAVE ADDRESS
[2]
A
[3]
SUBADDRESS
[4]
A
[3]
DATA
[5]
A
[3]
P
[6]
9397 750 12667 © Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Product data sheet Rev. 01 — 29 June 2004 9 of 21
Philips Semiconductors
SAF7167AHW
YUV-to-RGB digital-to-analog converter
[1] All I
2
C-bus control bits are initialized to logic 0 after RES_N is activated.
[2] PCLK should be active in any event to allow for correct operation of I
2
C-bus programming.
Table 10: Control data byte
Subaddress D7 D6 D5 D4 D3 D2 D1 D0
00 KMOD2 KMOD1 KMOD0 DRP KEN KINV FMTC1 FMTC0
01 0 0 0 0 0 KDLY2 KDLY1 KDLY0
02 KD7 KD6 KD5 KD4 KD3 KD2 KD1 KD0
Table 11: Bit functions in data byte;
Table note 1 and Table note 2
Bit Description
FMTC[1:0] video format control:
00: YUV 4 : 2 : 2
01: YUV 4 : 1 : 1
10: YUV 2 : 1 : 1/ITU-R BT.656
11: RGB 5 : 6 : 5
KINV key polarity:
KINV = 0: pin EXTKEY = HIGH for analog mixer to select DAC
outputs
KINV = 1: pin EXTKEY = HIGH for analog mixer to select analog
RGB inputs
KEN key enable:
0 = disable
1 = enable
DRP UV input data code:
0 = twos complement
1 = binary offset
KMOD[2:0] keying mode:
000: external key
100: 8-bit pixel colour key
101: 2 × 8-bit pixel colour key (with two-edge clock latching for pixel
input)
110: 2 × 8-bit pixel colour key (with one-edge clock latching for pixel
input)
111: 3 × 8-bit pixel colour key (with one-edge clock latching for pixel
input)
all other combinations are reserved
KDLY[2:0] added keying delay cycles (from 0 to 7 PCLK cycles)
KD[7:0] the data value compared for 8, 16 or 24-bit pixel colour key

SAF7167AHW/V1,118

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC YUV-RGB CONV 48HTQFP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet