Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 1997 09:54:35 -0700
From:      Steve Passe <smp@csn.net>
To:        Richard Tobin <richard@cogsci.ed.ac.uk>
Cc:        multimedia@freebsd.org
Subject:   Re: Tuner AFC 
Message-ID:  <199703281654.JAA25681@Ilsa.StevesCafe.com>
In-Reply-To: Your message of "Fri, 28 Mar 1997 13:05:41 GMT." <27629.199703281305@pitcairn.cogsci.ed.ac.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> It turns out that some of the channels here aren't on precisely the
> official frequencies, so I wrote a program to do AFC.
> 
> The AFC works using the 3 bottom bits of the tuner status register.
> When it's centred, they are 0 1 0.  1 0 0 means it's too low, 0 0 1
> too high.  The TEMIC datasheet refers to a 5-level ADC suggesting
> that it might return 1 1 0 or 0 1 1 but that doesn't seem to happen
> for me.

according to the philips datasheet for the TSA5522 (ie the PLL being addresses)
the legal values are 0 thru 4.

according to the philips datasheet for the tuners it breaks down like this:

Frequency (kHz):    Value (binary):
 -125.0              000
  -62.5              001
    0.0              010
  +62.5              011
 +125.0              100

--
Steve Passe	| powered by
smp@csn.net	|            Symmetric MultiProcessor FreeBSD




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703281654.JAA25681>