The AD7887 is a high speed, low power, 12-bit analog-to-digital converter (ADC) that operates from a single 2.7 V to 5.25 V power supply. The AD7887 is capable of 125 kSPS throughput rate. The input track-and-hold acquires a signal in 500 ns and features a single-ended sampling scheme. The output coding for the AD7887 is straight binary, and the part is capable of converting full power signals of up to 2.5 MHz.
The AD7887 can be configured for either dual- or single-channel operation via the on-chip control register. There is a default single-channel mode that allows the AD7887 to be operated as a read-only ADC. In single-channel operation, there is one analog input (AIN0) and the AIN1/VREF pin assumes its VREF function. This VREF pin allows the user access to the part’s internal 2.5 V reference, or the VREF pin can be overdriven by an external reference to provide the reference voltage for the part. This external reference voltage has a range of 2.5 V to VDD. The analog input range on AIN0 is 0 to VREF.
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):
The driver contains two parts:
The Communication Driver has a standard interface, so the AD7887 driver can be used exactly as it is provided.
There are three functions which are called by the AD7887 driver:
SPI driver architecture
The following functions are implemented in this version of AD7887 driver:
Function | Description |
---|---|
unsigned char AD7887_Init(void) | Initializes the AD7887 device. |
unsigned short AD7887_Read(unsigned char config) | Perform a read operation from the AD7887. |
This section contains a description of the steps required to run the AD7887 demonstration project on a Renesas RX63N platform.
An EVAL-CN0150A-SDPZ has to be interfaced with the Renesas Demonstration Kit (RDK) for RX63N:
EVAL-CN0150A-SDPZ testpoint TP13 (CS) → YRDKRX63N J15 connector Pin 1 EVAL-CN0150A-SDPZ testpoint TP12 (MOSI) → YRDKRX63N J15 connector Pin 2 EVAL-CN0150A-SDPZ testpoint TP11 (MISO) → YRDKRX63N J15 connector Pin 3 EVAL-CN0150A-SDPZ testpoint TP10 (SCLK) → YRDKRX63N J15 connector Pin 4 EVAL-CN0150A-SDPZ testpoint TP7 (GND) → YRDKRX63N J15 connector Pin 5
The reference project initializes the device, reads the ADC conversion result and displays it on the LCD.
This section presents the steps for developing a software application that will run on the Renesas Demo Kit for RX63N for controlling and monitoring the operation of the ADI part.
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
全部0条评论
快来发表一下你的评论吧 !