Mailing List archive

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

[linux-dvb] Re: Nova-T and uncorrected blocks



From: "michal" <michal@etc.cz>
> Revision 1.9:

There appear to be several typos in this code:

>          cpump = div < 175000000 ? 2 : div < 390000000 ? 1 :
>                  div < 470000000 ? 2 : div < 750000000 ? 1 : 3;
>
>          band_select = div < 175000000 ? 0x0e : div < 470000000 ? 0x05 :
> 0x03;

These comparions should apparently be against the *frequency*, not the
divider. Thus, replace all "div" with "freq" in above lines.

>          buf [3] = cpump | band_select;

Another bug. The charge pump bits are 7 and 6, not 1 and 0. Try

buf [3] = (cpump << 6) | band-select;

instead.

Hope this helps,
--
Robert Schlabbach
e-mail: robert_s@gmx.net
Berlin, Germany



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index