Google
  Web www.spinics.net

Re: [patch] - testing radio stereo on tda9887 - was - Re: TDA9887 FM1216ME radio works stereo, but only with FMD1216ME support :)

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


Am So, den 29.05.2005 schrieb Nickolay V. Shmyrev um 22:12:
> В Вск, 29/05/2005 в 21:58 +0200, Hartmut Hackmann пишет: 
> > Hi, Hermann
> > > 
> > > radio mono works quite nice already, but in all other cases you are
> > > right, except that I would prefer not to be in the client call for 
> > > BOARD_MD7134 radio fmd_config in saa7134.video.c concerning the port1=0.
> > > 
> > We can regard this as a mistake i made. In saa7134-video.c, i made this call
> > depend on the board type, it would be better to make it depend on the tuner.
> 
> Me is using port1=1 port2=0 with 1256 IH-3. Moreover, I've advised users
> to change tda9887 config to 
> 
> static struct tvnorm radio = { 
>        .name = "radio",
>        .b    = ( cFmRadio       |
>                  cQSS           ),
>        .c    = ( cDeemphasisOFF ) ,
>        .e    = ( cAudioIF_5_5   |
>                  cRadioIF_38_90 ),
> };
> 
> And got successful reports from them about stereo.

Tried it now and it's getting interesting. It _is_ already stereo!

So I'm happy to know that I didn't have had halluzinations when I
claimed 1/2 a year ago that I had it in stereo state once when fiddling
with such stuff, without datasheet, but I didn't get it back and Gerd
said nope. 

tda9885/6/7: configure for: radio
tda9885/6/7: writing: b=0x4e c=0x0e e=0x1d
tda9885/6/7: write: byte B 0x4e
  B0   video mode      : sound trap
  B1   auto mute fm    : yes
  B2   carrier mode    : QSS
  B3-4 tv sound/radio  : FM/radio
  B5   force mute audio: no
  B6   output port 1   : high (inactive)
  B7   output port 2   : low (active)
tda9885/6/7: write: byte C 0x0e
  C0-4 top adjustment  : -2 dB
  C5-6 de-emphasis     : no
  C7   audio gain      : 0
tda9885/6/7: write: byte E 0x1d
  E0-1 sound carrier   : 5.5 MHz
  E6   l pll ganting   : 13
  E2-4 video if        : 44 MHz
  E7   vif agc output  : fm radio carrier afc
--
saa7134[0]: i2c xfer: < 86 00 4e 0e 1d >
saa7134[0]: i2c xfer: < 87 =be >
tda9885/6/7: read: 0xbe
  after power on : no
  afc            : + 12.5 kHz
  fmif level     : high
  afc window     : out
  vfi level      : high
saa7134[0]: i2c xfer: < c1 =74 >
saa7134[0]: i2c xfer: < 87 =bc >
saa7134[0]: i2c xfer: < c0 07 0e 8e 19 >
saa7134[0]: i2c xfer: < c1 =74 >
saa7134[0]: i2c xfer: < 87 =bc >
saa7134[0]: i2c xfer: < c1 =74 >
saa7134[0]: i2c xfer: < 87 =be >
saa7134[0]: i2c xfer: < c0 07 0e 8e 19 >
saa7134[0]: i2c xfer: < c1 =74 >
saa7134[0]: i2c xfer: < 87 =bc >
saa7134[0]: i2c xfer: < c1 =74 >
saa7134[0]: i2c xfer: < 87 =bc >
saa7134[0]: i2c xfer: < c1 =74 >

> About change in tuner
> part, I am not sure, datasheets clearly explains that config above
> should be used for tda, but I can't find the place were 0x99 for tuner
> is specified. Moreover, there are
> examples of tuner settings including stereo fm setting and it uses 0x19.

To get stereo with the other/patch settings you _have to_ set bit6 to 0.
Try it out. With 0x19 you don't reach it. (bit 5 and 7 do nothing, so
use what you want, like 0x59 for mono ...)

It is described in the BandswitchingByte table.

Also look at the big "convenience" ;) table, IF gain bit is 1 in FM
mode, audio gain is 1 in stereo as I read? The others settings I kept
also identical with Hartmut's card are Xed and should do nothing, but we
can't use adjust 0x1f as it causes some distortions.

So if we can't keep in sync with Hartmut's settings we can narrow more
down to our cards next and see? Do you get anything acceptable without
high sensitivity (port1=1)? If I use the rabbitears antenna from the
card and remove the tv cable (both together is worse, because there is
some frequency offset resulting in noisy sound) with port1=0 I'm reduced
to 4 stations and only two are good, also stereo. That looks _very_ much
better with port1=1.

So I _seem_ to know what switches it on with Hartmut's settings, but why
it starts also working with deemphasisOFF only I don't know yet.

Hermann





--

Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

[Home]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Video Technology]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Plasma TVs]     [Video Projectors]     [PDAs]     [Xorg]     [Util Linux NG]     [Xfree86]     [Devices]     [Big List of Linux Books]     [Free Photo Albums]     [LCD TVs]     [Fedora Users]     [Webcams]     [Fedora Women]     [HDTV]     [ALSA Users]     [ALSA Devel]     [Stuff]     [SSH]     [Linux USB]

Powered by Linux

Google PageRank Checking tool