From: Reinhard Nissl <rnissl@gmx.de>
To: linux-media@vger.kernel.org
Cc: Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>
Subject: Re: [linux-media] Re: [linux-media] stb0899: no lock on dvb-s2 transponders in SCR environment
Date: Sun, 05 May 2013 13:21:24 +0200 [thread overview]
Message-ID: <518640B4.908@gmx.de> (raw)
In-Reply-To: <517BE5EE.6050004@tvdr.de>
[-- Attachment #1: Type: text/plain, Size: 2551 bytes --]
Hi,
Am 27.04.2013 16:51, schrieb Klaus Schmidinger:
> On 27.04.2013 14:14, Reinhard Nissl wrote:
>> Hi,
>>
>> my stb0899 card works properly on dvb-s and dvb-s2 transponders
>> when using a direct port on my sat multiswitch.
>>
>> When using a SCR port on that multiswitch and changing VDR's
>> config files accordingly, it only locks on dvb-s transponders.
>>
>> A SCR converts the selected transponder's frequency after the
>> LNB (IF1) to a fixed frequency (for example 1076 MHz) by mixing
>> the signal with a local oscialator frequency above IF1 so that
>> the lower sideband of the mixing product appears at 1076 MHz.
>>
>> The lower sideband's spectrum is mirrored compared to the upper
>> sideband, which is identical to the original spectrum on the
>> original IF1.
>>
>> Could that be the reason why the stb0899 cannot lock on dvb-s2
>> transponders in an SCR environment?
>>
>> Any ideas on how to get a lock on dvb-s2 transponders?
>
> Just wanted to let you know that I can confirm the problem with
> the stb0899. On my TT S2-6400 I can receive DVB-S and DVB-S2 just
> fine with SCR. During development of SCR support for VDR I guess
> I did all tests with the 6400, so I didn't come across this problem.
> However, as a reaction to your posting I explicitly tested it with
> my budget cards, and there I indeed can only tune to DVB-S
> transponders.
>
> No idea how to solve this, though...
Well, as mentioned above, it really has to do with the lower side
band, which is mirrored compared to the original spectrum.
The phase of the Q component of the signal is usually 90 ° behind
the I component. Due to the mirroring, the phase changes its sign
which means, the Q component is now 90 ° ahead of the I component
with the result that the decoded symbols do not match the
expected code points.
To fix the phase relationship between I and Q component, I and Q
inputs need to be swapped. This can done by enabling inversion.
I first thought that VDR's channel parameter inversion could do
the trick, but it looks to me like it is either not supported by
the driver or does/means something different (have to learn alot
more about mixing and signal processing regarding DVB).
Anyway, digging through the code I found that the driver supports
inversion and that this behaviour is a compiled in configuration
option for the TT-3200 board. The driver even supports automatic
inversion, so that's the way I got it finally working for now
(see attached patch).
Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@gmx.de
[-- Attachment #2: budget-ci.c.diff --]
[-- Type: text/x-patch, Size: 371 bytes --]
--- pci/ttpci/budget-ci.c.orig 2013-05-05 13:18:16.203930908 +0200
+++ pci/ttpci/budget-ci.c 2013-05-05 13:18:26.576914170 +0200
@@ -1280,7 +1280,7 @@ static struct stb0899_config tt3200_conf
.demod_address = 0x68,
.xtal_freq = 27000000,
- .inversion = IQ_SWAP_ON, /* 1 */
+ .inversion = IQ_SWAP_AUTO, /* 2 */
.lo_clk = 76500000,
.hi_clk = 99000000,
prev parent reply other threads:[~2013-05-05 11:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-27 12:14 stb0899: no lock on dvb-s2 transponders in SCR environment Reinhard Nissl
2013-04-27 14:51 ` [linux-media] " Klaus Schmidinger
2013-05-05 11:21 ` Reinhard Nissl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=518640B4.908@gmx.de \
--to=rnissl@gmx.de \
--cc=Klaus.Schmidinger@tvdr.de \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.