Chien-Jung Li
Nov. 2013
Analog Devices
ADF4113 Frequency Synthesizer
2
Analog Devices ADF4113
3
ADF4113 Spec. Abstract
RF characteristics were not shown, since we are focusing the design of digital
interface here.
DSN-3019 Spec. (I guess 3.3V DVDD is used in the packaged module)
4
Timing Diagram
10 ns 10 ns
25 ns 25 ns
10 ns
2 ns
It’s quite easy to meet the timing requirement.
MSB go first
24-bits
5
ADF4113 Pin Function
Digital Section:
1. 24-bit input shift register / 14-bit R counter / 19-bit N counter (6-bit A counter + 13-bit B
counter).
2. Data is clocked into the 24-bit shift register on each rising edge of CLK MSB first.
3. Data is transferred from the shift register to one of four latches on the rising edge of LE. The
destination latch is determined by the state of the two control bits (C2, C1) in the shift
register. These are the two LSBs, DB1 and DB0, as shown in Figure 2. The truth table for
these bits is shown in Table 5.
6
4 Types of the Latches
7
R Counter Latch
(0, 0)
14-bits div. ratio (0 is not allowed)
PFD deadzone cancel
(0, 0)
normal
How LD is set
(not important)
Not important
Byte[2]
Byte[1] Byte[0]
8
N Counter Latch
Byte[2]
Byte[1] Byte[0]
9
Function Latch
Byte[2] Byte[1] Byte[0]
詳細功能自行閱讀Datasheet
10
晶片初始化
11
測試結果 (I) – 初始化
1. Init: 80,00,C3 = 1000, 0000, 0000, 0000, 1100, 0011
2. R = 00,00,28 = 0000, 0000, 0000, 0000, 0010, 1000
3. N = 00,4C,49 = 0000, 0000, 0100, 1100, 0100, 1001
Initial Latch
12
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 1
Div32
Normal
ICP0 TCOUNTER0
Fast Lock Disable
Normal
+ RDIV
Normal
Init Latch
0x8000C3
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0
R Latch
Normal 3 cycleNormal 3 ns 10 Dec
0x000028
0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 1 0 0 1 0 0 1
N LatchGain1 18 Dec76 Dec
0x004C49
P = 32, B = 76, A = 18, R = 10
13
測試結果 (II) – 設定頻率為2476 MHz
Function Latch
1. Func: 80,00,C2 = 1000, 0000, 0000, 0000, 1100, 0010
2. R = 00,00,28 = 0000, 0000, 0000, 0000, 0010, 1000
3. N = 00,4D,31 = 0000, 0000, 0100, 1101, 0011, 0001
A = 12 DecB = 77 Dec
R= 10 Dec
P= 32 Dec
14
測試結果 (III) – 更改功能並設新頻率
 功能改為LD精度5 Cycles, abp時間1.5ns, 電流量為ICP6, counter控制為43個
PFD cycles, MUX設為除N輸出
 頻率改為2423 MHz
1. Func: 9B,50,A2 = 1001, 1011, 0101, 0000, 1010, 0010
2. R = 11,00,28 = 0001, 0001, 0000, 0000, 0010, 1000
3. N = 00,4B,5D = 0000, 0000, 0100, 1011, 0101, 1101
ICP6 (datasheet上的CPI6) 43 PFD Cycles 除N輸出
A = 23 DecB = 75 Dec
R= 10 Dec
P= 32 Dec
15
API函數
 在main()中可以呼叫以下三種函數來設定Synthesizer
 HalSynInit(void):初始化晶片,在main()開頭使用,
只要初始化一次即可(寫在while(1)的super loop外)。
 HalSynStart(uint16 rf_Freq):使晶片開始於新設
定的頻率,rf_Freq填入數字即可,單位是MHz。例如要
設定新頻率為2558 MHz,使用HalSynStart(2558)即可。
 halSynSetFunc(uint8 funcSet, uint8 mode) :
