This User guide describes about the Renesas Sensor Panel Board. In this Sensor Panel solution, Renesas Synergy™
S124 Microcontroller Group and Renesas RL78/G1D Bluetooth Low Energy (hereafter called BLE) are the highlighted
Components. Using this Sensor Panel Board, developers can easily start to evaluate on Renesas Lighting solution, using
RL78/G1D Bluetooth® wireless connectivity and Renesas Synergy™ S124 device including Temperature sensor, Light
sensor and necessary user interface.
R12AN0074EU0100 Rev.1.00 Page 1 of 19
Nov 15, 2017
Renesas Synergy™ S124Sensor Panel Board User Guide
Item
Content
Dimension
3.25 inch x 4.725 inch
Mounting Hole Dimension
2.650 inch x 3.375 inch, Φ ⅛ inch
Operation Power Supply Voltage
5.0 V
Maximum Power Supply Current
100 mA
Operating Ambient
Temperature/Humidity
0C to +60C, 10% to 80% RH (non condensing)
1. Overview
The Sensor Panel Board uses the Renesas Synergy™ S124, 32-MHz Arm® Cortex®-M0+ microcontroller with 256 KB
of code flash, 24 KB of SRAM, and 4 KB of data flash. It has two push button switches, one reset button, and three
LEDs for user interface; Bluetooth® RY7011 module and onboard micro-B USB for communication; and one PMODTM
connector for expansion. For interacting with surrounding environment, it also includes Temperature Sensor, Light
sensor, passive infrared (PIR) sensor, Reed Switch (Tilt Switch) with two LED indicators, Hall Effect Switch, and two
open drain outputs. There are a 5 volt center positive DC power connector (cylindrical male diameter 5.5mm) and the
same micro-B USB connector from external power and has internal power supply provided by Li-ion Battery (Type:
NCR18650BF or equivalent) with battery charger including 3.3 volt regulated output to provide onboard power. For
development, the board has two Programming/Debugging contactors: standard 9-pin JTAG contactor for S124 device
and 14-pin (2x7, 0.1 inch) connector for RY7011 module. Two 4-screw terminals are included for two general purpose
switch inputs and two open drain output as well.
Figure 1 shows top and bottom view of the Sensor Panel Board.
Figure 1 Sensor Panel Board
1.1 Specification Outline
The specification of Sensor Panel Board is described as below Table 1.
Table 1 Sensor Panel Board Specification
R12AN0074EU0100 Rev.1.00 Page 2 of 19
Nov 15, 2017
Renesas Synergy™ S124Sensor Panel Board User Guide
JTAG Description
Renesas Synergy™ S124 Microcontroller
Function Name
Pin
Test Mode Select
TMS/SWDIO
P108 (P1_8)
Test Clock
TCK/SWCLK
P300 (P3_0)
Test Data Out
TDO
P109 (P1_9)
Test Data In
TDI
P110 (P1_10)
Reset
RESET#
RESET#
Power Supply rail
Temperature Sensor
Light Sensor
User Switches
LED Indicators
Open Drain outputs
Reed Switch
Hall Effect Switch
Current Sensor
Li-ion Battery Charger
S124 Sensor Panel board
E1 Debugger
2. Sensor Panel System
Figure 2 shows the Sensor Panel System Block diagram. Typically the Sensor Panel board has five sections: Renesas
Synergy™ S124 microcontroller (MCU), Bluetooth®, user input/output, Sensors, and regulated power supply with
battery. Renesas Synergy™ S124 device is populated along with RL78/G1D BLE module (RY7011). Thus the
acquisition of data from sensors are processed by S124 device and then transmitted through the Bluetooth® module
RY7011. To connect with external device like thermostat, it has two digital inputs and two open drain outputs for
controlling the device. In addition, there is one 12-pin PMOD™ connector so that you can utilize on adding more
sensor like Accelerometer or LCD display. You can also monitors the environment parameter using board sensors like
temperature, light, PIR, reed switch and Hall Effect switch. The Sensor Panel board is suitable to evaluate and develop
various sensor applications with S124 device. Using slide switch (S5), the Sensor Panel board can be powered up with
Li-ion battery or external power source.
S124
MCU
RL78 BLE
module
Li-ion Battery and
Regulated 3.3 volt
Figure 2 Renesas Synergy™ S124 Sensor Board System Block diagram
2.1 Renesas Synergy™ S124 device
This Sensor Panel board uses JTAG programming/debugging interface for S124 device. The JTAG signals can be used
through JTAG connector (J1). Use the SEGGER J-Link for programming to the board and debugging for development.
See detail in schematics sheet 2 of 6.
Table 2 JTAG
To enable JTAG debug with S124 target on the Sensor Panel board, use with jumper JP1 for boot mode as below.
Insert shunt jumper at JP1 SCI boot mode (serial programming mode).
Remove shunt jumper at JP1 Normal boot mode.
2.2 RL78/G1D module (RY7011)
This RY7011 is a Bluetooth Low Energy module incorporated with the RL78/G1D device, 32-MHz crystal resonator
for the RF section, and PCB antenna. This module has been certified on Japan’s Radio Law, FCC certification, IC
regulation, CE mark requirements, and the Bluetooth v4.1 specification. Thus it is suitable to use on Sensor Panel board
yet low power consumption as below:
RF transmission: 4.3 mA (TYP.)
RF reception: 3.5 mA (TYP.)
RF sleep (POWER_DOWN mode): 0.3 μA (TYP.)
R12AN0074EU0100 Rev.1.00 Page 3 of 19
Nov 15, 2017
Renesas Synergy™ S124Sensor Panel Board User Guide
3. Building Sample Project
3.1 Renesas Synergy™ S124 Firmware
This Sensor Panel board populates with Renesas Synergy™ S124 microcontroller to evaluate with onboard sensors.
Thus, Sensor Panel board can be used as development platform. When using this Sensor Panel board, PMOD™ module
can be added for extended feature through UART or CSI peripheral. For debugging and programming to S124 device,
you can use JTAG connector (J1) with SEGGER J-Link debugger. For using S124 programmer/debugger tool and detail
project development, refer Renesas website.
(Note: SEGGER J-Link download link: https://www.segger.com/downloads/jlink)
In order to build and debug the Renesas Synergy™ S124 firmware, you need e2 studio version 5.3 or later and Renesas
Synergy™ Software Package (SSP) 1.20. To begin debugging, import the project (s1_Sensor_board_01) from the
R12AN0074EU0100 Rev.1.00 Page 4 of 19
Nov 15, 2017
Renesas Synergy™ S124Sensor Panel Board User Guide
Figure 4 e2 studio Workspace environment Import Projects
3.1.1 Importing the Renesas Synergy™ Project in e2 studio Workspace
To import the project into e2 studio workspace, following the below step 1 to 5.
1. First, launch the e2 studio workspace.
2. Select Import from the File pulldown menu.
3. Select Existing Projects into Workspace from General, and click Next.
4. Browse the projects folder, select the files, and click Finish.
5. Clicking Workbench in the Welcome screen opens the Workspace (see Figure 5) and selects Build All (to
build all the projects) from Project pulldown menu.
Figure 5 e2 studio Workspace environment
R12AN0074EU0100 Rev.1.00 Page 5 of 19
Nov 15, 2017
Renesas Synergy™ S124Sensor Panel Board User Guide
3.1.2 Debugging the Renesas Synergy™ Project in e2 studio Workspace
1. To enable JTAG debug function on the S124 Sensor Panel board, do the following (see Figure 3).
The S124 Sensor Panel board uses JTAG as its programming/debugging interface. Insert shunt jumper at the
JP1 location (ON position) on Sensor Panel Board.
A. Attach the J-Link connector (J1) to the SEGGER J-Link debugger unit.
B. Supply power to the Sensor Panel Board using provided battery or +5 VDC Power via USB micro-B (J2).
Figure 3 shows the debug setting with SEGGER J-Link debugger.
Figure 6 e2 studio workspace debugging setup
2. Set the Debug configuration by selecting a project to debug.
3. Figure 6 shows the Debug Configuration window.
4. Select Debug Configuration from the Run pulldown menu.
5. Right-click Renesas GDB hardware Debugging.
6. Select New from the options menu to create a new debug launch.
7. Select the Debugger tab (see Figure 6).
8. Select Arm’sJ-Link for debug hardware and R7FS12477 for Target Device.
9. Click Debug to start debugging.
Figure 7 shows the Debug window. Click Resume (F8) to run the program in Debug mode.
Figure 7 e2 studio workspace in debugging mode for Renesas Synergy™ S124
R12AN0074EU0100 Rev.1.00 Page 6 of 19
Nov 15, 2017
Renesas Synergy™ S124Sensor Panel Board User Guide
3.2 Renesas RL78/G1D Firmware
This Sensor Panel board populates with Renesas Bluetooth® module, RY7011 that includes RL78/G1D device to
evaluate for Bluetooth® communication. Thus, Sensor Panel board is suitable for developing a wireless communication
platform.
To build the RL78/G1D beacon firmware, you need e2 studio version 5.3 or later and the CCRL compiler v1.00.
3.2.1 Importing the RL78/G1D Project in e2 studio Workspace
1. To begin debugging, import the project (R5F11AGJ_Beacon) from the following folder and follow the
procedure in section 3.1.1.
\..\Renesas_Sensor_Panel_Demo\RL_project\uart_beacon\
Figure 9 shows the project in the e2 studio for Renesas Beacon firmware project.
Figure 9 e2 studio with RL78 / G1D firmware project
2. Select Rebuild All from the Project pulldown menu to build the project.
The binary image output (R5F11AGJ_Beacon.hex) is placed in the following folder.