//************************************************************
// AD9361 R2 Auto Generated Initialization Script:  This script was
// generated using the AD9361 Customer software Version 2.1.3
//************************************************************
// Profile: Custom
// REFCLK_IN: 38.400 MHz
RESET_FPGA
RESET_DUT
BlockWrite 2,6 // Set ADI FPGA SPI to 20Mhz
SPIWrite 3DF,01 // Required for proper operation
ReadPartNumber
SPIWrite 2A6,0E // Enable Master Bias
SPIWrite 2A8,0E // Set Bandgap Trim
REFCLK_Scale 38.400000,1,2 // Sets local variables in script engine, user can ignore
SPIWrite 292,08 // Set DCXO Coarse Tune[5:0].  Coarse and Fine nominal values used with eval system.  Other nominal values may be needed in a customer system
SPIWrite 293,80 // Set DCXO Fine Tune [12:5]
SPIWrite 294,00 // Set DCXO Fine Tune [4:0]
SPIWrite 2AB,07 // Set RF PLL reflclk scale to REFCLK * 2
SPIWrite 2AC,FF // Set RF PLL reflclk scale to REFCLK * 2
SPIWrite 009,07 // Enable Clocks
WAIT 20 // waits 20 ms
//************************************************************
// Set BBPLL Frequency: 983.040000
//************************************************************
SPIWrite 045,00 // Set BBPLL reflclk scale to REFCLK /1
SPIWrite 046,04 // Set BBPLL Loop Filter Charge Pump current
SPIWrite 048,E8 // Set BBPLL Loop Filter C1, R1
SPIWrite 049,5B // Set BBPLL Loop Filter R2, C2, C1
SPIWrite 04A,35 // Set BBPLL Loop Filter C3,R2
SPIWrite 04B,E0 // Allow calibration to occur and set cal count to 1024 for max accuracy
SPIWrite 04E,10 // Set calibration clock to REFCLK/4 for more accuracy
SPIWrite 043,00 // BBPLL Freq Word (Fractional[7:0])
SPIWrite 042,20 // BBPLL Freq Word (Fractional[15:8])
SPIWrite 041,13 // BBPLL Freq Word (Fractional[23:16])
SPIWrite 044,19 // BBPLL Freq Word (Integer[7:0])
SPIWrite 03F,05 // Start BBPLL Calibration
SPIWrite 03F,01 // Clear BBPLL start calibration bit
SPIWrite 04C,86 // Increase BBPLL KV and phase margin
SPIWrite 04D,01 // Increase BBPLL KV and phase margin
SPIWrite 04D,05 // Increase BBPLL KV and phase margin
WAIT_CALDONE BBPLL,2000 // Wait for BBPLL to lock, Timeout 2sec, Max BBPLL VCO Cal Time: 360.000 us (Done when 0x05E[7]==1)
SPIRead 05E // Check BBPLL locked status  (0x05E[7]==1 is locked)
SPIWrite 002,DE // Setup Tx Digital Filters/ Channels
SPIWrite 003,DE // Setup Rx Digital Filters/ Channels
SPIWrite 004,03 // Select Rx input pin(A,B,C)/ Tx out pin (A,B)
SPIWrite 00A,02 // Set BBPLL post divide rate
//************************************************************
// Program Tx FIR: C:\Program Files\Analog Devices\AD9361R2
// Evaluation Software 2.1.3\DigitalFilters\LTE10_MHz.ftr
//************************************************************
SPIWrite 065,FA // Enable clock to Tx FIR Filter and set Filter gain Setting
SPIWrite 060,00 // Write FIR coefficient address
SPIWrite 061,FB // Write FIR coefficient data[7:0]
SPIWrite 062,FF // Write FIR coefficient
data[15:8]
SPIWrite 065,FE // Set Write EN to push data into FIR filter register map
SPIWrite 064,00 // Write to Read only register to delay ~1us
SPIWrite 064,00 // Write to Read only register to delay ~1us
SPIWrite 060,01
SPIWrite 061,00
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,02
SPIWrite 061,04
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,03
SPIWrite 061,17
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,04
SPIWrite 061,24
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,05
SPIWrite 061,28
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,06
SPIWrite 061,13
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,07
SPIWrite 061,F3
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,08
SPIWrite 061,DC
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,09
SPIWrite 061,E5
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,0A
SPIWrite 061,0B
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,0B
SPIWrite 061,30
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,0C
SPIWrite 061,2E
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,0D
SPIWrite 061,FE
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,0E
SPIWrite 061,C4
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,0F
SPIWrite 061,B8
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,10
SPIWrite 061,F0
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,11
SPIWrite 061,45
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,12
SPIWrite 061,68
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,13
SPIWrite 061,2B
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,14
SPIWrite 061,B6
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,15
SPIWrite 061,72
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,16
SPIWrite 061,AD
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,17
SPIWrite 061,47
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,18
SPIWrite 061,B8
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,19
SPIWrite 061,88
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,1A
SPIWrite 061,C8
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,1B
SPIWrite 061,1C
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,1C
SPIWrite 061,33
S
PIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,1D
SPIWrite 061,1A
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,1E
SPIWrite 061,10
SPIWrite 062,01
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,1F
SPIWrite 061,24
SPIWrite 062,01
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,20
SPIWrite 061,19
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,21
SPIWrite 061,C8
SPIWrite 062,FE
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,22
SPIWrite 061,74
SPIWrite 062,FE
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,23
SPIWrite 061,9A
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,24
SPIWrite 061,56
SPIWrite 062,01
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,25
SPIWrite 061,08
SPIWrite 062,02
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,26
SPIWrite 061,D3
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,27
SPIWrite 061,9B
SPIWrite 062,FE
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,28
SPIWrite 061,68
SPIWrite 062,FD
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,29
SPIWrite 061,96
SPIWrite 062,FE
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,2A
SPIWrite 061,5D
SPIWrite 062,01
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,2B
SPIWrite 061,3F
SPIWrite 062,03
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,2C
SPIWrite 061,36
SPIWrite 062,02
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,2D
SPIWrite 061,CD
SPIWrite 062,FE
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,2E
SPIWrite 061,00
SPIWrite 062,FC
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,2F
SPIWrite 061,B5
SPIWrite 062,FC
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,30
SPIWrite 061,D7
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,31
SPIWrite 061,E5
SPIWrite 062,04
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
dz模板安装教程SPIWrite 060,32
SPIWrite 061,CC
SPIWrite 062,04
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,33
SPIWrite 061,D5
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,34
SPIWrite 061,FE
SPIWrite 062,F9
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,35
SPIWrite 061,FB
SPIWrite 062,F8
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,36
SPIWrite 061,F2
SPIWrite 062,FE
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,37
SPIWrite 061,8C
SPIWrite 062,07
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,38
SPIWrite 061,AE
SPIWrite 062,0A
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,39
SPIWrite 061,6D
SPIWrite 062,03
SPIWrite 065,FE
SPIWrite
064,00
SPIWrite 064,00
SPIWrite 060,3A
SPIWrite 061,C0
SPIWrite 062,F5
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,3B
SPIWrite 061,89
SPIWrite 062,ED
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,3C
SPIWrite 061,85
SPIWrite 062,F6
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,3D
SPIWrite 061,AF
SPIWrite 062,12
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,3E
SPIWrite 061,A4
SPIWrite 062,36
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,3F
SPIWrite 061,AA
SPIWrite 062,4F
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,40
SPIWrite 061,AA
SPIWrite 062,4F
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,41
SPIWrite 061,A4
SPIWrite 062,36
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,42
SPIWrite 061,AF
SPIWrite 062,12
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,43
SPIWrite 061,85
SPIWrite 062,F6
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,44
SPIWrite 061,89
SPIWrite 062,ED
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,45
SPIWrite 061,C0
SPIWrite 062,F5
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,46
SPIWrite 061,6D
SPIWrite 062,03
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,47
SPIWrite 061,AE
SPIWrite 062,0A
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,48
SPIWrite 061,8C
SPIWrite 062,07
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,49
SPIWrite 061,F2
SPIWrite 062,FE
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,4A
SPIWrite 061,FB
SPIWrite 062,F8
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,4B
SPIWrite 061,FE
SPIWrite 062,F9
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,4C
SPIWrite 061,D5
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,4D
SPIWrite 061,CC
SPIWrite 062,04
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,4E
SPIWrite 061,E5
SPIWrite 062,04
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,4F
SPIWrite 061,D7
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,50
SPIWrite 061,B5
SPIWrite 062,FC
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,51
SPIWrite 061,00
SPIWrite 062,FC
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,52
SPIWrite 061,CD
SPIWrite 062,FE
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,53
SPIWrite 061,36
SPIWrite 062,02
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,54
SPIWrite 061,3F
SPIWrite 062,03
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,55
SPIWrite 061,5D
SPIWrite 062,01
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,56
SPIWrite 061,96
SPIWrite 062,FE
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,57
SPIWrite 061,68
SPIWrite 062,FD
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,58
SPIWrite 061,9B
SPIWrite 062,FE
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,59
SPIWrite 061,D3
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,5A
SPIWrite 061,08
SPIWrite 062,02
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,5B
SPIWrite 061,56
SPIWrite 062,01
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,5C
SPIWrite 061,9A
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,5D
SPIWrite 061,74
SPIWrite 062,FE
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,5E
SPIWrite 061,C8
SPIWrite 062,FE
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,5F
SPIWrite 061,19
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,60
SPIWrite 061,24
SPIWrite 062,01
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,61
SPIWrite 061,10
SPIWrite 062,01
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,62
SPIWrite 061,1A
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,63
SPIWrite 061,33
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,64
SPIWrite 061,1C
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,65
SPIWrite 061,C8
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,66
SPIWrite 061,88
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,67
SPIWrite 061,B8
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,68
SPIWrite 061,47
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,69
SPIWrite 061,AD
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,6A
SPIWrite 061,72
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,6B
SPIWrite 061,B6
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,6C
SPIWrite 061,2B
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,6D
SPIWrite 061,68
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,6E
SPIWrite 061,45
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,6F
SPIWrite 061,F0
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,70
SPIWrite 061,B8
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,71
SPIWrite 061,C4
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,72
SPIWrite 061,FE
SPIWrite 062,FF
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,73
SPIWrite 061,2E
SPIWrite 062,00
SPIWrite 065,FE
SPIWrite 064,00
SPIWrite 064,00
SPIWrite 060,74
SPIWrite 061,30
SPIWrite 062,00
SPIWrite

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。