Quick Tutorial: Building Renesas Synergy Smart Chef Demo from Source



What we’re doing

We’re getting the source code and building both the Smart Chef Demo and the Smart Garage Demo. Both of these demos use the same S3A7 code.

Before you do this

You don’t need to compile from source to use the Smart Garage and Smart Chef demos. The binaries are available for download. This tutorial is only for people that have gone through the Smart Garage Demo and want to tinker with the code.

Download and Install e2 Studio and SSP

  • e2 Studio (I tested both 5.2 and 5.3 successfully)

  • SSP (Synergy Software Package) 1.1.3 (not the most recent version)

When you install e2 Studio, you should also install GCC ARM Embedded 4.9.3

Download Application Note and Files

Download source for the S3A7 Smart Chef Demo

Extract Files

Go To Extracted Folder

Copy Board Support Package (BSP)

Add the BSP for the S3A7 IoT Fast Prototyping Kit to e2 Studio.

In the folder you extracted, copy user.s3_iot_lcd_dev.1.1.3.pack into C:\Renesas\e2_studio\internal\projectgen\arm\Packs. This assumes that e2 Studio is installed in the default location.

Import Zipped Demo Into e2 Studio

Select Existing Projects into Workspace. Click Next.

Select archive file. Browse to the folder that you just extracted. Import the zipped file called smartchef.zip

After import, it will look like this.

Confirm SSP version

Set SSP version to 1.1.3

Generate Project Content



Smart Chef Demo With Cloud Driven GPIO – Completed with Modifications
My First Tutorial - UPDATED
SK-S3A7 Tutorials
My First Tutorial - UPDATED
S3A7 Smart Chef Demo with Cloud-Driven GPIO - Summary
Updated 4 LED Blinky on S3A7 Fast Prototyping Board
Challenge: Simultaneous Wifi Access

Thanks for this great tutorial, Craig! It’s a game changer for me. I just went through it using e2 Studio I flashed the board with the new .srec file, and it works! I had been trying to build a new .srec file to do the cloud driven GPIO tutorial, but I couldn’t get it to work. The key steps from your tutorial that I had been missing were 1) copying the pack file to the right place and 2) importing as an archive file.

When I generated the project content, there were quite a few warnings about a nonexistent path. The ‘build project’ step resulted in 0 errors/warnings, but I wonder if you also saw those mysterious path warnings during the ‘generate project content’ step…

In figuring this all out, did you find a source of reference documentation that was particularly helpful? I’d love to know about it if you did.

Thanks again,



@Dan, thanks for the note and for being a pioneer with all of us in this community. I feel like we’re all trying to learn this stuff together and it’s nice to have a sense of camaraderie.

There’s a lot of challenges learning Synergy, e2 Studio, and the boards. After reading your comment, I had a new insight. You may want to want to contact @jcasman about borrowing an SK-S7G2 kit. We may be able to get Renesas to sponsor a few kits.

The primary reasoning behind this idea is that there’s more tutorials from Renesas for the SK-S7G2, including blinky as part of the SK-S7G2 Quick Start Guide.

The original strategy of using the S3A7 IoT Fast Protyping Kit as a platform to explore IoT concepts with the Renesas IoT Sandbox is still valid. However, I think some people quickly go through Smart Chef Demo and Smart Garage Demo and then want to customize the LCD panel for their specific data. Or, they may want to add their own set of sensors.

As the S3A7 IoT Fast Protyping Kit is a new board, there are not as many tutorials to learn Synergy. Most of the tutorials focus on the Renesas IoT Sandbox and use the existing binary for Smart Chef. The tutorials that get into Synergy assume prior knowledge.

A gentler path would be to go to SK-S7G2 GUIX “Hello World” after the SK-S7G2 Quick Start Guide. This is not usable with the S3A7.

On this path, I used this video for the SK-S7G2, but it’s fully usable with the S3A7.

After that, I think that Getting Started with the Weather Panel Application would be good.

Although I haven’t gone through the Weather Panel Application tutorial, I believe it is the basis for the SK-S7G2 With AMS Sensor and Connected Weather Demo.

After those four tutorials, I think it would be easier to swing back to the S3A7 and get something awesome going for a full project. For example, the S3A7 Smart Chef Demo with Cloud-Driven GPIO would then look more feasible. To be honest, I feel we made an error in directing people to that tutorial prior to more basic tutorials for e2 Studio and Synergy.

We may need to migrate some of the SK-S7G2 tutorials to the S3A7 IoT Fast Prototyping Kit boards. A short-term strategy might be to get access to an SK-S7G2. @jcasman and I might be able to secure 5 units from Renesas for people like you that are interested in digging more into Synergy.

