LMS6002 reloading the state of the calibration registers after automatic calibration

49 views
Skip to first unread message

Med

unread,
Jul 9, 2018, 6:28:57 AM7/9/18
to Lime Microsystems open-source support channel

Hi,

I am running automatic Rx calibration routine by executing the following commands after receiver configuration. Then I try to fine tune the DC offset values by the RX calibration DAC.
I like to run the automatic calibration once per chip and save the results and load it again at each start-up.
Many thanks in advance to let me know if I can read all the calibration results in registers and load them with SPI in the next chip start up?
What would be the register values for the same procedure for Tx calibration 

# DC Offset calibration of RX I and Q filters
0x898C # Set CLK_EN[3] on
0xD308 # Set DC_ADDR[2:0], I filter
0xD328 # Set DC_START_CLBR start
10ms
0xD308 # Set DC_START_CLBR stop
0xD309 # Set DC_ADDR[2:0], Q filter
0xD329 # Set DC_START_CLBR start
10ms
0xD309 # Set DC_START_CLBR stop
0x8984 # Set CLK_EN[3] off
# DC Offset calibration of RXVGA2
0x8994 # Set CLK_EN[4] on
0xE600 # Enable comparators
0xE308 # Set DC_ADDR[2:0], DC reference module
0xE328 # Set DC_START_CLBR start
10ms
0xE308 # Set DC_START_CLBR stop
0xE309 # Set DC_ADDR[2:0], VGA2A Q stage
0xE329 # Set DC_START_CLBR start
10ms
0xE309 # Set DC_START_CLBR stop
0xE30A # Set DC_ADDR[2:0], VGA2A I stage
0xE32A # Set DC_START_CLBR start
10ms
0xE30A # Set DC_START_CLBR stop
0xE30B # Set DC_ADDR[2:0], VGA2B Q stage
0xE32B # Set DC_START_CLBR start
10ms
0xE30B # Set DC_START_CLBR stop
0xE30C # Set DC_ADDR[2:0], VGA2B I stage
0xE32C # Set DC_START_CLBR start
10ms
0xE30C # Set DC_START_CLBR stop
0xE60A # Disable comparators
0x8984 # Set CLK_EN[4] off
0X897E # Restore clock distribution setting

Kind regards
Med



 

Med

unread,
Jul 9, 2018, 11:37:18 AM7/9/18
to Lime Microsystems open-source support channel

Hi,

Actually in the following post, I found how to read back the calibrated register values and I am going to try it with my setup.


Best
Med

Srdjan Milenkovic

unread,
Jul 23, 2018, 5:32:28 AM7/23/18
to limemicro-...@googlegroups.com, Med

Hi Med,

Not all calibration registers are saved into ini file so we recommend to do calibration at each power up. Another advantage of this approach is that the system will track temperature changes.

Regards, Srdjan

--
You received this message because you are subscribed to the Google Groups "Lime Microsystems open-source support channel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to limemicro-openso...@googlegroups.com.
Visit this group at https://groups.google.com/group/limemicro-opensource.

Reply all
Reply to author
Forward
0 new messages