APPLICATION NOTE
R01AN3362EJ0111 Rev.1.11 Page
1
of 66
Nov 1, 2017
RL78/G1D Module
Module Control Software (Including Module Firmware)
Introduction
This application notebook is described about the software which controls the RL78/G1D module (RY7011).
The module software is made based on the modem configuration of Bluetooth
®
low energy protocol stack V1.11 (BLE
Software). The Module firmware for operations checks has been written to the module. And a system consists of a
program of the Host MCU which controls that. (The firmware indicates to the program that has been incorporated in the
fixed to the microcomputer device)
The Host MCU program that operates in RL78/G1D or PC and the source code of the module firmware are bundled as
a sample program. Host MCU program is a program to control in a command line like a sample program attached to the
BLE software V1.11. When porting to other MCU, please also refer to sample program application note for Host MCU.
RL78/G14 Host Sample (R01AN2807)
RX113 Host Sample (R01AN3155)
The source code of the module firmware corresponding to the BLE software V1.21 and Host MCU program also
bundled for reference. The correspondence of the sample program and the BLE software version is shown below.
Renesas_BLE_Module_V101 : It is BLE Software V1.11 is used. This program is written in the module.
Renesas_BLE_Module_V111 : It is BLE Software V1.21 is used.
The contents described in this document are shown in the following.
The outline of the Host MCU program, the module firmware and the profile (Chapter 1)
Development environment (Chapter 2)
Added API to the Host MCU program and the serial communication specification with the module (Chapter 3)
Software specification of the module firmware and the hardware setting (Chapter 4)
Target Device
RL78/G1D Module (RY7011)
Precautions:
(1) A shipping check flag is written in block 254 of a cord flash memory, so please don't rewrite.
(2) Bluetooth Device Address is written in block 255 of a cord flash memory, so please don't rewrite.
(3) Please in the setting that does not erase the unused code flash memory in an integrated development environment.
(Refer to "5.1 Code Flash Memory Rewriting Setting")
R01AN3362EJ0111
Rev.1.11
Nov 1, 2017
RL78/G1D Module Module Control Software(Including Module Firmware)
R01AN3362EJ0111 Rev.1.11 Page
2
of 66
Nov 1, 2017
Rerated Documents
Document Name
Document No.
RL78/G1D Module
R01UW0160E
R02UH0004E
Bluetooth Low Energy Protocol Stack
R01UW0095E
R01AN2767E
R01UW0088E
R01UW0089E
R01UW0090E
R01UW0091E
R01UW0092E
R01UW0097E
R01UW0103E
R01UW0106E
R01UW0107E
R01UW0108E
R01UW0109E
R01AN1375E
R01AN1376E
R01AN2469E
R01AN2807E
R01AN3155E