設 定 晶 片 功 能 , 第 一 欄 填 寫 設 定 之 類 型 ( 見
hal_adf4113.h) , 第 二 欄 填 寫 要 更 改 的 功 能 屬 性 ( 見
hal_adf4113.h)。
extern uint8 HalSynInit(void);
extern uint8 HalSynStart(uint16 rf_Freq);
extern uint8 halSynSetFunc(uint8 funcSet, uint8 mode);
16
應用程式main()
#include <ioAT89C52.h>
#include "hal_adf4113.h"
#define BTN1 P3_bit.P3_2
#define BTN2 P3_bit.P3_3
void main()
{
TriWire_LE = 0;
BTN1 = 1;
BTN2 = 1;
HalSynInit();
while(1)
{
if (BTN1 == 0) {
delayms(50);
if (BTN1 == 0){
while(BTN1 == 0);
HalSynStart(2476);
}
}
if (BTN2 == 0) {
delayms(50);
if (BTN2 == 0){
while(BTN2 == 0);
halSynSetFunc(ADF4113_SET_LD_PREC, ADF4113_LD_PREC_5CYCLE);
halSynSetFunc(ADF4113_SET_ABP, ADF4113_ANTI_WIDTH_1P5NS);
halSynSetFunc(ADF4113_SET_CURRENT, ADF4113_ICP6);
halSynSetFunc(ADF4113_SET_COUNTER_CONT, ADF4113_TCOUNTER10);
halSynSetFunc(ADF4113_SET_MUX, ADF4113_MUX_DIVN_OUT);
HalSynStart(2423);
}
}
}
}
功能設定可以重複調用,等所有功能都設定完,
最後記得執行HalSynStart()才會送出設定訊號給晶片
3-wire I/O設定在 hal_adf4113.h 裡面

More Related Content

PDF
深入淺出C語言
PDF
射頻電子 - [實驗第一章] 基頻放大器設計
PDF
Multiband Transceivers - [Chapter 1]
PDF
Agilent ADS 模擬手冊 [實習1] 基本操作與射頻放大器設計
PDF
射頻電子 - [第一章] 知識回顧與通訊系統簡介
PDF
Agilent ADS 模擬手冊 [實習3] 壓控振盪器模擬
PDF
射頻電子 - [實驗第二章] I/O電路設計
PDF
射頻電子 - [第三章] 史密斯圖與阻抗匹配
深入淺出C語言
射頻電子 - [實驗第一章] 基頻放大器設計
Multiband Transceivers - [Chapter 1]
Agilent ADS 模擬手冊 [實習1] 基本操作與射頻放大器設計
射頻電子 - [第一章] 知識回顧與通訊系統簡介
Agilent ADS 模擬手冊 [實習3] 壓控振盪器模擬
射頻電子 - [實驗第二章] I/O電路設計
射頻電子 - [第三章] 史密斯圖與阻抗匹配

What's hot (20)

PDF
射頻電子 - [第四章] 散射參數網路
PDF
RF Module Design - [Chapter 5] Low Noise Amplifier
PDF
射頻電子實驗手冊 [實驗1 ~ 5] ADS入門, 傳輸線模擬, 直流模擬, 暫態模擬, 交流模擬
PPTX
專題製作發想與報告撰寫技巧
PDF
Agilent ADS 模擬手冊 [實習2] 放大器設計
PDF
射頻電子 - [第六章] 低雜訊放大器設計
PDF
RF Circuit Design - [Ch1-1] Sinusoidal Steady-state Analysis
PDF
射頻電子 - [實驗第四章] 微波濾波器與射頻多工器設計
PDF
RF Module Design - [Chapter 1] From Basics to RF Transceivers
PDF
射頻電子實驗手冊 - [實驗8] 低雜訊放大器模擬
PDF
RF Circuit Design - [Ch3-2] Power Waves and Power-Gain Expressions
PDF
Phase-locked Loops - Theory and Design
PDF
Multiband Transceivers - [Chapter 4] Design Parameters of Wireless Radios
PPT
lecture5.ppt
PDF
射頻電子 - [第五章] 射頻放大器設計
PPTX
傳輸線理論
PDF
Multiband Transceivers - [Chapter 7] Multi-mode/Multi-band GSM/GPRS/TDMA/AMP...
PDF
RF Module Design - [Chapter 8] Phase-Locked Loops
PPTX
Voltage Controlled Oscillator Design - Short Course at NKFUST, 2013
PDF
RF Circuit Design - [Ch4-1] Microwave Transistor Amplifier
射頻電子 - [第四章] 散射參數網路
RF Module Design - [Chapter 5] Low Noise Amplifier
射頻電子實驗手冊 [實驗1 ~ 5] ADS入門, 傳輸線模擬, 直流模擬, 暫態模擬, 交流模擬
專題製作發想與報告撰寫技巧
Agilent ADS 模擬手冊 [實習2] 放大器設計
射頻電子 - [第六章] 低雜訊放大器設計
RF Circuit Design - [Ch1-1] Sinusoidal Steady-state Analysis
射頻電子 - [實驗第四章] 微波濾波器與射頻多工器設計
RF Module Design - [Chapter 1] From Basics to RF Transceivers
射頻電子實驗手冊 - [實驗8] 低雜訊放大器模擬
RF Circuit Design - [Ch3-2] Power Waves and Power-Gain Expressions
Phase-locked Loops - Theory and Design
Multiband Transceivers - [Chapter 4] Design Parameters of Wireless Radios
lecture5.ppt
射頻電子 - [第五章] 射頻放大器設計
傳輸線理論
Multiband Transceivers - [Chapter 7] Multi-mode/Multi-band GSM/GPRS/TDMA/AMP...
RF Module Design - [Chapter 8] Phase-Locked Loops
Voltage Controlled Oscillator Design - Short Course at NKFUST, 2013
RF Circuit Design - [Ch4-1] Microwave Transistor Amplifier
Ad