We’re all learning and hopefully having fun in the process.



Thanks for all of the resources. I like the idea of using the S7G2 to learn a bit more about e2 Studio. There appears to be some great tutorials out there.

I did manage to get a basic blinky working on the S3A7 board. Within e2 Studio I selected another S3A7 development board and it happened to work because the LEDs are connected to the same i/o pins. If that is of value I could try to recreate it and write it up for the community. Now that you showed me how to get the source code properly loaded and built, I’m going to try to access the touchscreen.

Thanks again.


Oh nice! That would be awesome if you could document the process. The GUIX Hello World tutorial is rather gratifying to get working and it’s easy to modify. I spoke @jcasman and he’s planning to loan you his personal SK-S7G2 and then try and get more from our sponsor, Renesas. he might walk it over today or you can contact him and arrange pickup. Click on any of these tutorials. http://learn.iotcommunity.io/tags/guix to get a feel for the GUIX projects. This is something you could get going within an hour and then start modifying the GUI and event handling in another hour. You could then use the GUI to display data or trigger events with the Renesas IoT Sandbox (Medium One) and mobile apps. So, you could get something slick in a reasonable amount of time.

The coolest project thus far is the one below by @elpaniagua

How’s that for a LCD hack!!!

On a different topic, I notice that there are 5 docs for the DK-S3A7 (not the S3A7 IoT Fast Prototyping Kit that we all have). I’m curious if those might be an easier starting point for the S3A7 IoT Fast Prototyping Kit.



Can provide a “loaner” SK-S7G2 kit, no problem, especially since you’re making such headway. Very cool! I’ll email to ask about specifics in getting it to you.



Good man. Some solid progress in the community today. Would love to see that S3A7 Blinky project up.


As a quick test, I built the S7G2 ConnectedWeatherPanel application from source. The source for this demo is available from the Medium One Cloud Agent for Synergy package. The build went smoothly and I was able to transfer the image to the board.

I then connected the board to Ethernet to test network connectivity to the Renesas IoT Sandbox.

The board got an IP address by DHCP and using IP lookup, it found my city, time and was able to provide a weather report specific to my city.

I have not gone through the Medium One Cloud Agent for Synergy Documentation yet, but I feel it will be doable.

The source for guix_studio looks familiar, so we should be able to dive in fairly easily and customize the LCD panel for quick gratification.


The Blinky project worked well and it isn’t very hard. I have all the screenshots I need, and I should be able to post it by tomorrow night. I ended up using a Blinky template for an older S3A7 development board which had LEDs driven by Port 7 bits 1,2,3,4. On this latest board, the LEDs are driven by Port 7 bits 0,1,2,3. Without doing anything, you get 3 LEDs blinking (Port 7: 1-3) and it is easy to change the frequency to show you are in control.

I’ll post that much as part 1. For part 2, I’ll figure out how to turn on the 4th LED. I was able to configure the pin as the appropriate type of output, but I still have to change the code in a few places.


This is fantastic. I want to build blinky.

You may want to try adding a new sensor onto the S3A7 IoT Fast Prototyping Kit. @jcasman has the Sensirion Grove sensor used in the tutorial below.


It could be a path forward to connect the pH sensor you were talking about earlier.

The key part seems to be in sensor_thread_entry.c

err = g_sf_i2c_device3.p_api->open(g_sf_i2c_device3.p_ctrl, g_sf_i2c_device3.p_cfg);
err = g_sf_i2c_device4.p_api->open(g_sf_i2c_device4.p_ctrl, g_sf_i2c_device4.p_cfg);

Maybe he can loan you the Sensiron Grove sensor module.

Seems like there’s many options to learn now that we know how to do a few things with e2 Studio and Synergy. BTW, it took me a long time to figure how to import the zipped file too. Like you, I unzipped the package initially. I think we’re all encountering the same errors with versioning of the Synergy libraries, importing the zipped archive files, and getting the BSP (Board Support Package) into e2 Studio.

The sensor is only $12, but as it’s similar to the existing sensor in the S3A7 IoT Fast Prototyping Kit, you may not want to buy it. Jesse may be able to loan you one for the tutorial if you’re interested.


I went through the S3A7 WITH SENSIRION GROVE SENSOR tutorial to add a new sensor to the S3A7 to make sure things went smoothly. Some of the steps assume prior knowledge.

Add new i2c device

Threads Tab

In the Sensor Thread Stacks window, you need to hit the small plus icon.

When you click on the plus icon, a new menu opens up to add the I2C Framework Device on sf_i2c

Now I have a fourth device.

If I left click on the Add I2C Framework Shared Bus, I get the option to use g_sf_i2c_bus0 Framework Shared Bus…

