LAPIS Semiconductor MK715x1 Series User manual

FEXK715x1_RC_Quick_Guide-01
MK715x1
Remote Controller Application
Quick Reference Guide
Issue Date: November 30, 2020

MK715x1 Remote Controller Application
Quick Reference Guide
FEXK715x1_RC_Quick_Guide-01 i
Notes
1) The information contained herein is subject to change without notice.
2) When using LAPIS Technology Products, refer to the latest product information (data sheets, user’s manuals, application
notes, etc.), and ensure that usage conditions (absolute maximum ratings, recommended operating conditions, etc.) are
within the ranges specified. LAPIS Technology disclaims any and all liability for any malfunctions, failure or accident
arising out of or in connection with the use of LAPIS Technology Products outside of such usage conditions specified
ranges, or without observing precautions. Even if it is used within such usage conditions specified ranges, semiconductors
can break down and malfunction due to various factors. Therefore, in order to prevent personal injury, fire or the other
damage from break down or malfunction of LAPIS Technology Products, please take safety at your own risk measures such
as complying with the derating characteristics, implementing redundant and fire prevention designs, and utilizing backups
and fail-safe procedures. You are responsible for evaluating the safety of the final products or systems manufactured by
you.
3) Descriptions of circuits, software and other related information in this document are provided only to illustrate the standard
operation of semiconductor products and application examples. You are fully responsible for the incorporation or any other
use of the circuits, software, and information in the design of your product or system. And the peripheral conditions must be
taken into account when designing circuits for mass production. LAPIS Technology disclaims any and all liability for any
losses and damages incurred by you or third parties arising from the use of these circuits, software, and other related
information.
4) No license, expressly or implied, is granted hereby under any intellectual property rights or other rights of LAPIS
Technology or any third party with respect to LAPIS Technology Products or the information contained in this document
(including but not limited to, the Product data, drawings, charts, programs, algorithms, and application examples、etc.).
Therefore LAPIS Technology shall have no responsibility whatsoever for any dispute, concerning such rights owned by
third parties, arising out of the use of such technical information.
5) The Products are intended for use in general electronic equipment (AV/OA devices, communication, consumer systems,
gaming/entertainment sets, etc.) as well as the applications indicated in this document. For use of our Products in
applications requiring a high degree of reliability (as exemplified below), please be sure to contact a LAPIS Technology
representative and must obtain written agreement: transportation equipment (cars, ships, trains, etc.), primary
communication equipment, traffic lights, fire/crime prevention, safety equipment, medical systems, servers, solar cells, and
power transmission systems, etc. LAPIS Technology disclaims any and all liability for any losses and damages incurred by
you or third parties arising by using the Product for purposes not intended by us. Do not use our Products in applications
requiring extremely high reliability, such as aerospace equipment, nuclear power control systems, and submarine repeaters,
etc.
6) The Products specified in this document are not designed to be radiation tolerant.
7) LAPIS Technology has used reasonable care to ensure the accuracy of the information contained in this document.
However, LAPIS Technology does not warrant that such information is error-free and LAPIS Technology shall have no
responsibility for any damages arising from any inaccuracy or misprint of such information.
8) Please use the Products in accordance with any applicable environmental laws and regulations, such as the RoHS Directive.
LAPIS Technology shall have no responsibility for any damages or losses resulting non-compliance with any applicable
laws or regulations.
9) When providing our Products and technologies contained in this document to other countries, you must abide by the
procedures and provisions stipulated in all applicable export laws and regulations, including without limitation the US
Export Administration Regulations and the Foreign Exchange and Foreign Trade Act..
10) Please contact a ROHM sales office if you have any questions regarding the information contained in this document or
LAPIS Technology's Products.
11) This document, in part or in whole, may not be reprinted or reproduced without prior consent of LAPIS Technology.
(Note) “LAPIS Technology” as used in this document means LAPIS Technology Co., Ltd.
Copyright 2020 LAPIS Technology Co., Ltd.
2-4-8 Shinyokohama, Kouhoku-ku, Yokohama 222-8575, Japan
https://www.lapis-tech.com/en/

MK715x1 Remote Controller Application
Quick Reference Guide
FEXK715x1_RC_Quick_Guide-01 ii
Preface
This document is the quick reference guide for the remote controller application for Bluetooth®5 compatible Bluetooth
low energy module MK71511 and MK71521 made by Lapis Technology.
The following related documents are available, so please refer to them if necessary.
•MK71511 Data Sheet
•MK71521 Data Sheet
•MK715x1EK1A/ MK715x1EK1AP Hardware Manual
•MK715x1 Software Development Start-up Guide
•MK715x1 Remote Controller Application User’s Manual
【Note】
MK715x1 is intended for both MK71511 and MK71521 in this document.
- Bluetooth®is a registered trademark of Bluetooth SIG, Inc.
- All other company and product names are the trademarks or registered trademarks of the respective companies.

