How to set the frequency from firmware

Hi List,
I’m working on a firmware for a completely standalone usrp2 sender.

How is that 32 bits integer dsp_tx_regs->freq interpreted by the
hardware and which value do I need to send e.g. on the 802.11g channel
11 (2.462 GHz)?

Cheers,
Matthias

On Wed, Jul 28, 2010 at 11:27:12AM +0200, Matthias Schäfer wrote:

Hi List,
I’m working on a firmware for a completely standalone usrp2 sender.

How is that 32 bits integer dsp_tx_regs->freq interpreted by the
hardware and which value do I need to send e.g. on the 802.11g
channel 11 (2.462 GHz)?

Cheers,
Matthias

Matthias,

dsp_tx_regs->freq holds the digital up converter frequency tuning word.

Look in db_init.c. In particular, spend some time with db_tune.

grep is your friend.

Eric