English
Language : 

SAA7108AE Datasheet, PDF (33/208 Pages) NXP Semiconductors – HD-CODEC
NXP Semiconductors
SAA7108AE; SAA7109AE
HD-CODEC
TPclk = -------------------2---6---2---.-5-----×-----1---7---1---6----×-----T----X----c---l--k------------------- (60 Hz)
InPpl × integer-I--nO---L--u--i-t-n-L---+-i--n--2-- × 262.5
TPclk = -------------------3---1---2---.-5-----×-----1---7---2---8----×-----T----X----c---l--k------------------- (50 Hz) and for the pixel clock generator
InPpl × integer-I--nO---L--u--i-t-n-L---+-i--n--2-- × 312.5
PCL = TT----XP----cc---ll--kk- × 220 + PCLE (all frequencies); see Table 88 and Table 89. The divider PCLE
should be set according to Table 89. PCLI may be set to a lower or the same value.
Setting a lower value means that the internal pixel clock is higher and the data get
sampled up. The difference may be 1 at 640 × 480 pixels resolution and 2 at resolutions
with 320 pixels per line as a rule of thumb. This allows horizontal upscaling by a maximum
factor of 2 respectively 4 (this is the parameter RiePclk).
PCLI = PCLE – l--o---g----R-l-o--i-g-e---2P----c---l--k- (all frequencies)
The equations ensure that the last line of the field has the full number of clock cycles.
Many graphic controllers require this. Note that the bit PCLSY needs to be set to ensure
that there is not even a fraction of a clock left at the end of the field.
8.20.3 Horizontal scaler
XOFS can be chosen arbitrarily, the condition being that XOFS + XPIX ≤ HLEN is fulfilled.
Values given by the VESA display timings are preferred.
HLEN = InPpl × RiePclk − 1
XPIX = -I--n---2P----i--x- × RiePclk
XINC = O---I--nu---P-t--P-i---xi--x- × -R----i4--e-0--P-9---c6---l--k-
XINC needs to be rounded up, it needs to be set to 0 for a scaling factor of 1.
8.20.4 Vertical scaler
The input vertical offset can be taken from the assumption that the scaler should just have
finished writing the first line when the encoder starts reading it:
YOFS = F-----A---I-L-n---×-P----p1---l7---1×---6--T---×-P---T-c---lX--k--c---l--k- – 2.5 (60 Hz) YOFS = F-----A---I-L-n---×-P----p1---l7---2×---8--T---×-P---T-c---lX--k--c---l--k- – 2.5 (50 Hz)
In most cases the vertical offsets will be the same for odd and even fields. The results
should be rounded down.
YPIX = InLin
YSKIP defines the anti-flicker function. 0 means maximum flicker reduction but minimum
vertical bandwidth, 4095 gives no flicker reduction and maximum bandwidth. Note that the
maximum value for YINC is 4095. It might be necessary to reduce the value of YSKIP to
fulfil this requirement.
SAA7108AE_SAA7109AE_3
Product data sheet
Rev. 03 — 6 February 2007
© NXP B.V. 2007. All rights reserved.
33 of 208