The AD7732 and AD7734 are high precision, high throughput analog front ends. True 16-bit peak-to-peak resolution is achievable with total conversion times of 500 µs (2 kHz channel switching) making it ideally suitable for high resolution multiplexing applications.
The parts can be configured via a simple digital interface, which allows users to balance the noise performance against data throughput up to a 15.4 kHz.
The analog front end features two fully differential input channels with unipolar or true bipolar input ranges to ±10 V while operating from a single +5 V analog supply. The parts have an overrange and underrange detection capability and accept an analog input overvoltage to ±16.5 V without degrading the performance of the adjacent channels.
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 AD7734 driver can be used exactly as it is provided. There are three functions which are called by the AD7734 driver:
Driver architecture
The implementation of these three functions depends on the used microcontroller.
The following functions are implemented in this version of AD7734 driver:
Function | Description |
---|---|
unsigned char AD7734_Init(void) | Initializes AD7734 and checks if the device is present. |
void AD7734_Reset(void) | Sends 32 consecutive 1's on SPI in order to reset the part. |
unsigned long AD7734_GetRegisterValue(unsigned char regAddress, unsigned char size) | Reads the value of the selected register. |
void AD7734_SetRegisterValue(unsigned char regAddress, unsigned long regValue, unsigned char size) | Writes a value to the register. |
void AD7734_Setup(void) | Sets the operating mode of AD7734. |
unsigned char AD7734_Ready(char ch) | Reads /RDY bit of Status register. |
This section contains a description of the steps required to run the AD7734 demonstration project on a Renesas RL78G13 platform.
An EVAL-AD7734EBZ has to be interfaced with the Renesas Demonstration Kit (RDK) for RL78G13:
EVAL-AD7734EBZ External Controller Pin 5 CS → YRDKRL78G13 J11 connector Pin 1 EVAL-AD7734EBZ External Controller Pin 9 DIN → YRDKRL78G13 J11 connector Pin 2 EVAL-AD7734EBZ External Controller Pin 4 DOUT → YRDKRL78G13 J11 connector Pin 3 EVAL-AD7734EBZ External Controller Pin 1 SCLK → YRDKRL78G13 J11 connector Pin 4 EVAL-AD7734EBZ External Controller Pin 2 DGND → YRDKRL78G13 J11 connector Pin 5
With the Applilet3 for RL78G13 tool the following peripherals have to be configured:
Choose to generate the Transmit/receive function for the CSI10 and configure the interface with the following settings:
Configure TM00 as an interval timer:
Disable the watchdog timer:
The demo program samples channel 1. The hex values of the configuration and data registers are displayed on the LCD.
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.
Two software applications have to be used: Applilet3 for RL78G13 (a tool that automatically generates device drivers for MCU peripheral functions) and IAR Embedded Workbench for Renesas RL78 (the integrated development environment).
This section contains a description of the steps required to run the AD7734 demonstration project on a Renesas RX62N platform.
An EVAL-AD7734EBZ board has to be interfaced with the Renesas Demonstration Kit (RDK) for RX62N:
EVAL-AD7734EBZ External Controller Pin 4 DOUT → YRDKRX62N J8 connector Pin 22 EVAL-AD7734EBZ External Controller Pin 9 DIN → YRDKRX62N J8 connector Pin 19 EVAL-AD7734EBZ External Controller Pin 1 SCLK → YRDKRX62N J8 connector Pin 20 EVAL-AD7734EBZ External Controller Pin 5 CS → YRDKRX62N J8 connector Pin 15 EVAL-AD7734EBZ External Controller Pin 2 DGND → YRDKRX62N J8 connector Pin 4
The demo program samples channel 1. The hex values of the configuration and data registers are displayed on the LCD.
This section presents the steps for developing a software application that will run on the Renesas Demo Kit for RX62N for controlling and monitoring the operation of the ADI part.
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
全部0条评论
快来发表一下你的评论吧 !