It then turns blue.

To configure the I2C Driver, click on the driver. It will be grey. Go go to the properties tab.

Register Sensiron I2c device

Builds cleanly

Transfer with no problem.

Unboxing the Grove Sensiron Sensor

Hook it up.

Activate Sandbox

I connected it to the Sandbox, but as there are many steps, I won’t document it here. If you’re having problems connecting to the sandbox, there is a separate tutorial.

Configure Workflow on Sandbox

View Data on Sandbox Dashboard

New Sensor Hard at Work Sending IoT Data to Renesas IoT Sandbox

My First Tutorial - UPDATED
SK-S3A7 Tutorials
Smart Chef Demo With Cloud Driven GPIO – Completed with Modifications

Review of the S3A7 with Sensirion Grove Sensor Tutorial


The tutorial is fully functional with no errors. I was able to go through it in an hour. I now have the S3A7 IoT Fast Prototyping Kit working with a new sensor that was not included with the kit. This opens to door for a range of new projects. The SHT31 uses a standard Grove connector and is cheap at $12. It processes both temperature and humidity, which are really common inputs.

The tutorial assumes prior knowledge of e2 Studio, Synergy and the Renesas IoT Sandbox. I do not recommend going through the tutorial as a beginner tutorial to learn Synergy or the Sandbox. It is a great tutorial to learn how to add a sensor.

Phase 1 Learning of e2 Studio

If you want to learn e2 Studio and Synergy, the easiest path is to get an SK-S7G2 and go through these tutorials:

  1. Blinky as part of the SK-S7G2 Quick Start Guide. Note that @Dan is building a blinky tutorial for the S3A7 IoT Fast Prototyping Kit. Blinky is the one to start with
  2. As preparation for all demo tutorials, learn how to import packages into e2 Studio. Make sure you watch that video 5 minute or your may try and extract the zip file (which won’t work for import).
  3. SK-S7G2 GUIX “Hello World”. Do not skip Blinky. This one is much more involved. Think Blink before GUI.

At this point, you’re on your way.

Phase 2 Learning of e2 Studio

Suggested projects after the three steps above:

  1. For SK-S7G2: Build Connected Weather Demo from source. It’s here. Not recommended to add the AMS sensor yet. Just build it. The IoT Sandbox components require background knowledge. Just practice the build for now.

  2. For S3A7 IoT Fast Prototyping Kit: Build Smart Chef Demo from source. It’s here. Do not add cloud-driven GPIO at this time. Just practice building from source.

Learning Renesas IoT Sandbox

For SK-S7G2


The S3A7 With Sensirion Grove Sensor is a great tutorial that explains how to add a new sensor to the S3A7 IoT Fast Prototyping Kit. It assumes prior knowledge. I recommend that people new to Synergy or the IoT Sandbox go through other tutorials first and then try the Sensirion Grove Sensor tutorial.


Hi all,

I have posted a blog on how to install e2studio and ssp 1.1.3 for smartchef after the support team work with me through it.

Hope this will help you.

Forum post


My blog summary on installation


Best regards,


This is great. Do you mind if I post of copy of your blog post on this site and attribute you as the author? It might make it easier for people to find the content if I put the pictures in. I’ll put you as the author of the topic so you’ll get the recognition. Let me know if you’re okay with this.


Hi Graig,

Yes, I am absolutely ok… I am happy to help others in this community. I don’t mind. Please feel free to do so! Thank you.

I appreciate so much what you and others are placing here. I am reading the posts. I am so glad that I found this site today.



Michael, thanks for the generous contribution to the knowledge pool! We’re all learning this stuff together and having fun. :slight_smile: I’m going to put it up on our site with your name as the author. Your tutorial will get automatically emailed to hundreds of subscribers.



This is really cool. Thank you for making it. We were just talking about needing this for the next meetup, probably June 5 in San Jose, for people setting up their machines on-site when they get there. This will help a lot!

Thank you!



Great. I am very happy to help.

It has been fun to learn this IOT board. It takes a lot of time to learn from even the first tutorial. I am new to e2studio and python libraries. It is good to have a community here to help each other.

Look forward to attend the meeting and meet some cool people on June 5.

Nice to know you. Jesse.


Nice to meet you, too, Michael! So you’re local? In other words, within range of San Jose? And you think you could make it to an evening meetup? June 5 is a Monday. Last time was super useful, people worked through the tutorial or worked on more simple provisioning issues. We’ll have the info up shortly and start promoting it. But it would be great to meet you face-to-face.


Yes, I am. I can attend the evening meetup on Monday. Is the time/place of that evening meeting posted here? I can use some tutorials. Definitely I look forward to meet you face to face.