Viewers also liked (18)

PDF
RF Module Design - [Chapter 2] Noises
PDF
[嵌入式系統] MCS-51 實驗 - 使用 IAR (2)
PDF
RF Module Design - [Chapter 4] Transceiver Architecture
PDF
RF Module Design - [Chapter 7] Voltage-Controlled Oscillator
PDF
[嵌入式系統] 嵌入式系統進階
PDF
Multiband Transceivers - [Chapter 3] Basic Concept of Comm. Systems
PDF
RF Module Design - [Chapter 3] Linearity
PDF
Multiband Transceivers - [Chapter 2] Noises and Linearities
PDF
Multiband Transceivers - [Chapter 5] Software-Defined Radios
PDF
[嵌入式系統] MCS-51 實驗 - 使用 IAR (3)
PDF
[嵌入式系統] MCS-51 實驗 - 使用 IAR (1)
PDF
[ZigBee 嵌入式系統] ZigBee 應用實作 - 使用 TI Z-Stack Firmware
PDF
RF Module Design - [Chapter 6] Power Amplifier
PDF
[ZigBee 嵌入式系統] ZigBee Architecture 與 TI Z-Stack Firmware
PDF
Multiband Transceivers - [Chapter 7] Spec. Table
PDF
Multiband Transceivers - [Chapter 6] Multi-mode and Multi-band Transceivers
PDF
射頻電子 - [實驗第三章] 濾波器設計
PDF
全端物聯網探索之旅 - 重點整理版
RF Module Design - [Chapter 2] Noises
[嵌入式系統] MCS-51 實驗 - 使用 IAR (2)
RF Module Design - [Chapter 4] Transceiver Architecture
RF Module Design - [Chapter 7] Voltage-Controlled Oscillator
[嵌入式系統] 嵌入式系統進階
Multiband Transceivers - [Chapter 3] Basic Concept of Comm. Systems
RF Module Design - [Chapter 3] Linearity
Multiband Transceivers - [Chapter 2] Noises and Linearities
Multiband Transceivers - [Chapter 5] Software-Defined Radios
[嵌入式系統] MCS-51 實驗 - 使用 IAR (3)
[嵌入式系統] MCS-51 實驗 - 使用 IAR (1)
[ZigBee 嵌入式系統] ZigBee 應用實作 - 使用 TI Z-Stack Firmware
RF Module Design - [Chapter 6] Power Amplifier
[ZigBee 嵌入式系統] ZigBee Architecture 與 TI Z-Stack Firmware
Multiband Transceivers - [Chapter 7] Spec. Table
Multiband Transceivers - [Chapter 6] Multi-mode and Multi-band Transceivers
射頻電子 - [實驗第三章] 濾波器設計
全端物聯網探索之旅 - 重點整理版
Ad

Similar to ADF4113 Frequency Synthesizer 驅動程式實作 (20)

