那曲檬骨新材料有限公司

電子發(fā)燒友App

硬聲App

0
  • 聊天消息
  • 系統(tǒng)消息
  • 評論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示
創(chuàng)作
電子發(fā)燒友網(wǎng)>電子資料下載>類型>參考設(shè)計(jì)>加入時間:清華大學(xué)2007年01月25日下午3:33

加入時間:清華大學(xué)2007年01月25日下午3:33

2021-03-22 | pdf | 68.39KB | 次下載 | 2積分

資料介紹

This version (25 Jan 2021 11:17) was approved by Ioana Chelaru.The Previously approved version (14 Jan 2021 05:11) is available.Diff

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:

  1. Confirm that you have the right tools (the reference design requires Vivado 2018.3)
  2. Clone the HDL GitHub repository (the project is located at ad738x_fmc)

Software Setup

In order to perform the software setup the user has to go through the following steps:

  1. Confirm that you have the right tools (the reference design requires XSDK)
  2. Clone the No-OS GitHub repository (the project is located at ad738x-fmcz )
  3. 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

下載該資料的人也在下載 下載該資料的人還在閱讀
更多 >

評論

查看更多

下載排行

本周

  1. 1電子電路原理第七版PDF電子教材免費(fèi)下載
  2. 0.00 MB  |  1491次下載  |  免費(fèi)
  3. 2單片機(jī)典型實(shí)例介紹
  4. 18.19 MB  |  95次下載  |  1 積分
  5. 3S7-200PLC編程實(shí)例詳細(xì)資料
  6. 1.17 MB  |  27次下載  |  1 積分
  7. 4筆記本電腦主板的元件識別和講解說明
  8. 4.28 MB  |  18次下載  |  4 積分
  9. 5開關(guān)電源原理及各功能電路詳解
  10. 0.38 MB  |  11次下載  |  免費(fèi)
  11. 6100W短波放大電路圖
  12. 0.05 MB  |  4次下載  |  3 積分
  13. 7基于單片機(jī)和 SG3525的程控開關(guān)電源設(shè)計(jì)
  14. 0.23 MB  |  4次下載  |  免費(fèi)
  15. 8基于AT89C2051/4051單片機(jī)編程器的實(shí)驗(yàn)
  16. 0.11 MB  |  4次下載  |  免費(fèi)

本月

  1. 1OrCAD10.5下載OrCAD10.5中文版軟件
  2. 0.00 MB  |  234313次下載  |  免費(fèi)
  3. 2PADS 9.0 2009最新版 -下載
  4. 0.00 MB  |  66304次下載  |  免費(fèi)
  5. 3protel99下載protel99軟件下載(中文版)
  6. 0.00 MB  |  51209次下載  |  免費(fèi)
  7. 4LabView 8.0 專業(yè)版下載 (3CD完整版)
  8. 0.00 MB  |  51043次下載  |  免費(fèi)
  9. 5555集成電路應(yīng)用800例(新編版)
  10. 0.00 MB  |  33562次下載  |  免費(fèi)
  11. 6接口電路圖大全
  12. 未知  |  30320次下載  |  免費(fèi)
  13. 7Multisim 10下載Multisim 10 中文版
  14. 0.00 MB  |  28588次下載  |  免費(fèi)
  15. 8開關(guān)電源設(shè)計(jì)實(shí)例指南
  16. 未知  |  21539次下載  |  免費(fèi)

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935053次下載  |  免費(fèi)
  3. 2protel99se軟件下載(可英文版轉(zhuǎn)中文版)
  4. 78.1 MB  |  537793次下載  |  免費(fèi)
  5. 3MATLAB 7.1 下載 (含軟件介紹)
  6. 未知  |  420026次下載  |  免費(fèi)
  7. 4OrCAD10.5下載OrCAD10.5中文版軟件
  8. 0.00 MB  |  234313次下載  |  免費(fèi)
  9. 5Altium DXP2002下載入口
  10. 未知  |  233046次下載  |  免費(fèi)
  11. 6電路仿真軟件multisim 10.0免費(fèi)下載
  12. 340992  |  191183次下載  |  免費(fèi)
  13. 7十天學(xué)會AVR單片機(jī)與C語言視頻教程 下載
  14. 158M  |  183277次下載  |  免費(fèi)
  15. 8proe5.0野火版下載(中文版免費(fèi)下載)
  16. 未知  |  138039次下載  |  免費(fèi)
bet365 官网| 大发888游戏下载官方| 大发888提款之后多久到账| 浏阳市| 百家乐官网伴侣破解版| 百家乐庄家出千内幕| sz全讯网网址xb112| 中山市| 百家乐官网玩法介| 百家乐大| 百家乐官网能作弊吗| 济州岛百家乐官网的玩法技巧和规则 | 金龍百家乐官网的玩法技巧和规则 | 百家乐怎么计算概率| 德州扑克发牌规则| 澳门百家乐官网规例| 百家乐投注方法网| 香港六合彩大全| 什么百家乐官网九宫三路| 百合百家乐的玩法技巧和规则| 赌博娱乐城| 百家乐官网和怎么算输赢| 大发888缺少 casino| 网上百家乐官网有人赢过嘛 | 大发888有破解的没| 百家乐官网博彩开户博彩通| 百家乐注册送10彩金| 博王娱乐| 沙龙百家乐官网赌场娱乐网规则| 伯爵百家乐赌场娱乐网规则| 新巴尔虎左旗| 百家乐街机游戏下载| bet365体育开户| 二爷百家乐官网的玩法技巧和规则 | 百家乐官网纸牌赌博| 百家乐乐赌| 百家乐官网桌布9人| 汉百家乐春| 百家乐官网决战推筒子| 大发百家乐的玩法技巧和规则| 澳门百家乐官网鸿福厅|