Page 1
Summary This application note provides sample code to demonstrate energy harvesting and RE01 Family's unique quick-start mode using the EK-RE01 256KB (Evaluation Kit RE01 256KB), a development kit for the RE01 256KB Group. In this sample code, power is supplied from an energy harvesting control circuit (EHC) powered by an energy harvesting element (solar panel/thermoelectric generator).
Energy Harvesting Launch Operation Demo using Quick Start Mode Enabling Effective MCU Utilization during Charging Time for RE01 256KB Group Contents What is Quick Start for Energy Harvesting Circuit for RE Family? ..........3 Specifications .......................... 3 Description of Project ..........................3 Overview ..............................
Energy Harvesting Launch Operation Demo using Quick Start Mode Enabling Effective MCU Utilization during Charging Time for RE01 256KB Group 1. What is Quick Start for Energy Harvesting Circuit for RE Family? Quick start is a function that is unique to EHC circuit in RE Family. This function enables the users to immediately use the device before the secondary battery is fully charged.
Page 4
Energy Harvesting Launch Operation Demo using Quick Start Mode Enabling Effective MCU Utilization during Charging Time for RE01 256KB Group (a) during charging in quick start mode (b) after charging is completed Figure 2.1 SMIP Display during Quick Start Up Sequence After the secondary battery is charged, the program goes to main.c and SMIP alternately shows the ...
Energy Harvesting Launch Operation Demo using Quick Start Mode Enabling Effective MCU Utilization during Charging Time for RE01 256KB Group Solar panel Thermoelectric generator MOCO SOSC Power generating elements 2 MHz 32.768 kHz AGT1 AGT0 Interrupt request Interrupt request P814 VCOM P813 RESET...
Energy Harvesting Launch Operation Demo using Quick Start Mode Enabling Effective MCU Utilization during Charging Time for RE01 256KB Group 2.4 Procedure for Operating Sample Code Follow the steps described below to operate the sample code. Refer to the startup guide for more details of how to build and download the program.
Energy Harvesting Launch Operation Demo using Quick Start Mode Enabling Effective MCU Utilization during Charging Time for RE01 256KB Group 2.5 Jumper settings and power generator element connections ・Fig. 2.4 shows the board setting when downloading the program. ・Fig. 2.5 shows the board setting during energy harvesting operation (using solar panel) ・Fig.
Page 8
Energy Harvesting Launch Operation Demo using Quick Start Mode Enabling Effective MCU Utilization during Charging Time for RE01 256KB Group J10: 1 - 2 open J15: 2 - 3 short 2 - 3 open J6: 2 - 3 short J9: short ×...
Thermoelectric generator harvester Thermoelectric generation element (GEM-H071010) MERCURY Eval Board (MCRY-EVALKIT) Development studio 2020-07 made by Renesas Electronics environment IAR Embedded Workbench for ARM Version 8.40.2.22891 C compiler GCC ARM Embedded V6.3.1.20170620 GNU 6-2017-q2-update IARC/C++ Compiler for ARM Version 8.40.2 or later Version of I/O header Rev.
Energy Harvesting Launch Operation Demo using Quick Start Mode Enabling Effective MCU Utilization during Charging Time for RE01 256KB Group 4. Description of Software This sample code demonstrates EHC quick start up and operation powered by a solar panel. In EH mode, users can choose to connect 2.4 V, 2.5 V, 2.6 V, 2.7 V, 2.8 V, 2.9 V, 3.0 V, and 3.1 V secondary battery or super capacitor.
Page 11
Energy Harvesting Launch Operation Demo using Quick Start Mode Enabling Effective MCU Utilization during Charging Time for RE01 256KB Group RESET Rewrite display of SMIP Start secondary battery charging Secondary battery charging completed? Rewrite display of SMIP Go to Main Figure 4.2 Program Flow during Secondary Battery Charging Period Main Copy program to RAM...
Energy Harvesting Launch Operation Demo using Quick Start Mode Enabling Effective MCU Utilization during Charging Time for RE01 256KB Group 5. Specifications of Driver APIs The specifications of drivers in the CMSIS driver package can be found in the directory shown below. Refer to the specifications and notes for each driver inside the folder.
Energy Harvesting Launch Operation Demo using Quick Start Mode Enabling Effective MCU Utilization during Charging Time for RE01 256KB Group interrupt_init() … /*set DMAC source: SPI1_SPTI*/ ICU->DELSR0_b.DELS=0x9F; /*DMAC transfer end interrupt*/ /*Set priority*/ R_NVIC_SetPriority(SYSTEM_CFG_EVENT_NUMBER_DMAC0_INT,3); /*Set IRQ channel 0 for DMAC0_INT interrupt*/ R_SYS_IrqEventLinkSet(SYSTEM_CFG_EVENT_NUMBER_DMAC0_INT, 0x02, dmac0_int_callback);...
A) Check to make sure the VOCR register has been set up correctly before making the initial settings for peripheral functions. For details, refer to the related document No. R01AN4660. Sample Code Sample code can be downloaded from the Renesas Electronics website. R01AN5406EJ0100 Rev.1.00 Page 14 of 16 Aug. 25, 2020...
9. Reference Documents User’s Manual: Hardware RE01 Group User’s Manual: Hardware (The latest version can be downloaded from the Renesas Electronics website.) Technical Update/Technical News (The latest version can be downloaded from the Renesas Electronics website.) User’s Manual: Development Tools (The latest version can be downloaded from the Renesas Electronics website.)
Energy Harvesting Launch Operation Demo using Quick Start Mode Enabling Effective MCU Utilization during Charging Time for RE01 256KB Group Revision History Description Rev. Date Page Summary 1.00 Aug. 25, 2020 First edition issued R01AN5406EJ0100 Rev.1.00 Page 16 of 16 Aug.
Page 17
Unit Products The following usage notes are applicable to all Microprocessing unit and Microcontroller unit products from Renesas. For detailed usage notes on the products covered by this document, refer to the relevant sections of the document as well as any technical updates that have been issued for the products.
Page 18
Renesas Electronics disclaims any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that is inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document.
Need help?
Do you have a question about the EK-RE01 256KB and is the answer not in the manual?
Questions and answers