Analog Devices AD9361 Reference Manual page 53

Table of Contents

Advertisement

AD9361 Reference Manual
5.
Program the LNA gain step words into the internal table.
Table 37. Programming the LNA Gain Steps into the Internal Table
Command
Addr/Data
SPIWrite
143,61
SPIWrite
140,00
SPIWrite
141,aa
SPIWrite
143,63
WAIT
3us
SPIWrite
140,01
SPIWrite
141,bb
SPIWrite
143,63
WAIT
3us
SPIWrite
140,02
SPIWrite
141,cc
SPIWrite
143,63
WAIT
3us
SPIWrite
140,03
SPIWrite
141,dd
SPIWrite
143,63
WAIT
3us
SPIWrite
143,01
SPIWrite
143,00
6.
Turn on the external single tone at the amplitude determined previously and inject it into Rx1.
7.
Run the calibration by setting 0x016[D3].
8.
The calibration completes when 0x016[D3] clears.
9.
Read the LNA and Mixer error terms as shown in Table 38 into nonvolatile memory.
Table 38. Reading Gain Step Error Words from the
Line
Number
Command
1
SPIWrite
2
SPIWrite
3
SPIRead
4
Repeat Step 2 and Step 3 for 3 remaining LNA indices
5
SPIWrite
6
SPIWrite
7
SPIRead
8
Repeat Step 6 and Step 7 for 14 remaining Mixer indices
9
SPIWrite
Programming Gain Step Errors in the Field
During initialization (while the transceiver is in the Alert or Wait states), program the two configuration registers as shown in Table 39
(again, "xx" is the value from Table 35).
Table 39. Config Registers
Line Number
Command
1
SPIWrite
2
SPIWrite
Comment
//Write R1 and R2 internal LNA tables & start clock
//LNA index
//LNA gain step from Table 35
//Write data
//Wait for data to fully write to internal table
//LNA index
//LNA gain step from Table 35
//Write data
//Wait for data to fully write to internal table
//LNA index
//LNA gain step from Table 35
//Write data
//Wait for data to fully write to internal table
//LNA index
//LNA gain step from Table 35
//Write data
//Wait for data to fully write to internal table
//Clear write bit
//Stop clock
AD9361
Addr/Data
143,30
140,00
142
143,20
140,00
142
143,00
Addr/Data
Comment
145,0F
//Set maximum mixer gain index (always 0x0F)
15D,xx
//Maximum LNA Gain (from Table 35)
Rev. A
| Page 53 of 128
Comment
//Setup to read LNA error words from Rx1
//Set LNA index address to 0
//Read LNA error for index 0. Store in non-volatile table
//Setup to read Mixer Error Words from Rx1
//Set Mixer Index address to 0
//Read Mixer error for index 0. Store in non-volatile table
//Put calibration register back to default
UG-570

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AD9361 and is the answer not in the manual?

Table of Contents

Save PDF