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:ad7780 [08 May 2013 10:34] – added the hardware setup notes and the reference project description Lucian Sin | resources:tools-software:uc-drivers:renesas:ad7780 [25 Jan 2021 05:24] (current) – update renesas links after their web site update Robin Getz | ||
---|---|---|---|
Line 3: | Line 3: | ||
**HW Platform(s): | **HW Platform(s): | ||
- | * [[http://am.renesas.com/ | + | * [[https://www.renesas.com/ |
===== Downloads ===== | ===== Downloads ===== | ||
<WRAP round download round 80%> | <WRAP round download round 80%> | ||
- | \\ | + | |
* {{: | * {{: | ||
* {{: | * {{: | ||
- | \\ | + | * **AD7780 Driver: |
+ | * **PmodAD3 Demo for RL78G14: ** https:// | ||
+ | * **RL78G14 Common Drivers: | ||
</ | </ | ||
Line 18: | Line 21: | ||
==== Required Hardware ==== | ==== Required Hardware ==== | ||
- | * [[http://am.renesas.com/ | + | * [[https://www.renesas.com/ |
* PmodAD3 | * PmodAD3 | ||
Line 31: | Line 34: | ||
<WRAP round important round 80%> | <WRAP round important round 80%> | ||
- | * Reference voltage is 3300 mV default. If using another reference voltage, please check that the jumpers are properly set on the PmodAD3, and modify the vRef parameter in the ‘AD7780_ConvertToVoltage()’ function from ‘main.c’. | ||
* If using 3 external signals (AVDD, AIN and REF) then 2 jumpers on PmodAD3 must be off (JP1 and JP2). | * If using 3 external signals (AVDD, AIN and REF) then 2 jumpers on PmodAD3 must be off (JP1 and JP2). | ||
* If using 2 external signals (AIN and REF) or (AIN and AVDD) then 1 jumper on PmodAD3 must be off (JP2 or JP1). | * If using 2 external signals (AIN and REF) or (AIN and AVDD) then 1 jumper on PmodAD3 must be off (JP2 or JP1). | ||
Line 45: | Line 47: | ||
* reads the captured data from AD7780 and displays it; | * reads the captured data from AD7780 and displays it; | ||
* displays some features of the conversion (gain, update rate, conversion status and serial transfer status). | * displays some features of the conversion (gain, update rate, conversion status and serial transfer status). | ||
+ | |||
+ | <WRAP round important 80%> | ||
+ | * Reference voltage is 3300 mV default. If using another reference voltage, please check that the jumpers are properly set on the PmodAD3, and modify the vRef parameter in the ‘AD7780_ConvertToVoltage()’ function from ‘PmodAD3.c’. | ||
+ | </ | ||
+ | |||
{{ : | {{ : | ||
Line 50: | Line 57: | ||
==== Software Project Tutorial ==== | ==== Software Project Tutorial ==== | ||
{{page> | {{page> | ||
+ | |||
+ | |||
+ | ====== Renesas RL78G14 Quick Start Guide ====== | ||
+ | This section contains a description of the steps required to run the AD7780 demonstration project on a Renesas RL78G14 platform using the PmodAD3. | ||
+ | |||
+ | ==== Required Hardware ==== | ||
+ | * [[https:// | ||
+ | * PmodAD3 | ||
+ | |||
+ | ==== Required Software ==== | ||
+ | * [[http:// | ||
+ | * The AD7780 demonstration project for the Renesas RL78G14 platform. | ||
+ | |||
+ | <WRAP round info 80%> | ||
+ | The AD7780 demonstration project for the Renesas RL78G14 platform consists of three parts: the **AD7780 Driver**, | ||
+ | |||
+ | All three parts have to be downloaded. | ||
+ | </ | ||
+ | ==== Hardware Setup ==== | ||
+ | A PmodAD3 has to be connected to the PMOD1 connector (see image below). | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | <WRAP round important round 80%> | ||
+ | |||
+ | * If using 3 external signals (AVDD, AIN and REF) then 2 jumpers on PmodAD3 must be off (JP1 and JP2). | ||
+ | * If using 2 external signals (AIN and REF) or (AIN and AVDD) then 1 jumper on PmodAD3 must be off (JP2 or JP1). | ||
+ | * Be aware that 0.5V ≤ Vref ≤ AVDD and 2.7V ≤ AVDD ≤ 5.25V. | ||
+ | * Be aware (especially when using gain = 128) that the common-mode voltage (AIN(+) + AIN(−)) / 2 must be ≥ 0.5V. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== Reference Project Overview ==== | ||
+ | The reference project: | ||
+ | * sets the update rate=16.7Hz and gain=1 for AD7780; | ||
+ | * initiates conversions; | ||
+ | * reads the captured data from AD7780 and displays it; | ||
+ | * displays some features of the conversion (gain, update rate, conversion status and serial transfer status). | ||
+ | |||
+ | <WRAP round important 80%> | ||
+ | * Reference voltage is 3300 mV default. If using another reference voltage, please check that the jumpers are properly set on the PmodAD3, and modify the vRef parameter in the ‘AD7780_ConvertToVoltage()’ function from ‘PmodAD3.c’. | ||
+ | </ | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | ==== Software Project Tutorial ==== | ||
+ | {{page> | ||
====== More information ====== | ====== More information ====== | ||
{{page>: | {{page>: |