資料介紹

Table of Contents
AD5770R PMOD Demo
The ADuCM3029_demo_ad5770rpmdz project provides a solution to control the EVAL-AD5770R-PMDZ PMOD using a minimal CLI and the no-OS drivers for the EVAL-ADICUP3029 platform.
General Description/Overview
The AD5770R is a 6-channel, 14-bit, multi-range, current output DAC designed for use in communications systems, instrumentation and industrial applications; specifically for photonics control and current mode biasing. It has 6 programmable output channels with 1 channel capable of sinking up to 60 mA of current. The EVAL-AD5770R-PMDZ is a board designed to be a compact and low cost solution to evaluate the part.
The application builds upon the no-OS device and platform drivers and a minimal CLI module to provide a robust command set to set the range and output value of the channels.
The program first initializes the hardware system as well as the driver handlers, then goes into the main process that just implements the CLI process and waits for user commands. If a command is received, it is executed and the program returns to the main loop.
Demo Requirements
The following is a list of items needed in order to replicate this demo.
Setting up the Hardware
Outputting Data
A serial terminal is an application that runs on a PC or laptop that is used to display data and interact with a connected device (including many of the Circuits from the Lab reference designs). The device's UART peripheral is most often connected to a UART to USB interface IC, which appears as a traditional COM port on the host PC/ laptop. (Traditionally, the device's UART port would have been connected to an RS-232 line driver / receiver and connected to the PC via a 9-pin or 25-pin serial port.) There are many open-source applications, and while there are many choices, typically we use one of the following:
Before continuing, please make sure you download and install one of the above programs.
There are several parameters on all serial terminal programs that must be setup properly in order for the PC and the connected device to communicate. Below are the common settings that must match on both the PC side and the connected UART device.
- COM Port - This is the physical connection made to your PC or Laptop, typically made through a USB cable but can be any serial communications cable. You can determine the COM port assigned to your device by visiting the device manager on your computer. Another method for identifying which COM port is associated with a USB-based device is to look at which COM ports are present before plugging in your device, then plug in your device, and look for a new COM port.
- Baud Rate - This is the speed at which data is being transferred from the connected device to your PC. These parameters must be the same on both devices or data will be corrupted. The default setting for most of the reference designs in 115200.
- Data Bits - The number of data bits per transfer. Typically UART transmits ASCII codes back to the serial port so by default this is almost always set to 8-Bits.
- Stop Bits - The number of “stop” conditions per transmission. This usually set to 1, but can be set to 2 for redundancy.
- Parity - Is a way to check for errors during the UART transmission. Unless otherwise specified, set parity to “none”.
- Flow Control - Is a way to ensure that data lose between fast and slow devices on the same UART bus are not lost during transmission. This is typically not implemented in a simple system, and unless otherwise specified, set to “none”.
In many instances there are other options that each of the different serial terminal applications provide, such as local line echo or local line editing, and features like this can be turned on or off depending on your preferences. This setup guide will not go over all the options of each tool, but just the minor features that will make it easier to read back data from the connected devices.
Example setup using Putty
- Plug in your connected device using a USB cable or other serial cable.
- Wait for the device driver of the connected device to install on your PC or Laptop.
- Open up your serial terminal program (Putty for this example)
- Click on the open button, and as long as your connected device and serial terminal program are setup the same, than you should see data displaying.
Available commands
Typing help or h after initial calibration sequence will display the list of commands and their short versions. Bellow is the short command list:
| Function | Command | Description | Example |
|---|---|---|---|
| General commands | |||
| h | Display available commands. | ||
| t | Set channels at production test levels. | ||
| DAC commands | |||
| sir | Set the input register of the chosen DAC channel. <chan> = channel to update; values are: c0, c1, c2, c3, c4, c5. <value> = update value in decimal; between 0 and 16383. | sir c0 8192 | |
| uo | Update the DAC output with the channel input registers value. This is done with the nLDAC GPIO if it's available and with the SW register otherwise. | ||
| sc | Set the value of the chosen DAC channel. <chan> = channel to update; values are: c0, c1, c2, c3, c4, c5; <value> = update value in decimal; between 0 and 16383. | sc c0 8192 | |
| sr | Set the range of the DAC output channels. <chan> = channel to update; values are: c0, c1, c2, c3, c4, c5; <opt> = option chosen for the channel. values are: opt1 - only for channels 0 and 1, opt2, opt3. Those correspond to the options in the datasheet. | sr c0 opt1 |
Obtaining the Source Code
We recommend not opening the project directly, but rather import it into CrossCore Embedded Studios and make a local copy in your workspace.
The source code and include files of the ADuCM3029_demo_ad5770rpmdz can be found here:
How to use the Tools
The official tool we promote for use with the EVAL-ADICUP3029 is CrossCore Embedded Studio. For more information on downloading the tools and a quick start guide on how to use the tool basics, please check out the Tools Overview page.
Importing
For more detailed instructions on importing this application/demo example into the CrossCore Embedded Studios tools, please view our How to import existing projects into your workspace section.
Debugging
For more detailed instructions on importing this application/demo example into the CrossCore Embedded Studios tools, please view our How to configure the debug session section.
Project Structure
Beside the IDE generated sources the project structure is divided into high level software modules and low level software modules.
The high level modules are in the src folder and are:
- AD5770R device driver;
- CLI module;
- AD5770R_PMDZ module (application source)
- ADuCM3029_demo_ad5770rpmdz.c (main file)
The low level modules are the platform drivers and are included in the platform_source and platform_include folders.
End of Document
掃碼添加小助手
加入工程師交流群
- HAT3029R 數據表
- HAT3029R 數據表
- 基于EVAL-ADICUP3029Processors的參考設計
- AN-2010:AD5770R功能的其他詳細信息、背景和示例
- EVAL-ADICUP3029開發平臺
- AD5770R mbed示例
- AD5770R Evaluation Software
- AD5770R IBIS Model
- ADICUP3029 Bluetooth Example
- AD5770R Evaluation Software
- AD5770R IBIS Model
- ADICUP3029 C Code for CN0428 and CN0429
- EVAL-AD5592R-PMDZ & ADICUP3029 Embedded Example Code
- ADICUP3029 Embedded C Code
- ADICUP3029 Source Code Example
- ADuCM3027/ADuCM3029集成電源管理和128Kb嵌入式閃存的超低功耗ARM Cortex-M3 MCU技術手冊 790次閱讀
- 射頻T/R模塊的組成及架構 6.2k次閱讀
- digilent適配器上的DIP模塊介紹 2.2k次閱讀
- digilent轉Pmod標準適配擴展板簡介 2k次閱讀
- digilent外設的固定金屬夾簡介 1.3k次閱讀
- digilentPmod專用線套件(6)介紹 1.7k次閱讀
- digilentPmod MicroSD: microSD 卡槽介紹 3.8k次閱讀
- digilent chipKIT Pmod Shield - Uno R3標準轉Pmo擴展板介紹 2.7k次閱讀
- 基于AP3029變換器的WLED背光驅動電源設計 3k次閱讀
- AD5770R:分辨率低噪音可編電流輸出的數模轉換器 6.1k次閱讀
- 手把手教你操作Faster R-CNN和Mask R-CNN 1.4w次閱讀
- r2000芯片引腳圖詳解_r2000芯片使用說明 1.5w次閱讀
- 沒有直接可用的Pmod驅動怎么辦?教你一招 2.7k次閱讀
- r語言是什么_r語言基礎教程 1.2w次閱讀
- 無驅動問題的Zynq搭配Pmod開發解決方案 2.3k次閱讀
下載排行
本周
- 1新一代網絡可視化(NPB 2.0)
- 3.40 MB | 1次下載 | 免費
- 2MDD品牌三極管MMBT3906數據手冊
- 2.33 MB | 次下載 | 免費
- 3MDD品牌三極管S9012數據手冊
- 2.62 MB | 次下載 | 免費
- 4聯想flex2-14D/15D說明書
- 4.92 MB | 次下載 | 免費
- 5收音環繞擴音機 AVR-1507手冊
- 2.50 MB | 次下載 | 免費
- 624Pin Type-C連接器設計報告
- 1.06 MB | 次下載 | 免費
- 7MS1000TA 超聲波測量模擬前端芯片技術手冊
- 0.60 MB | 次下載 | 免費
- 8MS1022高精度時間測量(TDC)電路數據手冊
- 1.81 MB | 次下載 | 免費
本月
- 1愛華AIWA HS-J202維修手冊
- 3.34 MB | 37次下載 | 免費
- 2PC5502負載均流控制電路數據手冊
- 1.63 MB | 23次下載 | 免費
- 3NB-IoT芯片廠商的資料說明
- 0.31 MB | 22次下載 | 1 積分
- 4H110主板CPU PWM芯片ISL95858HRZ-T核心供電電路圖資料
- 0.63 MB | 6次下載 | 1 積分
- 5UWB653Pro USB口測距通信定位模塊規格書
- 838.47 KB | 5次下載 | 免費
- 6技嘉H110主板IT8628E_BX IO電路圖資料
- 2.61 MB | 4次下載 | 1 積分
- 7蘇泊爾DCL6907(即CHK-S007)單芯片電磁爐原理圖資料
- 0.04 MB | 4次下載 | 1 積分
- 8100W準諧振反激式恒流電源電路圖資料
- 0.09 MB | 2次下載 | 1 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935137次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關降壓/升壓雙向直流/直流轉換器 PCB layout 設計
- 1.48MB | 420064次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233089次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費下載
- 340992 | 191439次下載 | 10 積分
- 5十天學會AVR單片機與C語言視頻教程 下載
- 158M | 183353次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81602次下載 | 10 積分
- 7Keil工具MDK-Arm免費下載
- 0.02 MB | 73822次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65991次下載 | 10 積分
電子發燒友App





創作
發文章
發帖
提問
發資料
發視頻







上傳資料賺積分
評論