This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:uc-drivers:renesas:ad7980 [13 Mar 2012 18:02] – Approved Dragos Bogdan | resources:tools-software:uc-drivers:renesas:ad7980 [27 Jan 2021 23:00] (current) – use interwiki links Robin Getz | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== AD7980 - Microcontroller | + | ====== AD7980 - No-OS Driver |
+ | {{page>: | ||
- | ===== Supported Devices ===== | + | **HW Platform(s): |
- | * [[adi> | + | * [[https:// |
+ | * [[https:// | ||
- | ===== Evaluation Boards | + | ===== Downloads |
- | * PmodAD4 | + | |
- | ===== Overview ===== | + | <WRAP round download round 80%> |
+ | * {{: | ||
+ | * {{: | ||
+ | * {{: | ||
+ | * **AD7980 Driver: | ||
+ | * **[[adi> | ||
+ | * **RL78G14 Common Drivers: | ||
+ | </ | ||
- | The [[adi> | + | ====== Renesas RL78G13 Quick Start Guide ====== |
+ | This section | ||
- | {{ : | + | ==== Required Hardware ==== |
+ | * [[https://www.renesas.com/ | ||
+ | * [[adi> | ||
- | 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 | + | ==== Required Software ==== |
+ | * [[http:// | ||
- | **HW Platform(s): | + | ==== Hardware Setup ==== |
- | | + | A [[adi> |
- | ===== Driver Description ===== | + | {{ :resources: |
- | The driver contains two parts: | + | |
- | * The driver for the AD7980 part, which may be used, without modifications, | + | |
- | * 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 AD7980 driver can be used exactly as it is provided. | + | <WRAP round important round 80%> |
+ | \\ | ||
+ | * If you want to use AVDD > DVDD (= 3.3V) then JP3 on PmodAD4 must be removed. The range for AVDD is 3.0V ≤ AVDD ≤ 5.5V. | ||
+ | \\ | ||
+ | </ | ||
- | There are three functions which are called by the AD7980 driver: | + | ==== Reference Project Overview ==== |
- | * SPI_Init() – initializes the communication peripheral. | + | |
- | * SPI_Write() – writes data to the device. | + | |
- | * SPI_Read() – reads data from the device. | + | |
- | {{ :resources: | + | The reference project: |
- | < | + | * samples the input voltage; |
- | SPI driver architecture | + | * displays the value on the LCD (in hexa, decimal and volts). |
+ | |||
+ | < | ||
+ | * The reference voltage for the AD7980 is 2.5V. | ||
+ | * If you want to use another reference voltage, you will need to modify the vRef parameter in ‘AD7980_ConvertToVolts()’ function from ‘PmodAD4.c’. The range for VREF is 2.4V ≤ VREF ≤ 5.1V. | ||
</ | </ | ||
- | The following functions are implemented in this version of AD7980 driver: | + | {{ :resources: |
- | ^ Function | + | |
- | | unsigned char AD7980_Init(void) | Initializes the communication peripheral. | | + | |
- | | unsigned short AD7980_Conversion(void) | Initiates conversion and reads data. | | + | |
- | ===== Downloads | + | ==== Software Project Tutorial ==== |
- | * {{: | + | {{page> |
- | * {{: | + | |
+ | ====== Renesas RL78G14 Quick Start Guide ====== | ||
+ | This section contains a description of the steps required to run the AD7980 demonstration project on a Renesas RL78G14 platform using the [[adi> | ||
+ | |||
+ | ==== Required Hardware | ||
+ | * [[https:// | ||
+ | * [[adi> | ||
+ | |||
+ | ==== Required Software ==== | ||
+ | * [[http:// | ||
+ | * The AD7980 demonstration project for the Renesas RL78G14 platform. | ||
+ | |||
+ | <WRAP round info 80%> | ||
+ | The AD7980 demonstration project for the Renesas RL78G14 platform consists of three parts: the **AD7980 Driver**, | ||
+ | |||
+ | All three parts have to be downloaded. | ||
+ | </ | ||
+ | ==== Hardware Setup ==== | ||
+ | A [[adi> | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | <WRAP round important round 80%> | ||
+ | \\ | ||
+ | * If you want to use AVDD > DVDD (= 3.3V) then JP3 on PmodAD4 must be removed. The range for AVDD is 3.0V ≤ AVDD ≤ 5.5V. | ||
+ | \\ | ||
+ | </ | ||
+ | |||
+ | The reference project: | ||
+ | * samples the input voltage; | ||
+ | * displays the value on the LCD (in hexa, decimal and volts). | ||
+ | |||
+ | <WRAP round important 80%> | ||
+ | |||
+ | * The reference voltage for the AD7980 is 2.5V. | ||
+ | * If you want to use another reference voltage, you will need to modify the vRef parameter in ‘AD7980_ConvertToVolts()’ function from ‘PmodAD4.c’. The range for VREF is 2.4V ≤ VREF ≤ 5.1V. | ||
+ | |||
+ | </ | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | ==== Software Project Tutorial ==== | ||
+ | {{page> | ||
====== Renesas RX62N Quick Start Guide ====== | ====== Renesas RX62N Quick Start Guide ====== | ||
Line 48: | Line 102: | ||
==== Required Hardware ==== | ==== Required Hardware ==== | ||
- | * [[http://am.renesas.com/ | + | * [[https://www.renesas.com/ |
- | * PmodAD4 | + | * [[adi> |
==== Required Software ==== | ==== Required Software ==== | ||
- | * [[http:// | + | * [[https:// |
- | * [[http://am.renesas.com/ | + | * [[https://www.renesas.com/ |
==== Hardware Setup ==== | ==== Hardware Setup ==== | ||
- | A PmodAD4 | + | A [[adi> |
PmodAD4 Pin 1 (CS) → YRDKRX62N J8 connector Pin 15 | PmodAD4 Pin 1 (CS) → YRDKRX62N J8 connector Pin 15 | ||
Line 72: | Line 126: | ||
==== Software Project Setup ==== | ==== Software Project Setup ==== | ||
{{page> | {{page> | ||
+ | |||
+ | ====== More information ====== | ||
+ | {{page>: |