Analog.com Analog Dialogue Wiki English
Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Site
  • User
  • Site
  • Search
  • User
EngineerZone
EngineerZone
  • Log in
  • Site
  • Search
  • Log in
  • Home
  • Blogs ⌵
    • EngineerZone Spotlight
    • The Engineering Mind
  • Browse ⌵
    • All Groups
    • All Members
  • Support ⌵
    • 3D ToF Depth Sensing
    • Amplifiers
    • Analog Microcontrollers
    • Analysis Control Evaluation (ACE) Software
    • Audio
    • Clock and Timing
    • Data Converters
    • Design Tools and Calculators
    • Direct Digital Synthesis (DDS)
    • Embedded Vision Sensing
    • Energy Monitoring and Metering
    • FPGA Reference Designs
    • Industrial Ethernet
    • Interface and Isolation
    • Low Power RF Transceivers
    • MEMS Inertial Sensors
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Power By Linear
    • Processors and DSP
    • Reference Circuits
    • RF and Microwave
    • Signal Chain Power (SCP)
    • Switches/Multiplexers
    • Temperature Sensors
    • Video
    • Wide Band RF Transceivers
    • Wireless Sensor Networks Reference Library
  • My EZ
  • More
  • Cancel
  • 主页
  • 浏览 ⌵
    • 收件箱
    • 个人设置
    • 会员
    • 专区列表
  • 论坛专区 ⌵
    • 放大器专区
    • 精密转换器专区
    • 音频专区
    • ADE电能计量专区
    • MEMS和传感器专区
    • 接口和隔离专区
    • Power 中文专区
    • ADUC微处理器专区
    • 锁相环专区
    • 开关和多路复用器专区
    • 温度传感器
    • 基准电压源专区
    • 资源库
    • 论坛使用指南
    • 技术支持参考库
    • 在线研讨会
    • 论坛社群活动
    • 论坛激励活动
  • More
  • Cancel
Design Support AD9361/AD9363/AD9364
  • Wide Band RF Transceivers
  • More
Design Support AD9361/AD9363/AD9364
Documents AD9361 Transmit Quadrature Calibration (Tx Quad Cal)
  • Q&A
  • Discussions
  • Documents
  • File Uploads
  • Video/Images
  • Tags
  • Managers
  • More
  • Cancel
  • New
Design Support AD9361/AD9363/AD9364 requires membership for participation - click to join
  • Documents
  • AD9361 initialization scripts
  • AD9361 Transmit Quadrature Calibration (Tx Quad Cal)
  • AD9361/4 SYNTHESIZER LOOK UP TABLE
  • AD936x Built in Self Test (BIST)
  • AD936x digital interface capacitive load drive in CMOS mode
  • AD936x documentation changes
  • AD936x Local Oscillator [LO]
  • AD936x maximum Rx digital path data rates
  • AD936x Rx ADC basic operation and output rates
  • AD936x Temperature sensor
  • AD936x_DCOFFSET_ISSUE
  • DESIGN SUPPORT COMMUNITY
  • Gain Tables in .csv format
  • General RF Front End Matching Methodology
  • GUIDELINES FOR ACCESSING TECHNICAL SUPPORT
  • Hand On Wireless Communications Seminar (Feb-Mar 2018)
  • Noise Figure vs. Gain Index Plots
  • Out-of-Band and In-Band IIP3 Measurements
  • TDD Mode Switching Time
  • Transmit Power monitor (TPM) AD936x

AD9361 Transmit Quadrature Calibration (Tx Quad Cal)

Introduction

The AD9361 Tx Quadrature calibration algorithm use calibration signals generated by two internal Numerically Controlled Oscillators (NCOs) in order to optimally configure the transmit chain(s). The two NCOs are referred to as the Rx NCO and the Tx NCO, and are controlled by registers 0x0A0 and 0x0A3. The user must determine the optimal configuration of these two registers. This document explains how these registers may be optimally configured.

NCO Frequency

The frequency of the NCOs is controllable through register writes:

NCO Frequency Frequency Bits
Rx

0x0A0[D6:D5]

Tx

0x0A3[D7:D6]

Table 1: NCO Frequency Bits

The frequencies of the two NCOs should be equal. However the settings of the bits noted in   may not be the same, as the NCO frequency settings depend on the frequencies of the CLKRF (clock frequency of the RxFIR input) and CLKTF (clock frequency of the TxFIR output) which may not be equal. The equations which set the frequencies are as follows:

Equation 1

Equation 2

It is important that this frequency be chosen such that it is within the baseband bandwidth of both the Tx and Rx chains to ensure that the analog and digital filtering does not attenuate these signals.

Rx NCO Phase Offset

The Rx NCO Phase Offset compensates for the delay of the signal through the signal path. There are 32 possible phase settings for the NCO Phase Offset which are programmed in 0x0A0[D4:D0]. The correct phase offset to use depends on the delay in the signal path, which is directly related to the digital filter settings.

