Wiki

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
resources:tools-software:uc-drivers:renesas:adf4360 [01 Jun 2012 12:51]
DragosB Added the "More Information" section
resources:tools-software:uc-drivers:renesas:adf4360 [05 Oct 2012 16:45]
DragosB Updated ADF4360 driver for RL78G13 and Generic.
Line 14: Line 14:
  
 ===== Evaluation Boards =====  ===== Evaluation Boards ===== 
-  * [[adi>​ADF4360-0 | EVAL-ADF4360-0EBZ1]] +  * [[adi>EVAL-ADF4360-0 | EVAL-ADF4360-0EBZ1]] 
-  * [[adi>​EVAL-ADF4360-1EBZ1 | EVAL-ADF4360-1EBZ1]] +  * [[adi>​EVAL-ADF4360-| EVAL-ADF4360-1EBZ1]] 
-  * [[adi>​EVAL-ADF4360-2EBZ1 | EVAL-ADF4360-2EBZ1]] +  * [[adi>​EVAL-ADF4360-| EVAL-ADF4360-2EBZ1]] 
-  * [[adi>​ADF4360-3 | EVAL-ADF4360-3EBZ1]] +  * [[adi>EVAL-ADF4360-3 | EVAL-ADF4360-3EBZ1]] 
-  * [[adi>​EVAL-ADF4360-4EBZ1 | EVAL-ADF4360-4EBZ1]] +  * [[adi>​EVAL-ADF4360-| EVAL-ADF4360-4EBZ1]] 
-  * [[adi>​EVAL-ADF4360-5EBZ1 | EVAL-ADF4360-5EBZ1]] +  * [[adi>​EVAL-ADF4360-| EVAL-ADF4360-5EBZ1]] 
-  * [[adi>​EVAL-ADF4360-6EBZ1 | EVAL-ADF4360-6EBZ1]] +  * [[adi>​EVAL-ADF4360-| EVAL-ADF4360-6EBZ1]] 
-  * [[adi>​ADF4360-7 | EVAL-ADF4360-7EBZ1]] +  * [[adi>EVAL-ADF4360-7 | EVAL-ADF4360-7EBZ1]] 
-  * [[adi>​ADF4360-8 | EVAL-ADF4360-8EBZ1]] +  * [[adi>EVAL-ADF4360-8 | EVAL-ADF4360-8EBZ1]] 
-  * [[adi>​ADF4360-9 | EVAL-ADF4360-9EBZ1]]+  * [[adi>EVAL-ADF4360-9 | EVAL-ADF4360-9EBZ1]]
  
 ===== Overview ===== ===== Overview =====
Line 45: Line 45:
   * [[adi>​ADF4360-7 | EVAL-ADF4360-7EBZ1 (ADI)]]   * [[adi>​ADF4360-7 | EVAL-ADF4360-7EBZ1 (ADI)]]
   * [[adi>​ADF4360-8 | EVAL-ADF4360-8EBZ1 (ADI)]]   * [[adi>​ADF4360-8 | EVAL-ADF4360-8EBZ1 (ADI)]]
-  * [[adi>​ADF4360-9 | EVAL-ADF4360-9EBZ1 (ADI)]]  ​+  * [[adi>​ADF4360-9 | EVAL-ADF4360-9EBZ1 (ADI)]] ​ 
 +  * [[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)]]   * [[http://​am.renesas.com/​products/​tools/​introductory_evaluation_tools/​renesas_demo_kits/​yrdkrx62n/​index.jsp|Renesas Demo Kit for RX62N (Renesas)]]
  
Line 67: Line 68:
 The following functions are implemented in this version of ADF4360 driver: The following functions are implemented in this version of ADF4360 driver:
 ^ Function ​      ^ Description ​    ^ ^ Function ​      ^ Description ​    ^
-| void ADF4360_Write3Bytes(unsigned ​int data) | Writes ​data into a register. | +| unsigned char ADF4360_Init(unsigned char adf4360Version) | Initialize the device. | 
-| unsigned char ADF4360_Init(void) | Initializes ​the SPI peripheral. |+| void ADF4360_Write(unsigned ​long data) | Write data into a register. | 
 +void ADF4360_Power(unsigned char powerMode) | Powers down or powers up the device. | 
 +| unsigned long long ADF4360_SetFrequency(unsigned long long frequency) | Sets the ADF4360 frequency. |
  
 ===== Downloads ===== ===== Downloads =====
Line 94: Line 97:
 ==== 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 119: Line 121:
 {{ :​resources:​tools-software:​uc-drivers:​renesas:​eval_adf4360_x_db9_rl78g13.jpg?​ |}} {{ :​resources:​tools-software:​uc-drivers:​renesas:​eval_adf4360_x_db9_rl78g13.jpg?​ |}}
  
-==== Software Setup ==== +==== Reference Project Overview ​==== 
-With the //​**Applilet3 for RL78G13**// tool the following peripherals have to be configured:+In this example ​the output frequency of the device is set to 900 MHz.
  
-=== CSI10 (Clocked Serial Interface 10) – For the ADF4360 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 ===  +{{ :resources:​tools-software:uc-drivers:renesas:eval_adf4360_x_rl78g13_screen.jpg? |}}
-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 ==== +
-In this example, two values are loaded into R and N Counters and the MUXOUT is configured to be connected to the R Divider output.+
  
 ==== Software Project Tutorial ==== ==== Software Project Tutorial ====
-{{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/adf4360.txt · Last modified: 05 Oct 2012 16:45 by DragosB