[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] setting registers

From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] setting registers
Date: Mon, 16 Jul 2007 13:13:16 -0700
User-agent: Thunderbird (X11/20070604)

Zhuocheng Yang wrote:

> Can anyone tell me where the registers are and how I can read/write
> to them?

Once you create a usrp.source_c() or usrp.sink_c() object, you can call:

u = usrp.source_c()

u._write_fpga_reg(regno, val)

The registers are write-only.  You may call:


...but the return value will either be zero or a semi-documented set of
debugging values unrelated to the register number you put.

The register definitions are in:


*** NOTE: it is possible to damage your hardware by incorrectly setting
these registers ***

Johnathan Corgan
Corgan Enterprises LLC

reply via email to

[Prev in Thread] Current Thread [Next in Thread]