In order to find the optimal Rx NCO Phase Offset, the 32 possible settings should be analysed based on the Quadrature Error (Image Size) and LO leakage out of the Tx when these NCO settings are used. The procedure for finding the correct NCO Phase Error is as follows:

1.        Configure the part as per the custom profile required.

2.        Set the part up to transmit a single tone within the B/W of the custom profile and move the ENSM into Tx state (FDD or TDD).

3.        Choose the NCO frequency settings, ensuring that the Rx and Tx frequencies are the same.

a.        Set the Rx NCO frequency bits 0x0A0[D6:D5] as per Equation 1.

b.       Read the value of 0x0A3.

c.        Set the Tx NCO Frequency bits 0x0A3[D7:D6]  as per Equation 2, making sure not to modify bits [D5:D0].

4.        Then for all values, i, between 0 and 31:

a.        Transition the part into the Alert state.

b.       Turn off Rx tracking if enabled by your custom profile (0x169 = 0xC0).

c.        Read the value of 0x0A0.

d.       Set the NCO Phase Delay 0x0A0[D4:D0]=i, making sure not to change bits [D6:D5].

e.        Rerun quadrature calibration (0x016=0x10).

f.         Turn back on Rx tracking if originally enabled (0x169 = 0xCF).

g.        Transition the part into the Tx state.

h.       Note the level of the LO leakage and the Image at the Tx output.

5.        Select the optimal value of 0x0A0[D4:D0], based on the largest amount of Image and LO rejection and include the settings used for 0x0A0 and 0x0A3 in your custom profile with which you configure the AD9361.

Having run this sequence the user should obtain a number of measurements as per Figure 2. A graph can then be compiled of these results as shown in Figure 1.  All values are in decimal in figures 1 and 2.

Figure 1

Figure 2--Click on the picture above to enlarge

In Figure 2, the largest tone to the right hand side of each plot is the desired single tone.  The smaller tone in the middle of each plot is the undesired local oscillator (LO) feedthrough and the tone to the far left of each plot is the undesired image.

As shown in Figure 1, a range of Rx NCO phase delay of between 17 and 24 would result in good Tx Quadrature calibration results. In this case, an Rx NCO phase delay of 21 (0x0A0[D4:D0]=0x15) would be selected as the optimal setting. This is chosen based on being a local minima for both the LO feed through and image. It is also close to the mid-point of acceptable values.

  • nco_phase_offset
  • tx
  • nco_phase_delay
  • nco
  • Share
  • History
  • More
  • Cancel
Comments
Anonymous

Top Comments

  • Ramamohan
    Ramamohan over 7 years ago +1

    Hi Pwiers,

    We are using the AD9361 trasceiver in our products. From the customer scripts, the SPI registers have the values as given below.

    SPIWrite     A0, 15

    SPIWrite     A3,  0

    With this set of values…

  • sripad
    sripad
    •  Analog Employees 
    over 4 years ago

    We recommend to use latest ADI drivers.

    AD9361 No-OS Software [Analog Devices Wiki]  

    Are you enabling QEC after setting this registers every time. 

    From values used you are not setting any RX and TX NCO frequency, please follow all the steps described in above document.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • Ramamohan
    Ramamohan over 7 years ago

    Hi Pwiers,

    We are using the AD9361 trasceiver in our products. From the customer scripts, the SPI registers have the values as given below.

    SPIWrite     A0, 15

    SPIWrite     A3,  0

    With this set of values, the LO feedthrough in TX output is at -30 dBm. We have tried changing these registers with all the combination possible. But -30dBm is the best we can get in the output.

    In the figure 2 from your post it shows -55 dBm for A0 = 21 (0x15). We need to bring down the LO feedthrough to this value.

    Can you please suggest any other settings that can give this -55dBm LO feedthrough.

    Also I have tried changing the AUX DAC registers. However the best LO feedthrough is still -30 dBm.

    Thank you.

    Ramamohan

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
Related
 
社交网络
快速链接
  • 关于ADI
  • Partners
  • 模拟对话
  • 职业
  • 联系我们
  • 投资信息
  • 新闻中心
  • 质量和可靠性
  • 办事处与代理商
  • Analog Garage
语言
  • English
  • 简体中文
  • 日本語
  • Руccкий
电子快讯

欲获得最新ADI产品、设计工具、培训与活动的相关新闻与文章,请从我们的在线快讯中选出您感兴趣的产品类别,每月或每季度都会发送至您的收件箱。

订阅
Switch to mobile view
Analog Logo
© 1995 - 2021 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2021 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • 网站地图
  • 隐私和保密政策
  • 隐私设置
  • 使用条款
 
Social
Quick Links
  • About ADI
  • Partners
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Analog Garage
Languages
  • English
  • 简体中文
  • 日本語
  • Руccкий
Newsletters

Interested in the latest news and articles about ADI products, design tools, training and events? Choose from one of our 12 newsletters that match your product area of interest, delivered monthly or quarterly to your inbox.

Sign Up
Switch to mobile view
Analog Logo
© 1995 - 2021 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2021 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • Sitemap
  • Privacy & Security
  • Privacy Settings
  • Terms of use
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.