Wiki

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
resources:tools-software:uc-drivers:renesas:ad7190 [15 Nov 2012 18:23]
Lars-Peter Clausen [Required Hardware] Fix link
resources:tools-software:uc-drivers:renesas:ad7190 [08 May 2013 13:50]
Dan Nechita Updated the driver. Applilet software is not required anymore.
Line 20: Line 20:
 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. 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):​** 
-  * [[http://​am.renesas.com/​products/​tools/​introductory_evaluation_tools/​renesas_demo_kits/​yrdkrl78g13/​index.jsp|Renesas Demo Kit for RL78G13 (Renesas)]] 
-  * [[http://​am.renesas.com/​products/​tools/​introductory_evaluation_tools/​renesas_demo_kits/​yrdkrx62n/​index.jsp|Renesas Demo Kit for RX62N (Renesas)]] 
 ===== Driver Description ===== ===== Driver Description =====
 The driver contains two parts: The driver contains two parts:
Line 54: Line 51:
 | unsigned long AD7190_ContinuousReadAvg(unsigned char sampleNumber) | Returns the average of several conversion results. | | unsigned long AD7190_ContinuousReadAvg(unsigned char sampleNumber) | Returns the average of several conversion results. |
 | unsigned long AD7190_TemperatureRead(void) | Read data from temperature sensor and converts it to Celsius degrees. | | unsigned long AD7190_TemperatureRead(void) | Read data from temperature sensor and converts it to Celsius degrees. |
 +
 +**HW Platform(s):​**
 +  * [[http://​am.renesas.com/​products/​tools/​introductory_evaluation_tools/​renesas_demo_kits/​yrdkrl78g13/​index.jsp|Renesas Demo Kit for RL78G13 (Renesas)]]
 +  * [[http://​am.renesas.com/​products/​tools/​introductory_evaluation_tools/​renesas_demo_kits/​yrdkrx62n/​index.jsp|Renesas Demo Kit for RX62N (Renesas)]]
  
 ===== Downloads ===== ===== Downloads =====
 +
 +<WRAP round download 80%>
   * {{:​resources:​tools-software:​uc-drivers:​renesas:​ad7190_generic.zip|AD7190 Generic Driver}}   * {{:​resources:​tools-software:​uc-drivers:​renesas:​ad7190_generic.zip|AD7190 Generic Driver}}
   * {{:​resources:​tools-software:​uc-drivers:​renesas:​ad7190_rl78g13.zip|AD7190 RL78G13 Driver}}   * {{:​resources:​tools-software:​uc-drivers:​renesas:​ad7190_rl78g13.zip|AD7190 RL78G13 Driver}}
   * {{:​resources:​tools-software:​uc-drivers:​renesas:​ad7190_rx62n.zip|AD7190 RX62N Driver}}   * {{:​resources:​tools-software:​uc-drivers:​renesas:​ad7190_rx62n.zip|AD7190 RX62N Driver}}
 +</​WRAP>​
 +
 ====== Renesas RL78G13 Quick Start Guide ====== ====== Renesas RL78G13 Quick Start Guide ======
 This section contains a description of the steps required to run the AD7190 demonstration project on a Renesas RL78G13 platform. ​ This section contains a description of the steps required to run the AD7190 demonstration project on a Renesas RL78G13 platform. ​
Line 67: Line 72:
 ==== Required Software ==== ==== Required Software ====
   * [[http://​www.iar.com/​en/​Products/​IAR-Embedded-Workbench/​Renesas-RL78/​|IAR Embedded Workbench for Renesas RL78 Kickstart]]   * [[http://​www.iar.com/​en/​Products/​IAR-Embedded-Workbench/​Renesas-RL78/​|IAR Embedded Workbench for Renesas RL78 Kickstart]]
-  * [[http://​am.renesas.com/​|Applilet3 for RL78G13]] 
  
 ==== Hardware Setup ==== ==== Hardware Setup ====
Line 79: Line 83:
     ​     ​
 {{ :​resources:​tools-software:​uc-drivers:​renesas:​eval_ad7190ebz_rl78g13.jpg?​ |}} {{ :​resources:​tools-software:​uc-drivers:​renesas:​eval_ad7190ebz_rl78g13.jpg?​ |}}
- 
-==== Software Setup ==== 
-With the //​**Applilet3 for RL78G13**// tool the following peripherals have to be configured: 
- 
-=== CSI10 (Clocked Serial Interface 10) – For the AD7190 part and the ST7579 LCD === 
-Choose to generate the Transmit/​receive function for the CSI10 and configure the interface with the following settings: 
-  * Transfer mode setting: //**Single transfer mode**// 
-  * Data length setting : //**8 bits**// 
-  * Transfer direction setting: //**MSB**// 
-  * Specification of data timing: //**Type 1**// 
-  * Transfer rate setting – Clock mode: //​**Internal clock (master)**//​ 
-  * Transfer rate setting – Baudrate: //​**1000000**//​ (bps) 
-  * Interrupt setting – Transfer interrupt priority (INTCSI10): //**Low**// 
-  * Uncheck the callback functions. 
- 
-=== TM00 (Timer 00) – For the DelayMs() function ===  
-Configure TM00 as an interval timer: 
-  * Interval timer setting - Interval value(16 bits): //**1**// ms 
-  * Interval timer setting - Uncheck //Generates INTM00 when counting is started// 
-  * Interrupt setting - Uncheck // End of timer channel 0 count, generate an interrupt (INTM00)// 
- 
-=== Watchdog Timer === 
-Disable the watchdog timer: 
-  * Choose for the Watchdog timer operation setting: //​**Unused**//​ option. 
  
 ==== Reference Project Overview ==== ==== Reference Project Overview ====
Line 116: Line 96:
  
 ==== Software Project Setup ==== ==== Software Project Setup ====
-{{page>rl78g13_software_tutorial}}+{{page>rl78g13_software_tutorial_without_applilet3}}
  
 ====== Renesas RX62N Quick Start Guide ====== ====== Renesas RX62N Quick Start Guide ======
resources/tools-software/uc-drivers/renesas/ad7190.txt · Last modified: 25 Jan 2021 05:24 by Robin Getz