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

Antti Palosaari crope at iki.fi
Thu Jan 25 21:46:49 CET 2007


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
-- 
               |||
              (0-0)
---------oOO--(_)--OOo--------------------------------------------
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_rate.patch
Type: text/x-patch
Size: 3747 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070125/bff2fe20/zl10353_trl_nominal_rate.bin


More information about the linux-dvb mailing list