MK715x1 Remote Controller Application
Quick Reference Guide
FEXK715x1_RC_Quick_Guide-01 iii
Notation
Category Notation Description
● Value 0xnn Represents a hexadecimal number.
0bnnnn Represents a binary number.
● Address 0xnnnn_nnnn Represents a hexadecimal number. (indicates 0xnnnnnnnn)
● Unit Word, WORD 1 word = 32 bits
Byte, BYTE 1 byte = 8 bits
Mega, M 106
Kilo, K 210 = 1024
Kilo, k 103= 1000
Milli, m 10-3
Micro,10-6
Nano, n 10-9
Second, s (lowercase) Second
● Term "H" level Indicates high voltage signal levels VIH and VOH as specified by
the electrical characteristics.
"L" level Indicates low voltage signal levels VIL and VOL as specified by
the electrical characteristics.
● Register Description
Read/write attribute: R indicates read-enabled; W indicates write-enabled.
MSB: Most significant bit in an 8-bit register (memory)
LSB: Least significant bit in an 8-bit register (memory)

MK715x1 Remote Controller Application
Quick Reference Guide
FEXK715x1_RC_Quick_Guide-01 iv
Table of Contents
Notes................................................................................................................................................................................i
Preface............................................................................................................................................................................ ii
Notation...........................................................................................................................................................................iii
Table of Contents .......................................................................................................................................................... iv
1. Overview ..................................................................................................................................................................1
2. Operating Procedure................................................................................................................................................2
2.1. Installing Software .............................................................................................................................................2
2.2. Starting Application............................................................................................................................................2
3. Environment Settings...............................................................................................................................................4
3.1. Installing nRF Connect Programmer .................................................................................................................4
3.2. Updating MK715x1 Software.............................................................................................................................4
4. Log Function.............................................................................................................................................................6
Revision History..............................................................................................................................................................8

MK715x1 Remote Controller Application
Quick Reference Guide
1. Overview
FEXK715x1_RC_Quick_Guide-01 1
1. Overview
The remote controller application employing the beacon function of Bluetooth Low Energy allows users to transmit button
pressing information to other devices wirelessly. This application can be implemented effortlessly using the switches,
buttons, and LEDs on the MK715x1 evaluation kit (MK715x1EK1A).
The remote controller application uses beacon signals for wireless communication. A transmitter broadcasts a beacon
signal to unspecified devices. A receiver receives a beacon signal corresponding to this remote controller application. The
number of transmitter units that a receiver unit supports signal reception is four units (initial value).
This document describes how to use the remote controller application using the MK715x1 evaluation kit. For details on the
MK715x1 evaluation kit, refer to "MK715x1EK1A/MK715x1EK1AP Hardware Manual". To develop software using the
MK715x1 remote controller application as its base component, refer to "MK715x1 Remote Controller Application User's
Manual".
Transmitter side
Receiver side
Beacon
communication

MK715x1 Remote Controller Application
Quick Reference Guide
2. Operating Procedure
FEXK715x1_RC_Quick_Guide-01 2
2. Operating Procedure
2.1. Installing Software
Write the software of the remote controller application to the MK715x1 evaluation kit. For more information on the
software installation, refer to Chapter3 Environment Settings. The figure shows the board functions after installation.
Figure 1 Board Functions after Installation
2.2. Starting Application
Start the application. Operate the board in the following procedure. Note that the number assigned to each step corresponds
with the number specified in Figure 1.
STEP (1) Powering on
Connect the USB cable and turn on POWER SW.
STEP (2) Transmitter/Receiver settings
Transmitter side: Press the reset button (RESET). The LED1 lights up for two seconds at startup.
Receiver side: While holding down the button 1 (Btn1), press the reset button (RESET). The LED2
lights up for two seconds at startup.
STEP (3) Group ID settings
Use the DIP switch (SW1) to configure a group. Only the boards with matching Group ID can receive data.
Transmitter Side
Receiver Side
SW1
SW1
RESET
Btn1-Btn4
LED1-LED4
RESET
Btn1
(3) Group ID
(4) Data
transmission
(4) Data reception
indicator
(2) Start as
a receiver
by pressing
RESET
while
holding
down Btn1
(2) Start as a
transmitter by
pressing RESET
only
(1) Power on

MK715x1 Remote Controller Application
Quick Reference Guide
2. Operating Procedure
FEXK715x1_RC_Quick_Guide-01 3
STEP (4) Data transmission
Press the buttons (Btn1-4) on the transmitter. The LED (LED1-4) on the receiver corresponding to the
buttons will light up. The LED will turn off after two seconds.
STEP (5) Log verification
The operation log can be verified on the connected PC. Refer to Chapter 4.Log Function.
Transmitter
Receiver 2
SW1
Communication enabled
Communication
disabled
Receiver 1
SW1
SW1
Transmitter side
Receiver side
Btn1
Btn2
Btn3
Btn4
LED2
LED1
LED4
LED3
Btn1 is pressed
LED1 lights up

