DC offset calibration

Having issues with the site, hardware, source code, or any other issues?
Post Reply
madengr
Posts: 34
Joined: Fri Mar 01, 2013 6:51 am

DC offset calibration

Post by madengr »

Anybody have success initiating the LMS internal DC offset calibration? I'm getting large DC offset in the RX spectrum, typically -7 dB from full scale. I'm attempting to poke section 4.8 of the LMS FAQ http://www.limemicro.com/download/FAQ_v1.0r10.pdf to initiate the calibration. It seems to make no difference. I'm running the commands into the CLI like so:

./bladeRF-cli -s ~/cal.txt

Note I'm subtracting 0x08 from the upper byte of their spi_write to obtain the poke address. The lower byte is the data. I'll observe the spectrum in GRC, stop it and run the CLI, then restart spectrum. No improvement.

set frequency 400000000
set samplerate 10000000
set bandwidth 1500000
set rxvga2 30

poke lms 0x09 0x8c
poke lms 0x53 0x08
poke lms 0x53 0x28
poke lms 0x53 0x08
poke lms 0x53 0x09
poke lms 0x53 0x29
poke lms 0x53 0x09
poke lms 0x09 0x84

poke lms 0x09 0x94
poke lms 0x66 0x00
poke lms 0x63 0x08
poke lms 0x63 0x28
poke lms 0x63 0x08
poke lms 0x63 0x09
poke lms 0x63 0x29
poke lms 0x63 0x09
poke lms 0x63 0x0a
poke lms 0x63 0x2a
poke lms 0x63 0x0a
poke lms 0x63 0x0b
poke lms 0x63 0x2b
poke lms 0x63 0x0b
poke lms 0x63 0x0c
poke lms 0x63 0x2c
poke lms 0x63 0x0c
poke lms 0x66 0x0a
poke lms 0x09 0x84
Post Reply