This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
resources:tools-software:uc-drivers:renesas:adxl345 [28 Sep 2012 16:55] – Added the "More Information" section Dragos Bogdan | resources:tools-software:uc-drivers:renesas:adxl345 [24 May 2013 12:54] – Deleted the generic driver. Dragos Bogdan | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Downloads ===== | ===== Downloads ===== | ||
- | * {{: | + | |
+ | <WRAP round download 80%> | ||
* {{: | * {{: | ||
* {{: | * {{: | ||
+ | * **ADXL345 Driver: | ||
+ | * **PmodACL Demo for RL78G14: ** https:// | ||
+ | * **RL78G14 Common Drivers: | ||
+ | </ | ||
====== Renesas RL78G13 Quick Start Guide ====== | ====== Renesas RL78G13 Quick Start Guide ====== | ||
Line 20: | Line 25: | ||
==== Required Software ==== | ==== Required Software ==== | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | ||
==== Hardware Setup ==== | ==== Hardware Setup ==== | ||
Line 33: | Line 37: | ||
{{ : | {{ : | ||
- | ==== Software Setup ==== | + | ==== Reference Project Overview |
- | With the // | + | In this example, |
- | === CSI10 (Clocked Serial Interface 10) – For the ST7579 LCD and the ADXL345 part(if the SPI protocol is chosen) === | + | {{ :resources:tools-software:uc-drivers:renesas:adxl345_rl78g13_screen.jpg? |}} |
- | Choose to generate the Transmit/ | + | |
- | * Transfer mode setting: //**Single transfer mode**// | + | |
- | * Data length setting | + | |
- | * Transfer direction setting: // | + | |
- | * Specification of data timing: //**Type 1**// | + | |
- | * Transfer rate setting – Clock mode: // | + | |
- | * Transfer rate setting – Baudrate: // | + | |
- | * Interrupt setting – Transfer interrupt priority (INTCSI10): // | + | |
- | * Uncheck the callback functions. | + | |
- | === IICA0 (Inter Integrated Circuit Bus) - For the ADXL345 part(if the I2C protocol is chosen) | + | ==== Software Project Setup ==== |
- | Choose the //**Single master**// transfer mode and configure the interface with the following settings: | + | {{page> |
- | * Clock mode setting: // | + | |
- | * Local address setting – Address: // | + | |
- | * Operation mode setting : // | + | |
- | * Operation mode setting – Transfer clock (fSCL): // | + | |
- | * Interrupt setting – Communication end interrupt priority (INTIICA0): // | + | |
- | * Callback function setting: Check //**Master transmission end**// and //**Master reception end**// callback functions | + | |
- | * Callback function enhanced feature setting: Check the // | + | |
- | === TM00 (Timer 00) – For the DelayMs() function | + | ====== Renesas RL78G14 Quick Start Guide ====== |
- | Configure TM00 as an interval timer: | + | This section contains a description |
- | * 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 === | + | ==== Required Hardware ==== |
- | Disable the watchdog timer: | + | * [[http:// |
- | * Choose for the Watchdog timer operation setting: //**Unused**// option. | + | * PmodACL |
+ | |||
+ | ==== Required Software ==== | ||
+ | * [[http://www.iar.com/ | ||
+ | | ||
+ | |||
+ | <WRAP round info 80%> | ||
+ | The ADXL345 demonstration project for the Renesas RL78G14 platform consists of three parts: the **ADXL345 Driver**, the **PmodACL Demo for RL78G14** and the **RL78G14 Common Drivers**. | ||
+ | |||
+ | All three parts have to be downloaded. | ||
+ | </WRAP> | ||
+ | ==== Hardware Setup ==== | ||
+ | There are two options: | ||
+ | |||
+ | * The ADXL345 part installed on the Renesas Demonstration Kit (RDK) for RL78G14 can be used. In this case, the I2C protocol has to be chosen with ' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | * A PmodACL can be connected to the PMOD1 connector. In this case, the SPI protocol has to be chosen with ' | ||
+ | |||
+ | {{ : | ||
==== Reference Project Overview ==== | ==== Reference Project Overview ==== | ||
- | In this example, | + | The reference project: |
+ | * reads and displays | ||
+ | * it displays | ||
- | {{ : | + | {{ : |
+ | |||
+ | |||
+ | ==== Software Project Tutorial ==== | ||
+ | {{page> | ||
- | ==== Software Project Setup ==== | ||
- | {{page> | ||
====== Renesas RX62N Quick Start Guide ====== | ====== Renesas RX62N Quick Start Guide ====== |