Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next 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 Sinresources: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/products/tools/introductory_evaluation_tools/renesas_demo_kits/yrdkrl78g13/index.jsp|Renesas Demo Kit for RL78G13 (Renesas)]]+  * [[https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rl78-low-power-8-16-bit-mcus/yrdkrl78g13-yrdkrl78g13-demonstration-kit-rl78g13|Renesas Demo Kit for RL78G13 (Renesas)]]
  
 ===== Downloads ===== ===== Downloads =====
  
 <WRAP round download round 80%> <WRAP round download round 80%>
-\\+
   * {{:resources:tools-software:uc-drivers:ad7780_generic.zip|AD7780 Generic Driver}}   * {{:resources:tools-software:uc-drivers:ad7780_generic.zip|AD7780 Generic Driver}}
   * {{:resources:tools-software:uc-drivers:renesas:ad7780_rl78g13.zip|AD7780 RL78G13 Driver}}   * {{:resources:tools-software:uc-drivers:renesas:ad7780_rl78g13.zip|AD7780 RL78G13 Driver}}
-\\+  * **AD7780 Driver:            ** https://github.com/analogdevicesinc/no-OS/tree/master/drivers/adc/ad7780 
 +  * **PmodAD3 Demo for RL78G14: ** https://github.com/analogdevicesinc/no-OS/tree/master/Renesas/RL78G14/PmodAD3 
 +  * **RL78G14 Common Drivers:   ** https://github.com/analogdevicesinc/no-OS/tree/master/Renesas/RL78G14/Common 
 </WRAP> </WRAP>
  
Line 18: Line 21:
  
 ==== Required Hardware ==== ==== Required Hardware ====
-  * [[http://am.renesas.com/products/tools/introductory_evaluation_tools/renesas_demo_kits/yrdkrl78g13/index.jsp|Renesas Demo Kit for RL78G13 (Renesas)]]+  * [[https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rl78-low-power-8-16-bit-mcus/yrdkrl78g13-yrdkrl78g13-demonstration-kit-rl78g13|Renesas Demo Kit for RL78G13 (Renesas)]]
   * 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’.
 +</WRAP>
 +
  
 {{ :resources:tools-software:uc-drivers:renesas:pmod_ad3_rl78g13_screen.jpg? |}} {{ :resources:tools-software:uc-drivers:renesas:pmod_ad3_rl78g13_screen.jpg? |}}
Line 50: Line 57:
 ==== Software Project Tutorial ==== ==== Software Project Tutorial ====
 {{page>rl78g13_software_tutorial_without_applilet3}} {{page>rl78g13_software_tutorial_without_applilet3}}
 +
 +
 +====== 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://www.renesas.com/us/en/products/microcontrollers-microprocessors/rl78-low-power-8-16-bit-mcus/yrdkrl78g14-yrdkrl78g14-demonstration-kit-rl78g14|Renesas Demo Kit for RL78G14 (Renesas)]]
 +  * PmodAD3
 +
 +==== Required Software ====
 +  * [[http://www.iar.com/en/Products/IAR-Embedded-Workbench/Renesas-RL78/|IAR Embedded Workbench for Renesas RL78 Kickstart]]
 +  * 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**,  the **PmodAD3 Demo for RL78G14** and the **RL78G14 Common Drivers**.
 +
 +All three parts have to be downloaded.
 +</WRAP>
 +==== Hardware Setup ====
 +A PmodAD3 has to be connected to the PMOD1 connector (see image below).
 +
 +{{ :resources:tools-software:uc-drivers:renesas:pmod_ad3_rl78g14.jpg? |}}
 +
 +<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.
 +
 +</WRAP>
 +
 +==== 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’.
 +</WRAP>
 +
 +{{ :resources:tools-software:uc-drivers:renesas:pmod_ad3_rl78g14_screen.jpg? |}}
 +
 +
 +==== Software Project Tutorial ====
 +{{page>rl78g14_software_tutorial}}
  
 ====== More information ====== ====== More information ======
 {{page>:resources:tools-software:uc-drivers:more-information}} {{page>:resources:tools-software:uc-drivers:more-information}}
resources/tools-software/uc-drivers/renesas/ad7780.1368002051.txt.gz · Last modified: 08 May 2013 10:34 by Lucian Sin