PPTX
PPTX
PDF
PDF
8051 Architecture, System Bus, Advantages
PPTX
How to use peripherals on MCB1700
PPTX
MICROCONTROLLER.pptx
TXT
Digital Voltmeter displaying voltage level on a seven segment display and com...
DOC
93 appendix pic18(l)f2 x4xk22 (1)
PDF
CY96F353PDFghnisbnidbgfidvieicudff fofigkidi
PPTX
Introduction to PIC.pptx
PDF
Lecture7
PDF
Pic24HJ256GP210 course 2015 09-23
PDF
Unit 5
PPTX
Basics Of Embedded Systems
PDF
microprocesadores _ Pic Datasheep 16f877
PDF
Pic16 f877 20p
PDF
PDF
Emeto_Chukwuemeka_7691553_A8
PPT
interruptsinterrupt handling types of interruptss.ppt
DOCX
# peripheral registers .equ PWR_BASE0x40007000 .equ PWR_CR0x00 .docx
8051 Architecture, System Bus, Advantages
How to use peripherals on MCB1700
MICROCONTROLLER.pptx
Digital Voltmeter displaying voltage level on a seven segment display and com...
93 appendix pic18(l)f2 x4xk22 (1)
CY96F353PDFghnisbnidbgfidvieicudff fofigkidi
Introduction to PIC.pptx
Lecture7
Pic24HJ256GP210 course 2015 09-23
Unit 5
Basics Of Embedded Systems
microprocesadores _ Pic Datasheep 16f877
Pic16 f877 20p
Emeto_Chukwuemeka_7691553_A8
interruptsinterrupt handling types of interruptss.ppt
# peripheral registers .equ PWR_BASE0x40007000 .equ PWR_CR0x00 .docx

Recently uploaded (20)

PDF
Unit1 - AIML Chapter 1 concept and ethics
PPTX
Management Information system : MIS-e-Business Systems.pptx
PPTX
CyberSecurity Mobile and Wireless Devices
PPTX
wireless networks, mobile computing.pptx
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PDF
Applications of Equal_Area_Criterion.pdf
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PDF
Prof. Dr. KAYIHURA A. SILAS MUNYANEZA, PhD..pdf
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PPTX
Module 8- Technological and Communication Skills.pptx
PDF
Implantable Drug Delivery System_NDDS_BPHARMACY__SEM VII_PCI .pdf
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PDF
Design Guidelines and solutions for Plastics parts
PPTX
Amdahl’s law is explained in the above power point presentations
PPTX
Petroleum Refining & Petrochemicals.pptx
PPTX
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
PDF
First part_B-Image Processing - 1 of 2).pdf
PDF
Java Basics-Introduction and program control
Unit1 - AIML Chapter 1 concept and ethics
Management Information system : MIS-e-Business Systems.pptx
CyberSecurity Mobile and Wireless Devices
wireless networks, mobile computing.pptx
distributed database system" (DDBS) is often used to refer to both the distri...
Applications of Equal_Area_Criterion.pdf
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
Prof. Dr. KAYIHURA A. SILAS MUNYANEZA, PhD..pdf
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
Module 8- Technological and Communication Skills.pptx
Implantable Drug Delivery System_NDDS_BPHARMACY__SEM VII_PCI .pdf
August -2025_Top10 Read_Articles_ijait.pdf
August 2025 - Top 10 Read Articles in Network Security & Its Applications
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
Design Guidelines and solutions for Plastics parts
Amdahl’s law is explained in the above power point presentations
Petroleum Refining & Petrochemicals.pptx
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
First part_B-Image Processing - 1 of 2).pdf
Java Basics-Introduction and program control

