All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@linuxtv.org>
To: Matthias Schwarzott <zzam@gentoo.org>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] [RFC] SNR units in tuners
Date: Sun, 19 Oct 2008 13:46:12 +0200	[thread overview]
Message-ID: <48FB1E04.90408@linuxtv.org> (raw)
In-Reply-To: <200810182138.02988.zzam@gentoo.org>

Matthias Schwarzott wrote:
> On Freitag, 17. Oktober 2008, Devin Heitmueller wrote:
>> Hello,
>>
>> In response to Steven Toth's suggestion regarding figuring out what
>> the various units are across demodulators, I took a quick inventory
>> and came up with the following list.  Note that this is just a first
>> pass by taking a quick look at the source for each demodulator (I
>> haven't looked for the datasheets for any of them yet or done sample
>> captures to see what the reported ranges are).
>>
>> Could everybody who is responsible for a demod please take a look at
>> the list and see if you can fill in the holes?
>>
>> Having a definitive list of the current state is important to being
>> able to provide unified reporting of SNR.
>>
>> Thank you,
>>
>> Devin
>>
> 
>> mt312.c         unknown
> 
> The hardware provides two values:
> * AGC: For now the AGC feedback value (14 bit) is returned unchanged.
> * ERR_db: Also available is a 10-bit value representing the signal level 
> difference between AGC-Reference and received signal level (most likely in 
> 1dB steps).
> 
> If an absolute value is needed: I don't get it how to calc absolute signal 
> levels from AGC-Reference.
> 
> so code for now:
> mt312.c: agc-feedback 0-0x3FFF
> 
> @Obi:
> Any additions?

>From the manual:

7.2.3 Measured Signal to Noise Ratio. Registers 9 - 10 (R)

M SNR[14:0]: These two registers provide a indication of the signal to noise
ratio of the channel being received by the MT312. It should not be taken as
the absolute value of the SNR.

Eb/N0 = ~ (13312 - M_SNR[14:0] / 683) dB.

The equation given only holds for Es/No values in the range 3 to 15 dB, i.e.
Eb/No values in the range 0 to 12 dB.

Regards,
Andreas


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-10-19 11:46 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-17 18:04 [linux-dvb] [RFC] SNR units in tuners Devin Heitmueller
2008-10-17 18:13 ` Steven Toth
2008-10-17 19:55 ` Darron Broad
2008-10-17 20:06   ` Devin Heitmueller
2008-10-18  5:42     ` Darron Broad
2008-10-19 19:54       ` Georg Acher
2008-10-19 20:43         ` Darron Broad
2008-10-19 21:52           ` Georg Acher
2008-10-19 23:40             ` Darron Broad
2008-10-20  0:01       ` Darron Broad
2008-10-18 18:56     ` Richard Scobie
2008-10-17 22:01 ` Patrick Boettcher
2008-10-18 18:36 ` Trent Piepho
2008-10-18 19:38 ` Matthias Schwarzott
2008-10-19 11:46   ` Andreas Oberritter [this message]
2008-10-25 14:59 ` wk
2008-10-27 10:37   ` Morgan Tørvolt
2008-10-27 14:03     ` Georg Acher
2008-10-27 15:54       ` Andy Walls
2008-10-27 16:16         ` Morgan Tørvolt
2008-10-27 16:25           ` Georg Acher
2008-10-27 16:40         ` Manu Abraham
2009-08-07  7:04           ` VDR User

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=48FB1E04.90408@linuxtv.org \
    --to=obi@linuxtv.org \
    --cc=linux-dvb@linuxtv.org \
    --cc=zzam@gentoo.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.