MK715x1 Remote Controller Application
Quick Reference Guide
3. Environment Settings
FEXK715x1_RC_Quick_Guide-01 4
3. Environment Settings
This chapter explains how to set up the environment for running the MK715x1 remote controller application. This
document describes the write procedure using nRF Connect Programmer.
3.1. Installing nRF Connect Programmer
Go to the following URL and install nRF Connect for Desktop. J-Link Device Driver will also be installed at the same time.
Once the installation is complete, start nRF Connect and install Programmer.
https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-desktop/Download
3.2. Updating MK715x1 Software
Connect the devices as shown below.
Start nRF Connect Programmer and write the software in the following procedure.
1) Select device: Select J-Link Lite that is connected
2) Add HEX file: Select a hex file (*.hex) of the remote controller application program (*)
3) Execute [Erase & write]
(*) The HEX files are available from the following LAPIS Technorogy's support site by selecting "MK715x1 Software
Development Kit" in the Bluetooth low energy-related section.
(1)
(2)
(3)

MK715x1 Remote Controller Application
Quick Reference Guide
3. Environment Settings
FEXK715x1_RC_Quick_Guide-01 5
LAPIS Technology's support site:
https://www.lapis-semi.com/cgi-bin/MyLAPIS/regi/login.cgi (English)
https://www.lapis-semi.com/cgi-bin/MyLAPIS/regi/login_J.cgi (Japanese)
ZIP file of MK715x1 Software Development Kit:
mk715x1_sdk_rc_verXXX.zip * XXX indicates a version number.
Hex file storage folder:
.¥mk715x1_sdk_rc_verXXX¥software¥examples¥lapis¥mk715x1_rc¥hex
Remote controller application code:
mk71511ek1a_rc_rYYY.hex (for MK71511EK1A/MK71511EK1AP)
mk71521ek1a_rc_rYYY.hex (for MK71521EK1A/MK71521EK1AP)
* YYY indicates a revision number of the code.

MK715x1 Remote Controller Application
Quick Reference Guide
4. Log Function
FEXK715x1_RC_Quick_Guide-01 6
4. Log Function
The log can be displayed by connecting a PC to the transmitter or the receiver.
Start the terminal software such as TeraTerm and set the serial port as follows:
Setting item
Setting value
Port
COM port number used
Baud rate
115200 bps
Data
8 bits
Parity bit
None
Stop bit
1 bit
Flow control
None
Message at startup
Transmitter side
<info> app_timer: RTC: initialized.
<info> app: Lapis Remote Controller example (Controller side) started.
<info> app: Own Address : 0xFFFFFFFFFFFF
<info> app: Battery 3378 mv -> 100 %
(1)
(2)
(1) Address of the own device
(2) Remaining battery measurement message (displayed every 60 seconds thereafter)
Receiver side
<info> app_timer: RTC: initialized.
<info> app: Lapis Remote Controller example (Receiver side) started.
<info> app: Battery 3294 mv -> 100 %
(1)
(1) Remaining battery measurement message (displayed every 60 seconds thereafter)

MK715x1 Remote Controller Application
Quick Reference Guide
4. Log Function
FEXK715x1_RC_Quick_Guide-01 7
Message during transmission
Transmitter side
<info> app: seq=0x00 bat=100% gid=0x00 cid=0x01
(1)
(1) Transmitted data
seq : Sequence number
bat : Remaining battery level
gid : Group ID value
cid : Control ID value
Receiver side
<info> app: Save Adrs 0xYYYYYYYYYYYY to list
<info> app: ------------------------------------
<info> app: 02 01 04 0B FF 79 01 FF|.....y..
<info> app: FF 2A 64 00 04 00 00 0F|.*d.....
<info> app: 09 4C 41 50 49 53 4D 4B| LAPISMK
<info> app: 37 31 35 58 31 52 43 |715X1RC
<info> app: ------------------------------------
<info> app: seq=0x2A bat=100% gid=0x00 cid=0x04
<info> app: ------------------------------------
(1)
(2)
|
|
|
(3)
(1) Device address on the transmitter side
(2) Received packet
(3) Decoded result of received packet
seq : Sequence number
bat : Remaining battery level
gid : Group ID value
cid : Control ID value
Remaining battery measurement message
<info> app: Battery 3294 mv -> 100 %
Note that the LED1 of the transmitter lights up when its remaining battery level becomes 10% or lower.

MK715x1 Remote Controller Application
Quick Reference Guide
FEXK715x1_RC_Quick_Guide-01 8
Revision History
Document No.
Issue date
Page
Remarks
Before
revision
After
revision
FEXK715x1_RC_Quick_
Guide-01
Nov. 30, 2020
-
-
1st edition.
This manual suits for next models
2
Table of contents