Discussion and technical support related to USRP, UHD, RFNoC
View all threadsHello,
Is it possible to obtain a status of the ADC on the B205i using the UHD
driver? In particular, I am interested in detecting adc overflows, i.e.
too much power at the input.
Best regards,
Dominik
--
--
i.A. Dominik Eyerly
Head of RF Software
Tel: +49 (0) 351 7958019 233
Fax: +49 (0) 351 7958019 232
Email: d.eyerly@konrad-technologies.de mailto:d.eyerly@konrad-technologies.de
Konrad GmbH — Fritz-Reichle-Ring 12 — D-78315 Radolfzell
www.konrad-technologies.de http://www.konrad-technologies.de
www.abexstandard.org http://www.abexstandard.org
Support Telefon: +49 (0) 7732 9815 100
support@konrad-technologies.de mailto:support@konrad-technologies.de
sig
Geschäftsleitung: Michael Konrad
Handelsregisternr: HRB 550593 in Freiburg
Ust-Id-Nr. DE 206693267
VERTRAULICHKEITS-INFORMATION: Dieses e-Mail und alle anhängenden Dokumente, enthalten Informationen der Konrad GmbH und sind nur für die adressierte Person bestimmt. Diese können vertraulich und/oder von Veröffentlichungen ausgenommen sein. Das Kopieren und die Weitergabe an nicht autorisierte Dritte sind verboten. Für Zuwiderhandlungen können Sie haftbar gemacht werden. Falls Sie nicht der Empfänger sind, benachrichtigen Sie den Absender bitte umgehend. Danke
CONFIDENTIALITY NOTICE: This e-mail and any documents which may accompany it, contains information from Konrad GmbH, which is intended only for the use of the individual or entity to which it is addressed, and which may contain information that is privileged, confidential, and/or otherwise exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, any disclosure, dissemination, distribution, copying or other use of this communication or its substance is prohibited. If you have received this communication in error, please contact us immediately. Thank you.
Dear Mr. Eyerly,
Indeed, the AD9361 has an overload indicator register. (Ad9361 manual ug-570, page 76)
We don't directly expose that, but with modifications in our host/lib/usrp tree's ad9361_driver, you could expose that by publishing a register reader in the property_tree.
Does that sound like the direction you'd like to take this?
Best regards,
Marcus M
On 21 August 2017 3:42:32 PM GMT+02:00, Dominik Eyerly via USRP-users usrp-users@lists.ettus.com wrote:
Hello,
Is it possible to obtain a status of the ADC on the B205i using the UHD
driver? In particular, I am interested in detecting adc overflows, i.e.
too much power at the input.
Best regards,
Dominik
--
--
i.A. Dominik Eyerly
Head of RF Software
Tel: +49 (0) 351 7958019 233
Fax: +49 (0) 351 7958019 232
Email: d.eyerly@konrad-technologies.de
mailto:d.eyerly@konrad-technologies.de
Konrad GmbH — Fritz-Reichle-Ring 12 — D-78315 Radolfzell
www.konrad-technologies.de http://www.konrad-technologies.de
www.abexstandard.org http://www.abexstandard.org
Support Telefon: +49 (0) 7732 9815 100
support@konrad-technologies.de mailto:support@konrad-technologies.de
sig
Geschäftsleitung: Michael Konrad
Handelsregisternr: HRB 550593 in Freiburg
Ust-Id-Nr. DE 206693267
VERTRAULICHKEITS-INFORMATION: Dieses e-Mail und alle anhängenden
Dokumente, enthalten Informationen der Konrad GmbH und sind nur für die
adressierte Person bestimmt. Diese können vertraulich und/oder von
Veröffentlichungen ausgenommen sein. Das Kopieren und die Weitergabe an
nicht autorisierte Dritte sind verboten. Für Zuwiderhandlungen können
Sie haftbar gemacht werden. Falls Sie nicht der Empfänger sind,
benachrichtigen Sie den Absender bitte umgehend. Danke
CONFIDENTIALITY NOTICE: This e-mail and any documents which may
accompany it, contains information from Konrad GmbH, which is intended
only for the use of the individual or entity to which it is addressed,
and which may contain information that is privileged, confidential,
and/or otherwise exempt from disclosure under applicable law. If the
reader of this message is not the intended recipient, any disclosure,
dissemination, distribution, copying or other use of this communication
or its substance is prohibited. If you have received this communication
in error, please contact us immediately. Thank you.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Hi Marcus,
Yes, I saw that in the AD datasheet :)
The answer you provided does sound promising. Would you be able to
provide some more detail on how this is accomplished? A simple example
would be great. If an example is too much work, an explanation of where
the modification takes place and how it would boil up to the user would
be very useful as well.
Also, is there another efficient solution or would this be the one you
recommend?
thanks,
Dominik
On 08/21/2017 05:08 PM, Marcus Müller wrote:
Dear Mr. Eyerly,
Indeed, the AD9361 has an overload indicator register. (Ad9361 manual
ug-570, page 76)
We don't directly expose that, but with modifications in our
host/lib/usrp tree's ad9361_driver, you could expose that by
publishing a register reader in the property_tree.
Does that sound like the direction you'd like to take this?
Best regards,
Marcus M
On 21 August 2017 3:42:32 PM GMT+02:00, Dominik Eyerly via USRP-users
usrp-users@lists.ettus.com wrote:
Hello,
Is it possible to obtain a status of the ADC on the B205i using
the UHD driver? In particular, I am interested in detecting adc
overflows, i.e. too much power at the input.
Best regards,
Dominik
--
--
i.A. Dominik Eyerly
Head of RF Software
Tel: +49 (0) 351 7958019 233
Fax: +49 (0) 351 7958019 232
Email: d.eyerly@konrad-technologies.de
<mailto:d.eyerly@konrad-technologies.de>
*Konrad GmbH — Fritz-Reichle-Ring 12 — D-78315 Radolfzell*
www.konrad-technologies.de <http://www.konrad-technologies.de>
www.abexstandard.org <http://www.abexstandard.org>
*Support Telefon: +49 (0) 7732 9815 100*
support@konrad-technologies.de <mailto:support@konrad-technologies.de>
sig
Geschäftsleitung: Michael Konrad
Handelsregisternr: HRB 550593 in Freiburg
Ust-Id-Nr. DE 206693267
VERTRAULICHKEITS-INFORMATION: Dieses e-Mail und alle anhängenden Dokumente, enthalten Informationen der Konrad GmbH und sind nur für die adressierte Person bestimmt. Diese können vertraulich und/oder von Veröffentlichungen ausgenommen sein. Das Kopieren und die Weitergabe an nicht autorisierte Dritte sind verboten. Für Zuwiderhandlungen können Sie haftbar gemacht werden. Falls Sie nicht der Empfänger sind, benachrichtigen Sie den Absender bitte umgehend. Danke
CONFIDENTIALITY NOTICE: This e-mail and any documents which may accompany it, contains information from Konrad GmbH, which is intended only for the use of the individual or entity to which it is addressed, and which may contain information that is privileged, confidential, and/or otherwise exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, any disclosure, dissemination, distribution, copying or other use of this communication or its substance is prohibited. If you have received this communication in error, please contact us immediately. Thank you.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
--
i.A. Dominik Eyerly
Head of RF Software
Tel: +49 (0) 351 7958019 233
Fax: +49 (0) 351 7958019 232
Email: d.eyerly@konrad-technologies.de mailto:d.eyerly@konrad-technologies.de
Konrad GmbH — Fritz-Reichle-Ring 12 — D-78315 Radolfzell
www.konrad-technologies.de http://www.konrad-technologies.de
www.abexstandard.org http://www.abexstandard.org
Support Telefon: +49 (0) 7732 9815 100
support@konrad-technologies.de mailto:support@konrad-technologies.de
sig
Geschäftsleitung: Michael Konrad
Handelsregisternr: HRB 550593 in Freiburg
Ust-Id-Nr. DE 206693267
VERTRAULICHKEITS-INFORMATION: Dieses e-Mail und alle anhängenden Dokumente, enthalten Informationen der Konrad GmbH und sind nur für die adressierte Person bestimmt. Diese können vertraulich und/oder von Veröffentlichungen ausgenommen sein. Das Kopieren und die Weitergabe an nicht autorisierte Dritte sind verboten. Für Zuwiderhandlungen können Sie haftbar gemacht werden. Falls Sie nicht der Empfänger sind, benachrichtigen Sie den Absender bitte umgehend. Danke
CONFIDENTIALITY NOTICE: This e-mail and any documents which may accompany it, contains information from Konrad GmbH, which is intended only for the use of the individual or entity to which it is addressed, and which may contain information that is privileged, confidential, and/or otherwise exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, any disclosure, dissemination, distribution, copying or other use of this communication or its substance is prohibited. If you have received this communication in error, please contact us immediately. Thank you.
Hi Dominik,
proper PC now, so more freedom:
There's two ways. One is what the UG-570 points [2] points to, which
configures specific outputs to output ADC state info, and then react
(including offering a readout from the host) to these outputs through
FPGA modifications (because these signals currently are only used to
indicate a few PLL locks), or you can read the register containing the
ADC state info from the host.
Advantage of the former being that you can be arbitrarily fast by
reacting to things in the FPGA, disadvantage would be that you'd have to
modify the FPGA, and maybe would have to fix a few things surrounding
the handling of clock settling (can't tell you how much right from the
top of my head).
Since the second alternative is easier, I'll describe it here:
UHD contains a driver for the AD936x that allows easy reading and
writing of registers on the IC. Using that to read the register
containing the ADC state would be asynchronous to the sample flow, and
could be done by adding a small function to UHD that uses peek and pokes
to the AD9361, and hooking that function up to the property tree, so
that your application can then access it. The right register [3 p. 69]
might be 0x2B8, though I really must admit I don't know whether it does
something useful when not in AGC mode.
You could add that function to [1], which contains plenty of examples
how io_iface->peek8(address) is used to read registers!
Hope that helps,
Marcus
[1]
https://github.com/EttusResearch/uhd/blob/release_003_010_002_000/host/lib/usrp/common/ad9361_driver/ad9361_device.cpp
[2] AD9361 Ref. Manual rev A, http://www.farnell.com/datasheets/2007082.pdf
[3] AD9361 Register Map,
http://www.analog.com/media/cn/technical-documentation/user-guides/AD9364_Register_Map_Reference_Manual_UG-672.pdf
On 08/21/2017 05:31 PM, Dominik Eyerly wrote:
Hi Marcus,
Yes, I saw that in the AD datasheet :)
The answer you provided does sound promising. Would you be able to
provide some more detail on how this is accomplished? A simple example
would be great. If an example is too much work, an explanation of
where the modification takes place and how it would boil up to the
user would be very useful as well.
Also, is there another efficient solution or would this be the one you
recommend?
thanks,
Dominik
On 08/21/2017 05:08 PM, Marcus Müller wrote:
Dear Mr. Eyerly,
Indeed, the AD9361 has an overload indicator register. (Ad9361 manual
ug-570, page 76)
We don't directly expose that, but with modifications in our
host/lib/usrp tree's ad9361_driver, you could expose that by
publishing a register reader in the property_tree.
Does that sound like the direction you'd like to take this?
Best regards,
Marcus M
On 21 August 2017 3:42:32 PM GMT+02:00, Dominik Eyerly via USRP-users
usrp-users@lists.ettus.com wrote:
Hello,
Is it possible to obtain a status of the ADC on the B205i using
the UHD driver? In particular, I am interested in detecting adc
overflows, i.e. too much power at the input.
Best regards,
Dominik
--
--
i.A. Dominik Eyerly
Head of RF Software
Tel: +49 (0) 351 7958019 233
Fax: +49 (0) 351 7958019 232
Email: d.eyerly@konrad-technologies.de
<mailto:d.eyerly@konrad-technologies.de>
*Konrad GmbH — Fritz-Reichle-Ring 12 — D-78315 Radolfzell*
www.konrad-technologies.de <http://www.konrad-technologies.de>
www.abexstandard.org <http://www.abexstandard.org>
*Support Telefon: +49 (0) 7732 9815 100*
support@konrad-technologies.de
<mailto:support@konrad-technologies.de>
sig
Geschäftsleitung: Michael Konrad
Handelsregisternr: HRB 550593 in Freiburg
Ust-Id-Nr. DE 206693267
VERTRAULICHKEITS-INFORMATION: Dieses e-Mail und alle anhängenden Dokumente, enthalten Informationen der Konrad GmbH und sind nur für die adressierte Person bestimmt. Diese können vertraulich und/oder von Veröffentlichungen ausgenommen sein. Das Kopieren und die Weitergabe an nicht autorisierte Dritte sind verboten. Für Zuwiderhandlungen können Sie haftbar gemacht werden. Falls Sie nicht der Empfänger sind, benachrichtigen Sie den Absender bitte umgehend. Danke
CONFIDENTIALITY NOTICE: This e-mail and any documents which may accompany it, contains information from Konrad GmbH, which is intended only for the use of the individual or entity to which it is addressed, and which may contain information that is privileged, confidential, and/or otherwise exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, any disclosure, dissemination, distribution, copying or other use of this communication or its substance is prohibited. If you have received this communication in error, please contact us immediately. Thank you.
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
--
i.A. Dominik Eyerly
Head of RF Software
Tel: +49 (0) 351 7958019 233
Fax: +49 (0) 351 7958019 232
Email: d.eyerly@konrad-technologies.de mailto:d.eyerly@konrad-technologies.de
Konrad GmbH — Fritz-Reichle-Ring 12 — D-78315 Radolfzell
www.konrad-technologies.de http://www.konrad-technologies.de
www.abexstandard.org http://www.abexstandard.org
Support Telefon: +49 (0) 7732 9815 100
support@konrad-technologies.de mailto:support@konrad-technologies.de
sig
Geschäftsleitung: Michael Konrad
Handelsregisternr: HRB 550593 in Freiburg
Ust-Id-Nr. DE 206693267
VERTRAULICHKEITS-INFORMATION: Dieses e-Mail und alle anhängenden Dokumente, enthalten Informationen der Konrad GmbH und sind nur für die adressierte Person bestimmt. Diese können vertraulich und/oder von Veröffentlichungen ausgenommen sein. Das Kopieren und die Weitergabe an nicht autorisierte Dritte sind verboten. Für Zuwiderhandlungen können Sie haftbar gemacht werden. Falls Sie nicht der Empfänger sind, benachrichtigen Sie den Absender bitte umgehend. Danke
CONFIDENTIALITY NOTICE: This e-mail and any documents which may accompany it, contains information from Konrad GmbH, which is intended only for the use of the individual or entity to which it is addressed, and which may contain information that is privileged, confidential, and/or otherwise exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, any disclosure, dissemination, distribution, copying or other use of this communication or its substance is prohibited. If you have received this communication in error, please contact us immediately. Thank you.