資料介紹
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 數(shù)據(jù)表
- HAT3029R 數(shù)據(jù)表
- 基于EVAL-ADICUP3029Processors的參考設(shè)計(jì)
- AN-2010:AD5770R功能的其他詳細(xì)信息、背景和示例
- EVAL-ADICUP3029開(kāi)發(fā)平臺(tái)
- 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
- 射頻T/R模塊的組成及架構(gòu) 3013次閱讀
- 如何使用Basys3板創(chuàng)建一個(gè)簡(jiǎn)單的示波器 7899次閱讀
- digilent適配器上的DIP模塊介紹 1665次閱讀
- digilent轉(zhuǎn)Pmod標(biāo)準(zhǔn)適配擴(kuò)展板簡(jiǎn)介 1414次閱讀
- digilent外設(shè)的固定金屬夾簡(jiǎn)介 925次閱讀
- digilentPmod專(zhuān)用線(xiàn)套件(6)介紹 1171次閱讀
- digilentPmod MicroSD: microSD 卡槽介紹 2794次閱讀
- digilent chipKIT Pmod Shield - Uno R3標(biāo)準(zhǔn)轉(zhuǎn)Pmo擴(kuò)展板介紹 2133次閱讀
- 基于AP3029變換器的WLED背光驅(qū)動(dòng)電源設(shè)計(jì) 2340次閱讀
- AD5770R:分辨率低噪音可編電流輸出的數(shù)模轉(zhuǎn)換器 5255次閱讀
- 手把手教你操作Faster R-CNN和Mask R-CNN 1.3w次閱讀
- r2000芯片引腳圖詳解_r2000芯片使用說(shuō)明 1.3w次閱讀
- 沒(méi)有直接可用的Pmod驅(qū)動(dòng)怎么辦?教你一招 2267次閱讀
- r語(yǔ)言是什么_r語(yǔ)言基礎(chǔ)教程 1w次閱讀
- 無(wú)驅(qū)動(dòng)問(wèn)題的Zynq搭配Pmod開(kāi)發(fā)解決方案 1830次閱讀
下載排行
本周
- 1電子電路原理第七版PDF電子教材免費(fèi)下載
- 0.00 MB | 1491次下載 | 免費(fèi)
- 2單片機(jī)典型實(shí)例介紹
- 18.19 MB | 95次下載 | 1 積分
- 3S7-200PLC編程實(shí)例詳細(xì)資料
- 1.17 MB | 27次下載 | 1 積分
- 4筆記本電腦主板的元件識(shí)別和講解說(shuō)明
- 4.28 MB | 18次下載 | 4 積分
- 5開(kāi)關(guān)電源原理及各功能電路詳解
- 0.38 MB | 11次下載 | 免費(fèi)
- 6100W短波放大電路圖
- 0.05 MB | 4次下載 | 3 積分
- 7基于單片機(jī)和 SG3525的程控開(kāi)關(guān)電源設(shè)計(jì)
- 0.23 MB | 4次下載 | 免費(fèi)
- 8基于AT89C2051/4051單片機(jī)編程器的實(shí)驗(yàn)
- 0.11 MB | 4次下載 | 免費(fèi)
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費(fèi)
- 2PADS 9.0 2009最新版 -下載
- 0.00 MB | 66304次下載 | 免費(fèi)
- 3protel99下載protel99軟件下載(中文版)
- 0.00 MB | 51209次下載 | 免費(fèi)
- 4LabView 8.0 專(zhuān)業(yè)版下載 (3CD完整版)
- 0.00 MB | 51043次下載 | 免費(fèi)
- 5555集成電路應(yīng)用800例(新編版)
- 0.00 MB | 33562次下載 | 免費(fèi)
- 6接口電路圖大全
- 未知 | 30320次下載 | 免費(fèi)
- 7Multisim 10下載Multisim 10 中文版
- 0.00 MB | 28588次下載 | 免費(fèi)
- 8開(kāi)關(guān)電源設(shè)計(jì)實(shí)例指南
- 未知 | 21539次下載 | 免費(fèi)
總榜
- 1matlab軟件下載入口
- 未知 | 935053次下載 | 免費(fèi)
- 2protel99se軟件下載(可英文版轉(zhuǎn)中文版)
- 78.1 MB | 537793次下載 | 免費(fèi)
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420026次下載 | 免費(fèi)
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費(fèi)
- 5Altium DXP2002下載入口
- 未知 | 233046次下載 | 免費(fèi)
- 6電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191183次下載 | 免費(fèi)
- 7十天學(xué)會(huì)AVR單片機(jī)與C語(yǔ)言視頻教程 下載
- 158M | 183277次下載 | 免費(fèi)
- 8proe5.0野火版下載(中文版免費(fèi)下載)
- 未知 | 138039次下載 | 免費(fèi)
評(píng)論
查看更多