|
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 ï¬eld 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 ï¬eld.
8.20.3 Horizontal scaler
XOFS can be chosen arbitrarily, the condition being that XOFS + XPIX ⤠HLEN is fulï¬lled.
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
ï¬nished writing the ï¬rst 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 ï¬elds. The results
should be rounded down.
YPIX = InLin
YSKIP deï¬nes the anti-ï¬icker function. 0 means maximum ï¬icker reduction but minimum
vertical bandwidth, 4095 gives no ï¬icker reduction and maximum bandwidth. Note that the
maximum value for YINC is 4095. It might be necessary to reduce the value of YSKIP to
fulï¬l this requirement.
SAA7108AE_SAA7109AE_3
Product data sheet
Rev. 03 â 6 February 2007
© NXP B.V. 2007. All rights reserved.
33 of 208
|
▷ |