資料介紹

Table of Contents
AD7328 - Microcontroller No-OS Driver
Supported Devices
Evaluation Boards
Overview
AD7328
The AD7328 is an 8-channel, 12-bit plus sign, successive approximation ADC designed on the iCMOS (industrial CMOS) process. iCMOS is a process combining high voltage silicon with submicron CMOS and complementary bipolar technologies. It enables the development of a wide range of high performance analog ICs capable of 33 V operation in a footprint that no previous generation of high voltage parts could achieve. Unlike analog ICs using conventional CMOS processes, iCMOS components can accept bipolar input signals while providing increased performance, dramatically reduced power consumption, and reduced package size. The AD7328 can accept true bipolar analog input signals. The AD7328 has four software-selectable input ranges, ±10 V, ±5 V, ±2.5 V, and 0 V to +10 V. Each analog input channel can be independently programmed to one of the four input ranges. The analog input channels on the AD7328 can be programmed to be single-ended, true differential, or pseudo differential. The ADC contains a 2.5 V internal reference. The AD7328 also allows for external reference operation. If a 3 V reference is applied to the REFIN/OUT pin, the AD7328 can accept a true bipolar ±12 V analog input. Minimum ±12 V VDD and VSS supplies are required for the ±12 V input range. The ADC has a high speed serial interface that can operate at throughput rates up to 1 MSPS.
The goal of this project (Microcontroller No-OS) is to be able to provide reference projects for lower end processors, which can't run Linux, or aren't running a specific operating system, to help those customers using microcontrollers with ADI parts. Here you can find a generic driver which can be used as a base for any microcontroller platform and also specific drivers for Renesas platforms.
HW Platform(s):
Driver Description
The driver contains two parts:
- The driver for the AD7328 part, which may be used, without modifications, with any microcontroller.
- The Communication Driver, where the specific communication functions for the desired type of processor and communication protocol have to be implemented. This driver implements the communication with the device and hides the actual details of the communication protocol to the ADI driver.
The Communication Driver has a standard interface, so the AD7328 driver can be used exactly as it is provided.
There are three functions which are called by the AD7328 driver:
- SPI_Init() – initializes the communication peripheral.
- SPI_Write() – writes data to the device.
- SPI_Read() – reads data from the device.
SPI driver architecture
The following functions are implemented in this version of AD7328 driver:
| Function | Description |
|---|---|
| unsigned char AD7328_Init(unsigned char internalRef, unsigned char coding) | Initializes AD7328. |
| void AD7328_SetRegisterValue(unsigned char registerAddress, unsigned short registerValue) | Writes data into a register. |
| void AD7328_SetRange(unsigned char channel, unsigned char range) | Select one analog input range per analog input channel. |
| void AD7328_SequenceSetup(unsigned char sequenceMode, unsigned short channelSequence) | Configures the channel sequence feature. |
| void AD7328_SetPower(unsigned char powerMode) | Selects a power mode of the AD7328. |
| void AD7328_ChannelSetup(unsigned char channelMode, unsigned char channelIndex) | Selects the configuration of the eight analog inputs and selects the analog input channel for the next conversion. |
| void AD7328_SampleRead(unsigned short *sampleValue, unsigned char *channelId) | Reads one sample from the device. |
| float AD7328_CalcVoltage(unsigned short value, unsigned char chIndex, float vRef) | Converts the raw data read from a channel to volts. |
Downloads
Renesas RL78G13 Quick Start Guide
This section contains a description of the steps required to run the AD7328 demonstration project on a Renesas RL78G13 platform.
Required Hardware
Required Software
Hardware Setup
An EVAL-AD7328SDZ has to be interfaced with the Renesas Demonstration Kit (RDK) for RL78G13:
EVAL-AD7328SDZ Pin CS → YRDKRL78G13 J11 connector Pin 1 EVAL-AD7328SDZ Pin DIN → YRDKRL78G13 J11 connector Pin 2 EVAL-AD7328SDZ Pin DOUT → YRDKRL78G13 J11 connector Pin 3 EVAL-AD7328SDZ Pin SCLK → YRDKRL78G13 J11 connector Pin 4 EVAL-AD7328SDZ Pin GND → YRDKRL78G13 J11 connector Pin 5
Reference Project Overview
The reference project samples the input voltage on channels 0 through 6 and displays the values on the LCD.
Software Project Tutorial
This section presents the steps for developing a software application that will run on the Renesas Demo Kit for RL78G13 for controlling and monitoring the operation of the ADI part.
- Run the IAR Embedded Workbench for Renesas RL78 integrated development environment.
- Choose to create a new project (Project – Create New Project).
- Select the RL78 tool chain, the Empty project template and click OK.
- Select a location and a name for the project (ADIEvalBoard for example) and click Save.
- Open the project’s options window (Project – Options).
- From the Target tab of the General Options category select the RL78 – R5F100LE device.
- From the Setup tab of the Debugger category select the TK driver and click OK.
- Extract the files from the lab .zip archive and copy them into the project’s folder.
- The new source files have to be included into the project. Open the Add Files… window (Project – Add Files…), select all the copied files and click open.
- At this moment, all the files are included into the project.
- The project is ready to be compiled and downloaded on the board. Press the F7 key to compile it. Press CTRL + D to download and debug the project.
- A window will appear asking to configure the emulator. Keep the default settings and press OK.
- To run the project press F5.
掃碼添加小助手
加入工程師交流群
- AD5443-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD5449-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD7291-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD5790-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD5754R-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD5110-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD5421-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD5669R-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD7298-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD5755-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD5933-瑞薩微控制器平臺(tái)的無操作系統(tǒng)驅(qū)動(dòng)程序
- AD5629R-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD5252-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD9833-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- AD8403-微控制器無操作系統(tǒng)驅(qū)動(dòng)程序
- 深度解析全球操作系統(tǒng)格局 3.4k次閱讀
- 為MAXQ2000微控制器實(shí)現(xiàn)JTAG自舉加載程序主控 2k次閱讀
- 實(shí)時(shí)時(shí)鐘為微控制器系統(tǒng)增加了精確的計(jì)時(shí)功能 2.1k次閱讀
- 了解和使用無操作系統(tǒng)和平臺(tái)驅(qū)動(dòng)程序 2.1k次閱讀
- 基于具有USB功能的STM32微控制器 4.4k次閱讀
- 嵌入式Linux內(nèi)核的驅(qū)動(dòng)程序開發(fā)是怎樣的 1.9k次閱讀
- 淺談電腦驅(qū)動(dòng)程序的工作原理 詳解電腦驅(qū)動(dòng)程序意義 3.2w次閱讀
- 基于嵌入式Linux內(nèi)核的系統(tǒng)設(shè)備驅(qū)動(dòng)程序開發(fā)設(shè)計(jì) 1.5k次閱讀
- 基于Linux2.6.30開發(fā)DS18B20的驅(qū)動(dòng)程序的類型和文件操作接口函數(shù)詳解 1.8k次閱讀
- 微控制器的相關(guān)知識(shí)介紹(含義、編程語言) 5.9k次閱讀
- 基于STM32的數(shù)字PDA系統(tǒng)軟件系統(tǒng)設(shè)計(jì) 2k次閱讀
- 8255A驅(qū)動(dòng)程序 3.9k次閱讀
- 8155驅(qū)動(dòng)程序 3.8k次閱讀
- 基于STM32ZET6控制器的數(shù)字PDA系統(tǒng)的設(shè)計(jì) 1.9k次閱讀
- Xilinx設(shè)備的驅(qū)動(dòng)程序 8.7k次閱讀
下載排行
本周
- 1新一代網(wǎng)絡(luò)可視化(NPB 2.0)
- 3.40 MB | 1次下載 | 免費(fèi)
- 2MDD品牌三極管MMBT3906數(shù)據(jù)手冊
- 2.33 MB | 次下載 | 免費(fèi)
- 3MDD品牌三極管S9012數(shù)據(jù)手冊
- 2.62 MB | 次下載 | 免費(fèi)
- 4聯(lián)想flex2-14D/15D說明書
- 4.92 MB | 次下載 | 免費(fèi)
- 5收音環(huán)繞擴(kuò)音機(jī) AVR-1507手冊
- 2.50 MB | 次下載 | 免費(fèi)
- 624Pin Type-C連接器設(shè)計(jì)報(bào)告
- 1.06 MB | 次下載 | 免費(fèi)
- 7MS1000TA 超聲波測量模擬前端芯片技術(shù)手冊
- 0.60 MB | 次下載 | 免費(fèi)
- 8MS1022高精度時(shí)間測量(TDC)電路數(shù)據(jù)手冊
- 1.81 MB | 次下載 | 免費(fèi)
本月
- 1愛華AIWA HS-J202維修手冊
- 3.34 MB | 37次下載 | 免費(fèi)
- 2PC5502負(fù)載均流控制電路數(shù)據(jù)手冊
- 1.63 MB | 23次下載 | 免費(fèi)
- 3NB-IoT芯片廠商的資料說明
- 0.31 MB | 22次下載 | 1 積分
- 4H110主板CPU PWM芯片ISL95858HRZ-T核心供電電路圖資料
- 0.63 MB | 6次下載 | 1 積分
- 5UWB653Pro USB口測距通信定位模塊規(guī)格書
- 838.47 KB | 5次下載 | 免費(fèi)
- 6技嘉H110主板IT8628E_BX IO電路圖資料
- 2.61 MB | 4次下載 | 1 積分
- 7蘇泊爾DCL6907(即CHK-S007)單芯片電磁爐原理圖資料
- 0.04 MB | 4次下載 | 1 積分
- 8100W準(zhǔn)諧振反激式恒流電源電路圖資料
- 0.09 MB | 2次下載 | 1 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935137次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
- 1.48MB | 420064次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233089次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191439次下載 | 10 積分
- 5十天學(xué)會(huì)AVR單片機(jī)與C語言視頻教程 下載
- 158M | 183353次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81602次下載 | 10 積分
- 7Keil工具M(jìn)DK-Arm免費(fèi)下載
- 0.02 MB | 73822次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65991次下載 | 10 積分
電子發(fā)燒友App





創(chuàng)作
發(fā)文章
發(fā)帖
提問
發(fā)資料
發(fā)視頻











上傳資料賺積分
評(píng)論