Running Sparklet on Renesas RA6M3G based EVK board
This comprehensive guide outlines the essential steps for running Sparklet powered UI application on the Renesas RA6M3G based EVK board.
It’s crucial to follow these instructions meticulously and sequentially to guarantee a smooth setup on your target device.
If you’re new to Sparklet, it’s advisable to begin by familiarizing yourself with the basic concepts and completing the quick tour tutorial in the following order.
Uncompress the example project, Sparklet_Coffee_Maker_Demo.zip in this case, on to your working directory. (e.g. E:RenesasRA6M3GSparklet_Coffee_Maker_Demo).
The provided project for RA6M3G EVK contains everything you need to create, compile, link and flash a Flint UI application for the Renesas RA6M3G target. This example is running on top of FreeRTOS with screen elements dynamically modified for demo.
The images of the Coffee Maker’s screen are presented below.
The Flint project for the same can be downloaded from Downloads Section.
After unpacking, you will find the following subdirectories:
Directory
Description
\src
This folder contains the files generated for each thread that
are configured in the stack configuration. There you will find
the initialization of the system and the FreeRTOS task to
drive a Flint application. This folder also contains files that
are needed for enabling touch support.
\ra
This folder contains the folders/files of the necessary
components that are selected in the FSP.
\inc
This folder contains the header files for Sparklet library.
\libs
This folder contains Sparklet library file.
\ra_cfg
This folder contains the configuration files for the
components that are selected in the FSP.
\script
This folder contains the linker file for the FSP.
\src\App
This folder contains the bin and header files of Flint project.
\src\touch_ft5x06
This folder contains the API’s related to touch.
Of these some files of interest are:
File
Description
sparklet_thread_entry.c
This file contains the API’s for initiating QSPI and sparklet.
touch_thread_entry.c
This file contains the API’s for initiating touch and obtaining
touch events.
Select the Startup tab and under the Load image and symbols, click on Add button and select the bin file from the file system. Enter the offset address as 60100000 to load the bin file to that external flash.