[linux-dvb] [PATCH] TRL nominal rate implementation

Antti Palosaari crope at iki.fi
Fri Jan 26 00:19:05 CET 2007

Same patch as earlier, but now with fixed nominal rate calculation.
Still I don't have any idea why real xtal freq differs from freq used in 
code. Interesting enough, the difference between real and software 
frequency is just 2048 (kHz) :)

It could be interesting to see what are used values in case of different 
xtal. Does someone have a stick with zl10353 demod and different xtal?

Tested successfully with au6610 & gl861 against fi-Oulu frequencies.

Signed-off-by: Antti Palosaari <crope at iki.fi>

Regards Antti Palosaari

Antti Palosaari wrote:
> heippa!
> Implement trl nominal rate calculation to Zarlink ZL10353 demod. Patch 
> is based on calculation used in Zarlink MT352 which seems to be very 
> similar.
> There seems to be a little difference in calculation that I haven't 
> found yet. Using bandwidth 7 it gives rate 0x5ae8 instead of 0x5ae9 
> which have seen in logs sniffed from windows driver. I assume that this 
> small difference does not have any effect.
> The other thing I don't understand is xtal used in hardware is 20.480 
> MHz, but in code it needs to be set 22528. Does anyone know why the 
> difference?
> With those two "findings" I assume that there is still a slight 
> calculation error. I did simple openoffice spreadsheet to calculate 
> nominal rate, try it and find correct formula :)
> http://otit.fi/~crope/v4l-dvb/zl10353/zl10535_trl_nominal_rate_calculator.ods 
> Signed-off-by: Antti Palosaari <crope at iki.fi>
> Regards Antti Palosaari
tel. +358 40 535 7322 | MSN Messenger crope at iki.fi | www.palosaari.fi
-Kahta asiaa en ymmärrä.. C-kielen syntaksi ja naisten logiikka.."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: zl10353_trl_nominal_rate2.patch
Type: text/x-patch
Size: 3757 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070126/1d309a3b/zl10353_trl_nominal_rate2.bin

More information about the linux-dvb mailing list