資料介紹
Table of Contents
AD7124-8 PMOD EVAL_ADICUP3029 Demo (w/ EVAL-AD7124-8-PMDZ)
The ADuCM3029_demo_ad7124_8PMDZ project provides a solution to control the AD7124-8 ADC on the EVAL-AD7124-8-PMDZ PMOD using a simple CLI on the USB. The demo showcases the flexibility of the AD7124 in choosing inputs, filters and different ranges for the available 16 channels.
General Description/Overview
The EVAL-AD7124-8-PMDZ is a minimalist 8-Channel, Low Noise, Low Power, 24-Bit, Sigma-Delta ADC (Analog to Digital Converter) with PGA and Reference, SPI Pmod board for the AD7124-8. This module is designed as a low-cost alternative to the fully-featured AD7124-8 evaluation board and has no extra signal conditioning for the ADC.
The initial configuration of the ADuCM3029_demo_ad7124_8PMDZ engages all inputs in a mix of differential and single-ended channels. The input assignation to channels is the following:
- Channel 0: AIN0-AIN1, differential;
- Channel 1: AIN2-AIN3, differential;
- Channel 2: AIN4-AIN5, differential;
- Channel 3: AIN6-AIN7, differential;
- Channel 4: AIN8-AIN9, differential;
- Channel 5: AIN10-AIN11, differential;
- Channel 6: AIN12-AIN13, differential;
- Channel 7: AIN14-AIN15, differential;
- Channel 8: AIN0-AGND, single-ended;
- Channel 9: AIN1-AGND, single-ended;
- Channel 10: AIN2-AGND, single-ended;
- Channel 11: AIN3-AGND, single-ended;
- Channel 12: AIN4-AGND, single-ended;
- Channel 13: AIN5-AGND, single-ended;
- Channel 14: AIN6-AGND, single-ended;
- Channel 15: AIN7-AGND, single-ended;
By default only channel 0 is active at first, but this can be adjusted using the appropriate CLI commands (described below). At first all channels are using the configuration register 0 which is set to sinc4 filter option and the first option of PGA corresponding to the widest range. The filter sample rate is set at maximum. Each configuration register has a different PGA setting so that each channel can be set using the CLI to any PGA. The demo does this by assigning each channel to the corresponding configuration register that contains the desired PGA setting. Most of the demo CLI commands work in this configuration, but the CLI also offers access to the individual registers for the user to set the desired configuration manually.
Demo Requirements
The following is a list of items needed in order to replicate this demo.
Setting up the Hardware
- Connect a micro-USB cable to P10 connector of the EVAL-ADICUP3029 and connect it to a computer. The final setup should look similar to the picture below.
Configuring the Software
The software needs no configuration.
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 | |||
Help | h | Display available commands. | |
Reset | rst | Reset the application. <opt> = 'dev' to perform only a device reset; do not include to perform an application reset. | rst dev - perform only device reset (datasheet defaults); rst - perform application reset (application defaults). |
ADC commands | |||
Register read | arr | Read an ADC register of a specific address. <addr> = Address of the register to be read in hexadecimal base. | arr 2a - Read register 0x2A |
Register write | awr | Write an ADC register of a specific address with a new value. <addr> = Address of the register to be written in hexadecimal base. <val> = New value of the register. | arw 9 8002 - Write 0x8002 to register 0x9. |
Get data | ags | Get a number of samples per enabled channels. If the operation takes too long press 'q' to abort. <no> = Number of samples (maximum 2048). If sample rate is smaller than 3000 setting the argument 0 or no argument means continuous streaming. | |
Enable channels | aces | Choose ADC channels to be activated. <mask> = 16-bit mask of the channels to be activated. Can be hexadecimal or binary. A bit of 1 means activated the channel, a bit of 0 means deactivate the channel. | aces 0xAAAA - activate every other channel. '0x' is necessary for hexadecimal interpretation. |
Get enabled channels | aceg | Get enable status of ADC channels. Returns a hexadecimal 16-bit mask where bits of 1 represent enabled channels, and bits of 0 represent disabled channels. | |
Set PGA | aps | Set PGA for a channel. <chan> = ID of the channel to be changed. <opt> = PGA option; values are: opt0, opt1, … opt7 corresponding to the datasheet. | aps 0 opt3 - set ADC channel 0 to PGA 3, gain value of 8. |
Get PGA | apg | Display a channel's PGA option; return values are: opt0, opt1, … opt7 corresponding to the datasheet. <chan> = ID of the channel to be read. | apg 0 - read the PGA value of channel 0. |
Set sample rate | aos | Set ADC sample rate. Filter option, power mode and reference clock must be taken into consideration. <odr> = New sample rate value. | aos 2000 - set sample rate to 2000 samples per second. |
Get sample rate | aog | Read the current sample rate. | |
Set filter option | afs | Set ADC filter option. <opt> = filter option; can be: 'sinc4', 'sinc3', 'fflt4', 'fflt3' and 'postf'. <post> = post-filter option; can be: 'opt0', 'opt1', … 'opt3'; add only when opt=postf. | afs fflt4 - set filter option to fast settling sinc4. |
Get filter option | afg | Read the current filter. |
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_ad7124_8PMDZ 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
- [舊產(chǎn)品(E8)版本] Renesas Starter Kit for SH7124 用戶手冊
- [舊產(chǎn)品(E8) 版本] Renesas Starter Kit for SH7124 快速入門指南
- [舊產(chǎn)品(E8)版本] Renesas Starter Kit for SH7124 用戶手冊 0次下載
- [舊產(chǎn)品(E8) 版本] Renesas Starter Kit for SH7124 快速入門指南 0次下載
- AD7124-8 IBIS型號
- AD7124-4AD7124-8 Eval軟件
- ADT7420 pmod硬件用戶指南
- ADT7420 pmod軟件用戶指南
- AD7124-8 IBIS型號
- AD7124-8 pmod硬件用戶指南
- ADXRS290 pmod用戶指南
- AN-1464: AD7172-2、AD7172-4、AD7173-8、AD7175-2、AD7175-8、AD7176-2、 AD7177-2、AD7124-4和AD7124-8校準(zhǔn)
- AD7124-4/AD7124-8 Eval+ Software
- AD7124-4 and AD7124-8 Frequently Asked Questions (FAQs)
- AD7124-8_cn8路差分24位模數(shù)轉(zhuǎn)換器 34次下載
- 上位機軟件的用戶界面設(shè)計技巧 773次閱讀
- RK3568驅(qū)動指南|驅(qū)動基礎(chǔ)進階篇-進階8 內(nèi)核運行ko文件總結(jié) 933次閱讀
- 使用Virtual Eval工具了解AD7124-4/8的時序性能 726次閱讀
- 如何使用openEuler用戶軟件倉(EUR) 1223次閱讀
- 基于RTD的測量系統(tǒng)的過壓保護 1179次閱讀
- 基于STM32 MCU應(yīng)用的EMC指南之軟件篇 1020次閱讀
- EsDA為用戶帶來簡單易用的軟件設(shè)計體驗 1884次閱讀
- 高集成度模擬前端AFE AD7124在RTD測溫場合的應(yīng)用 3567次閱讀
- digilent適配器上的DIP模塊介紹 1665次閱讀
- digilent轉(zhuǎn)Pmod標(biāo)準(zhǔn)適配擴展板簡介 1414次閱讀
- digilent chipKIT Pmod Shield - Uno R3標(biāo)準(zhǔn)轉(zhuǎn)Pmo擴展板介紹 2133次閱讀
- 一款以BitTorrent代幣連接和獎勵用戶的軟件BitTorrent Speed介紹 3328次閱讀
- 典型DPD應(yīng)用 集成的緩沖器和放大器實例 4731次閱讀
- 沒有直接可用的Pmod驅(qū)動怎么辦?教你一招 2267次閱讀
- 無驅(qū)動問題的Zynq搭配Pmod開發(fā)解決方案 1830次閱讀
下載排行
本周
- 1電子電路原理第七版PDF電子教材免費下載
- 0.00 MB | 1491次下載 | 免費
- 2單片機典型實例介紹
- 18.19 MB | 95次下載 | 1 積分
- 3S7-200PLC編程實例詳細(xì)資料
- 1.17 MB | 27次下載 | 1 積分
- 4筆記本電腦主板的元件識別和講解說明
- 4.28 MB | 18次下載 | 4 積分
- 5開關(guān)電源原理及各功能電路詳解
- 0.38 MB | 11次下載 | 免費
- 6100W短波放大電路圖
- 0.05 MB | 4次下載 | 3 積分
- 7基于單片機和 SG3525的程控開關(guān)電源設(shè)計
- 0.23 MB | 4次下載 | 免費
- 8基于AT89C2051/4051單片機編程器的實驗
- 0.11 MB | 4次下載 | 免費
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費
- 2PADS 9.0 2009最新版 -下載
- 0.00 MB | 66304次下載 | 免費
- 3protel99下載protel99軟件下載(中文版)
- 0.00 MB | 51209次下載 | 免費
- 4LabView 8.0 專業(yè)版下載 (3CD完整版)
- 0.00 MB | 51043次下載 | 免費
- 5555集成電路應(yīng)用800例(新編版)
- 0.00 MB | 33562次下載 | 免費
- 6接口電路圖大全
- 未知 | 30320次下載 | 免費
- 7Multisim 10下載Multisim 10 中文版
- 0.00 MB | 28588次下載 | 免費
- 8開關(guān)電源設(shè)計實例指南
- 未知 | 21539次下載 | 免費
總榜
- 1matlab軟件下載入口
- 未知 | 935053次下載 | 免費
- 2protel99se軟件下載(可英文版轉(zhuǎn)中文版)
- 78.1 MB | 537793次下載 | 免費
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420026次下載 | 免費
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費
- 5Altium DXP2002下載入口
- 未知 | 233046次下載 | 免費
- 6電路仿真軟件multisim 10.0免費下載
- 340992 | 191183次下載 | 免費
- 7十天學(xué)會AVR單片機與C語言視頻教程 下載
- 158M | 183277次下載 | 免費
- 8proe5.0野火版下載(中文版免費下載)
- 未知 | 138039次下載 | 免費
評論
查看更多