资料介绍

Table of Contents
AD738x - No-OS Driver
Supported Devices
Evaluation Boards
Overview
The AD7380, AD7381,AD7383,AD7384,AD7386, AD7387 and AD7388, are a 16-bit, 14-bit and 12- bit pin compatible family of dual simultaneous sampling, high speed, low power, successive approximation analog-to-digital converters (ADC) that operate from a 3.3 V power supply and features throughput rates up to 4 MSPS. The analog input type is differential for the AD7380 and AD7381,can accept a wide common mode input voltage and are sampled and converted on the falling edge of CS. The AD7383 and AD7383 have the pseudo-differential input while the AD7386, AD7387 and AD7388 have single-ended input. The AD7380, AD7381,AD7383,AD7384,AD7386, AD7387 and AD7388 family has optional integrated on-chip oversampling blocks to improve dynamic range and reduce noise at lower bandwidths. An internal 2.5 V reference is included.
Alternatively, an external reference up to 3.3 V can be used. The conversion process and data acquisition use standard control inputs allowing for easy interfacing to microprocessors or DSPs. It is compatible with 1.8 V, 2.5 V, 3.3 V interfaces, using the separate logic supply.
The dual AD7380, AD7381,AD7383,AD7384,AD7386, AD7387 and AD7388 family is available in a 16-lead 3mm x 3mm LFCSP package with operation specified from −40°C to +125°C.
Applications
- Motor control position feedback
- Motor control current sense
- Data acquisition systems
- EDFA applications
- I and Q demodulation
- SONAR
- Power Quality
HDL Design Description
In the ADI Reference Designs HDL User Guide can be found an in-depth presentation and instructions about the HDL design in general.
The reference design uses the standard SPI Engine Framework with an integrated pulse generator, which will provide the required conversion rate for the ADC.
In order to build the HDL design the user has to go through the following steps:
- Confirm that you have the right tools (the reference design requires Vivado 2018.3)
- Clone the HDL GitHub repository (the project is located at ad738x_fmc)
- Build the project (see https://wiki.analog.com/resources/fpga/docs/build)
Software Setup
In order to perform the software setup the user has to go through the following steps:
- Confirm that you have the right tools (the reference design requires XSDK)
- Clone the No-OS GitHub repository (the project is located at ad738x-fmcz )
- Follow the instructions provided by software_setup.
No-OS Driver Description
Functions Declarations
| Function | Description |
|---|---|
int32_t ad738x_init(ad738x_dev **device, ad738x_init_param init_param) | Initialize the device. |
int32_t ad738x_remove(ad738x_dev *dev) | Free the resources allocated by ad738x_init(). |
int32_t ad738x_reference_sel(ad738x_dev *dev, ad738x_ref_sel ref_sel) | Enable internal or external reference. |
int32_t ad738x_power_down_mode(ad738x_dev *dev, ad738x_pwd_mode pmode) | Device power down. |
int32_t ad738x_oversampling_config(ad738x_dev *dev, ad738x_os_mode os_mode, ad738x_os_ratio os_ratio, ad738x_resolution res) | Sets the oversampling mode in the device (os_mode). Sets the oversampling ratio (osr). Sets the size of the conversion result data (res) |
int32_t ad738x_reset(ad738x_dev *dev, ad738x_reset_type reset) | Device reset over SPI. |
int32_t ad738x_set_conversion_mode(ad738x_dev *dev, ad738x_conv_mode mode) | Select if ADC A and ADC B output on both SDOA and SDOB lines (two wire mode) or only on on the SDOA line. |
int32_t ad738x_spi_single_conversion(ad738x_dev *dev, uint16_t *adc_data) | Read conversion result from device. |
int32_t ad738x_spi_write_mask(ad738x_dev *dev, uint8_t reg_addr, uint32_t mask, uint16_t data) | SPI write to device using a mask. |
int32_t ad738x_spi_reg_write(ad738x_dev *dev, uint8_t reg_addr, uint16_t reg_data) | Write to device. |
int32_t ad738x_spi_reg_read(ad738x_dev *dev, uint8_t reg_addr, uint16_t *reg_data) | Read from device. |
Types Declarations
typedef enum { TWO_WIRE_MODE, ONE_WIRE_MODE } ad738x_conv_mode; typedef enum { NORMAL_OS_MODE, ROLLING_OS_MODE } ad738x_os_mode; typedef enum { OSR_DISABLED, OSR_X2, OSR_X4, OSR_X8, OSR_X16, OSR_X32, } ad738x_os_ratio; typedef enum { RES_16_BIT, RES_18_BIT } ad738x_resolution; typedef enum { SOFT_RESET, HARD_RESET } ad738x_reset_type; typedef enum { NORMAL_PWDM, FULL_PWDM } ad738x_pwd_mode; typedef enum { INT_REF, EXT_REF } ad738x_ref_sel; typedef struct { /* SPI */ spi_desc *spi_desc; /* Device Settings */ ad738x_conv_mode conv_mode; ad738x_resolution resolution; } ad738x_dev; typedef struct { /* SPI */ spi_init_param spi_init; /* Device Settings */ ad738x_conv_mode conv_mode; ad738x_ref_sel ref_sel; } ad738x_init_param; |
HDL Downloads
No-OS Downloads
扫码添加小助手
加入工程师交流群
- 采用 NextPowerS3 技术的 LFPAK33中的N沟道 25V,3.72mΩ 逻辑电平 MOSFET-PSMN3R5-25MLD
- “LT模拟创新学报”V25N3-2015年11月
- 加入时间:清华大学2007年01月25日下午3:33
- 清华大学硕士入学考试电路原理试题你会做吗? 3次下载
- 2017年江西省大学生电子设计制作现场(28届)赛题 22次下载
- 2016年江西省大学生电子设计制作现场(27届)赛题.pdf 20次下载
- 2014年江西省大学生电子设计制作现场(25届)赛题.pdf 5次下载
- 清华大学电机系面试题整理 0次下载
- 无线传感器网络介绍手册
- 清华大学博士与硕士学位论文写作指导 0次下载
- 海信TC25VCD01彩电电路图
- 海信TC25VCD01彩电电路图
- 大学物理课件,免费下载,PPT格式 0次下载
- 清华大学课程-大学物理 0次下载
- 清华大学2005年电路原理期末试题及答案
- ChatGLM3-6B在CPU上的INT4量化和部署 1.8k次阅读
- 清华开发出超高性能计算芯片:速度比高端GPU提升3000倍,能效提升400万倍! 1.2k次阅读
- 清华等开源「工具学习基准」ToolBench,微调模型ToolLLaMA性能超越ChatGPT 1.1k次阅读
- MLPAK33 – 3x3 MOSFET的灵活选择 1.2k次阅读
- 基于卷积的框架有效实现及视觉Transformer背后的关键成分 1.8k次阅读
- 5G时代到来,各个国家的2G/3G也将开始“退休” 1.3k次阅读
- 美图公司2019年中期业绩公告显示,净亏损1.72亿元 4.1k次阅读
- 量子反常霍尔效应有望带动未来科技革命 3.5k次阅读
- 你了解工业4.0吗清华大学为您解读工业4.0 4.3k次阅读
- 大数据与人工智能技术如何帮助智能电网和能源互联网的发展 9.9k次阅读
- 首代3D打印器官芯片产品OrganTrial问世 4.1k次阅读
- (信号与系统)2004年清华大学硕士研究生入学考试你会做吗? 6k次阅读
- 阿里联合清华成立“自然交互体验联合实验室”,让机器也能懂 “感情” 4.8k次阅读
- 动力电池安全智能系统实例分析及建议 2.2k次阅读
- 25个你可能不知道的Linux真相 2k次阅读
下载排行
本周
- 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





创作
发文章
发帖
提问
发资料
发视频
上传资料赚积分
评论