groupUrl: https://ez.analog.com/dds/
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 ⌵
  • Browse ⌵
    • All Groups
    • All Members
  • Support ⌵
    • 3D ToF Depth Sensing
    • A2B
    • Aerospace and Defense (ADEF)
    • Amplifiers
    • Analog Microcontrollers
    • Analysis Control Evaluation (ACE) Software
    • Audio
    • Clock and Timing
    • Condition-Based Monitoring
    • 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 Management
    • Precision Technology Signal Chains
    • 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
  • About EZ
  • More
  • Cancel
  • 主页
  • 浏览 ⌵
    • 收件箱
    • 个人设置
    • 会员
    • 专区列表
  • 论坛专区 ⌵
    • 放大器专区
    • 精密转换器专区
    • 音频专区
    • ADE电能计量专区
    • MEMS和传感器专区
    • 接口和隔离专区
    • Power 中文专区
    • ADUC微处理器专区
    • 锁相环专区
    • 开关和多路复用器专区
    • 温度传感器
    • 基准电压源专区
    • 资源库
    • 论坛使用指南
    • 技术支持参考库
    • 在线研讨会
    • 论坛社群活动
    • 论坛激励活动
  • More
  • Cancel
Direct Digital Synthesis (DDS)
Direct Digital Synthesis (DDS)
Documents AD9953: How to write RAM
  • Q&A
  • Discussions
  • Documents
  • Tags
  • Managers
  • More
  • Cancel
  • New
Direct Digital Synthesis (DDS) requires membership for participation - click to join
  • Documents
  • +AD5930: FAQ
  • +AD5932: FAQ
  • +AD5933: FAQ
  • +AD5934: FAQ
  • +AD9152: FAQ
  • +AD9830: FAQ
  • +AD9832: FAQ
  • +AD9833: FAQ
  • +AD9834: FAQ
  • +AD9835: FAQ
  • +AD9837: FAQ
  • +AD9838: FAQ
  • +AD9840: FAQ
  • +AD9840A: FAQ
  • +AD9845A: FAQ
  • +AD9850: FAQ
  • +AD9851: FAQ
  • +AD9852: FAQ
  • +AD9854: FAQ
  • +AD9854ASQ: FAQ
  • +AD9856: FAQ
  • +AD9857: FAQ
  • +AD9858: FAQ
  • +AD9859: FAQ
  • +AD9910: FAQ
  • +AD9912: FAQ
  • +AD9913: FAQ
  • +AD9914: FAQ
  • +AD9915: FAQ
  • +AD9945: FAQ
  • +AD9951: FAQ
  • +AD9952: FAQ
  • -AD9953: FAQ
    • AD9953: Crystal specification
    • AD9953: Design questions
    • AD9953: Generating a signal in the 50-90MHz range
    • AD9953: How to write RAM
    • Ad9953: Several issues
  • +AD9954: FAQ
  • +AD9956: FAQ
  • +AD9957: FAQ
  • +AD9958: FAQ
  • +AD9959: FAQ
  • +DDS: FAQ
  • +Digital Ground (DGND): FAQ
  • +Evaluation Software: FAQ
  • +Frequency Ramp: FAQ
  • +I/O_UPDATE: FAQ
  • +Maximum Clock Rate: FAQ
  • +PLL: FAQ
  • +Programmable Modulus: FAQ
  • +SFDR: FAQ
  • +Thermally Enhanced Packages: FAQ

AD9953: How to write RAM

Q 

1. What is the sequence to send to the serial port in order to write the RAM?
  
  Is it    
RamSerialAddr(0x0B) +  POW n°1 + rising_edge on IOupdate repeated for n POW
  or
           
RamSerialAddr(0x0B) +  POW n°1 + POWn°2 + ...+ POWn°n + rising_edge on IOupdate

  or
       
RamSerialAddr(0x0B) + RamAddr[0..1024] + POWn°1 + rising_edge on IOupdate ? 
repeated for n POW.

  or something else?
  
  2. I want to  first write the RAM, then I use DDS changing frequency by FTW,
and Finnally I use RAM I programmed earlier. How do I enable/disable RAM? (by
using CFR1<31> bit (Enable RAM)?). If this bit is low is it possible to write
the RAM?
  
  3. Do an easy way exists to verify that the RAM is well programmed?
(Except watch the frequency variation on the DDS output)

 

A 

1. The second option that you suggest is the correct one.
Firstly you write the control words to the RAM segment you want to address.
Then you set the PS0 and PS1 pins to select that segment.
then you send the instruction byte in the format shown on page 27 of the
datasheet, MSB is 0 for a WRITE operation, the address is 0x0B.
Then you send the sufficient number of 32bit words to fill the space defined by
the RAM segment beginning address and RAM segment end address.
The AD9953 uses the PS1~0 pins and the RAM segment control registers to work
out how many words to expect and where to place them in memory.

The 5th paragraph on the left of p 19 implies that no I/O UPDATE pulse is
required and that the RAM controller parses the values and writes them directly
into RAM.

2. If you set CFR1<31> to 0 then the RAM is powered down and will lose any
contents written to it.
To retain RAM contents, an need to set CFR1<31> to 1 and then program one of
the RAM segments in DIRECT SWITCH mode and with the start and finish addresses
identical. That way the segment will allow you to generate a sinusoid. If you
program the RAM destination bit to logic 1 then the freqency is controlled by
FTW0. See the section on direct switch mode on page 19.

3. You can read back the values from RAM by programming a 1 into the MSB of the
instruction byte.

  • ad9953
  • Share
  • History
  • More
  • Cancel
Comments
Anonymous
  • ykpercy
    ykpercy over 6 years ago

    execuse me,if I want to write 180 degrees into RAM.should I write 180 same phase?

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

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

订阅
Switch to mobile view
Analog Logo
© 1995 - 2022 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2022 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 - 2022 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2022 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.