ADF4113 Frequency Synthesizer 驅動程式實作

  • 1. Chien-Jung Li Nov. 2013 Analog Devices ADF4113 Frequency Synthesizer
  • 3. 3 ADF4113 Spec. Abstract RF characteristics were not shown, since we are focusing the design of digital interface here. DSN-3019 Spec. (I guess 3.3V DVDD is used in the packaged module)
  • 4. 4 Timing Diagram 10 ns 10 ns 25 ns 25 ns 10 ns 2 ns It’s quite easy to meet the timing requirement. MSB go first 24-bits
  • 5. 5 ADF4113 Pin Function Digital Section: 1. 24-bit input shift register / 14-bit R counter / 19-bit N counter (6-bit A counter + 13-bit B counter). 2. Data is clocked into the 24-bit shift register on each rising edge of CLK MSB first. 3. Data is transferred from the shift register to one of four latches on the rising edge of LE. The destination latch is determined by the state of the two control bits (C2, C1) in the shift register. These are the two LSBs, DB1 and DB0, as shown in Figure 2. The truth table for these bits is shown in Table 5.
  • 6. 6 4 Types of the Latches
  • 7. 7 R Counter Latch (0, 0) 14-bits div. ratio (0 is not allowed) PFD deadzone cancel (0, 0) normal How LD is set (not important) Not important Byte[2] Byte[1] Byte[0]
  • 9. 9 Function Latch Byte[2] Byte[1] Byte[0] 詳細功能自行閱讀Datasheet
  • 11. 11 測試結果 (I) – 初始化 1. Init: 80,00,C3 = 1000, 0000, 0000, 0000, 1100, 0011 2. R = 00,00,28 = 0000, 0000, 0000, 0000, 0010, 1000 3. N = 00,4C,49 = 0000, 0000, 0100, 1100, 0100, 1001 Initial Latch
  • 12. 12 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 1 Div32 Normal ICP0 TCOUNTER0 Fast Lock Disable Normal + RDIV Normal Init Latch 0x8000C3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 R Latch Normal 3 cycleNormal 3 ns 10 Dec 0x000028 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 1 0 0 1 0 0 1 N LatchGain1 18 Dec76 Dec 0x004C49 P = 32, B = 76, A = 18, R = 10
  • 13. 13 測試結果 (II) – 設定頻率為2476 MHz Function Latch 1. Func: 80,00,C2 = 1000, 0000, 0000, 0000, 1100, 0010 2. R = 00,00,28 = 0000, 0000, 0000, 0000, 0010, 1000 3. N = 00,4D,31 = 0000, 0000, 0100, 1101, 0011, 0001 A = 12 DecB = 77 Dec R= 10 Dec P= 32 Dec
  • 14. 14 測試結果 (III) – 更改功能並設新頻率  功能改為LD精度5 Cycles, abp時間1.5ns, 電流量為ICP6, counter控制為43個 PFD cycles, MUX設為除N輸出  頻率改為2423 MHz 1. Func: 9B,50,A2 = 1001, 1011, 0101, 0000, 1010, 0010 2. R = 11,00,28 = 0001, 0001, 0000, 0000, 0010, 1000 3. N = 00,4B,5D = 0000, 0000, 0100, 1011, 0101, 1101 ICP6 (datasheet上的CPI6) 43 PFD Cycles 除N輸出 A = 23 DecB = 75 Dec R= 10 Dec P= 32 Dec
  • 15. 15 API函數  在main()中可以呼叫以下三種函數來設定Synthesizer  HalSynInit(void):初始化晶片,在main()開頭使用, 只要初始化一次即可(寫在while(1)的super loop外)。  HalSynStart(uint16 rf_Freq):使晶片開始於新設 定的頻率,rf_Freq填入數字即可,單位是MHz。例如要 設定新頻率為2558 MHz,使用HalSynStart(2558)即可。  halSynSetFunc(uint8 funcSet, uint8 mode) : 設 定 晶 片 功 能 , 第 一 欄 填 寫 設 定 之 類 型 ( 見 hal_adf4113.h) , 第 二 欄 填 寫 要 更 改 的 功 能 屬 性 ( 見 hal_adf4113.h)。 extern uint8 HalSynInit(void); extern uint8 HalSynStart(uint16 rf_Freq); extern uint8 halSynSetFunc(uint8 funcSet, uint8 mode);
  • 16. 16 應用程式main() #include <ioAT89C52.h> #include "hal_adf4113.h" #define BTN1 P3_bit.P3_2 #define BTN2 P3_bit.P3_3 void main() { TriWire_LE = 0; BTN1 = 1; BTN2 = 1; HalSynInit(); while(1) { if (BTN1 == 0) { delayms(50); if (BTN1 == 0){ while(BTN1 == 0); HalSynStart(2476); } } if (BTN2 == 0) { delayms(50); if (BTN2 == 0){ while(BTN2 == 0); halSynSetFunc(ADF4113_SET_LD_PREC, ADF4113_LD_PREC_5CYCLE); halSynSetFunc(ADF4113_SET_ABP, ADF4113_ANTI_WIDTH_1P5NS); halSynSetFunc(ADF4113_SET_CURRENT, ADF4113_ICP6); halSynSetFunc(ADF4113_SET_COUNTER_CONT, ADF4113_TCOUNTER10); halSynSetFunc(ADF4113_SET_MUX, ADF4113_MUX_DIVN_OUT); HalSynStart(2423); } } } } 功能設定可以重複調用,等所有功能都設定完, 最後記得執行HalSynStart()才會送出設定訊號給晶片 3-wire I/O設定在 hal_adf4113.h 裡面