Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Nexus-CA/stv0297 problems



From: "Andrew de Quincey" <adq_dvb@lidskialf.net>
> Would this ves1820 test register be 0x0f BTW? Its just theres a
> mysterious write in av7110_v4l.c which sets 0x0f to 0x60 for
> analogue, and 0x20 for digital (I don't have the ves1820 datasheet).

Yes, exactly. The wiring is as follows:

VES1820 CTRL1 -> TDA9819 STD   (analog TV mode selection)
VES1820 CTRL2 -> TDA9819 INSWI (input switch, 0=analog, 1=DVB)

I'm not sure exactly how the "STD" pin works, but I _think_ that STD=0 is
for NTSC-M and STD=1 is for PAL-B/G and SECAM-L. The driver seems to be
hardcoded to set STD to 1.

In the VES1820 TEST register (0x0F), CTRL1 is controlled by bit 5 (0x20)
and CTRL2 is controlled by bit 6 (0x40). That's why you write 0x20 for
analog PAL/SECAM mode and 0x60 for digital DVB mode.

That explains the "mysterious write" :)

Regards,
--
Robert Schlabbach
e-mail: robert_s@gmx.net
Berlin, Germany





Home | Main Index | Thread Index