User's Manual

Cover

RA2L1 Group
Renesas Solution Starter Kit
Capacitive Touch Evaluation System
Quick Start Guide
Renesas RA Family
RA2 Series

All information contained in these materials, including products and product specifications,represents information on the product at the time of publication and is subject to change byRenesas Electronics Corp. without notice. Please review the latest information published byRenesas Electronics Corp. through various means, including the Renesas Electronics Corp.
website (http://www.renesas.com).

www.renesas.com

Rev.2.01 Oct 2023

Notice1.

Descriptions of circuits, software and other related information in this document are provided only to illustrate the 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 yourproduct or system. Renesas Electronics disclaims any and all liability for any losses and damages incurred by you or third parties arising from the use of
these circuits, software, or information.
2. Renesas Electronics hereby expressly disclaims any warranties against and liability for infringement or any other claims involving patents, copyrights, orother intellectual property rights of third parties, by or arising from the use of Renesas Electronics products or technical information described in thisdocument, including but not limited to, the product data, drawings, charts, programs, algorithms, and application examples.
3. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics orothers.
4. You shall be responsible for determining what licenses are required from any third parties, and obtaining such licenses for the lawful import, export,
manufacture, sales, utilization, distribution or other disposal of any products incorporating Renesas Electronics products, if required.
5. You shall not alter, modify, copy, or reverse engineer any Renesas Electronics product, whether in whole or in part. Renesas Electronics disclaims any
and all liability for any losses or damages incurred by you or third parties arising from such alteration, modification, copying or reverse engineering.
6. Renesas Electronics products are classified according to the following two quality grades: “Standard” and “High Quality”. The intended applications foreach Renesas Electronics product depends on the product’s quality grade, as indicated below.
"Standard": Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; homeelectronic appliances; machine tools; personal electronic equipment; industrial robots; etc.
"High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control (traffic lights); large-scale communication equipment; key
financial terminal systems; safety control equipment; etc.
Unless expressly designated as a high reliability product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas
Electronics document, Renesas Electronics products are not intended or authorized for use in products or systems that may pose a direct threat tohuman life or bodily injury (artificial life support devices or systems; surgical implantations; etc.), or may cause serious property damage (space system;
undersea repeaters; nuclear power control systems; aircraft control systems; key plant systems; military equipment; etc.). Renesas Electronics disclaims
any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that isinconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document.
7. No semiconductor product is absolutely secure. Notwithstanding any security measures or features that may be implemented in Renesas Electronics
hardware or software products, Renesas Electronics shall have absolutely no liability arising out of any vulnerability or security breach, including but notlimited to any unauthorized access to or use of a Renesas Electronics product or a system that uses a Renesas Electronics product. RENESASELECTRONICS DOES NOT WARRANT OR GUARANTEE THAT RENESAS ELECTRONICS PRODUCTS, OR ANY SYSTEMS CREATED USINGRENESAS ELECTRONICS PRODUCTS WILL BE INVULNERABLE OR FREE FROM CORRUPTION, ATTACK, VIRUSES, INTERFERENCE,
HACKING, DATA LOSS OR THEFT, OR OTHER SECURITY INTRUSION (“Vulnerability Issues”). RENESAS ELECTRONICS DISCLAIMS ANY AND
ALL RESPONSIBILITY OR LIABILITY ARISING FROM OR RELATED TO ANY VULNERABILITY ISSUES. FURTHERMORE, TO THE EXTENTPERMITTED BY APPLICABLE LAW, RENESAS ELECTRONICS DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, WITHRESPECT TO THIS DOCUMENT AND ANY RELATED OR ACCOMPANYING SOFTWARE OR HARDWARE, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
8. When using Renesas Electronics products, refer to the latest product information (data sheets, user’s manuals, application notes, “General Notes for
Handling and Using Semiconductor Devices” in the reliability handbook, etc.), and ensure that usage conditions are within the ranges specified byRenesas Electronics with respect to maximum ratings, operating power supply voltage range, heat dissipation characteristics, installation, etc. Renesas
Electronics disclaims any and all liability for any malfunctions, failure or accident arising out of the use of Renesas Electronics products outside of suchspecified ranges.
9. Although Renesas Electronics endeavors to improve the quality and reliability of Renesas Electronics products, semiconductor products have specificcharacteristics, such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Unless designated as a high reliability
product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas Electronics document, Renesas Electronics products
are not subject to radiation resistance design. You are responsible for implementing safety measures to guard against the possibility of bodily injury,
injury or damage caused by fire, and/or danger to the public in the event of a failure or malfunction of Renesas Electronics products, such as safety
design for hardware and software, including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging
degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult and impractical, you areresponsible for evaluating the safety of the final products or systems manufactured by you.
10. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas
Electronics product. You are responsible for carefully and sufficiently investigating applicable laws and regulations that regulate the inclusion or use ofcontrolled substances, including without limitation, the EU RoHS Directive, and using Renesas Electronics products in compliance with all theseapplicable laws and regulations. Renesas Electronics disclaims any and all liability for damages or losses occurring as a result of your noncompliancewith applicable laws and regulations.
11. Renesas Electronics products and technologies shall not be used for or incorporated into any products or systems whose manufacture, use, or sale isprohibited under any applicable domestic or foreign laws or regulations. You shall comply with any applicable export control laws and regulations
promulgated and administered by the governments of any countries asserting jurisdiction over the parties or transactions.
12. It is the responsibility of the buyer or distributor of Renesas Electronics products, or any other party who distributes, disposes of, or otherwise sells ortransfers the product to a third party, to notify such third party in advance of the contents and conditions set forth in this document.
13. This document shall not be reprinted, reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics.
14. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas
Electronics products.
(Note1)(Note2)“Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its directly or indirectly controlledsubsidiaries.
“Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
(Rev.5.0-1

October 2020)

Corporate Headquarters

Contact information

TOYOSU FORESIA, 3-2-24 Toyosu,
Koto-ku, Tokyo 135-0061, JapanFor further information on a product, technology, the most up-to-dateversion of a document, or your nearest sales office, please visit:www.renesas.com/contact/.

www.renesas.com

Trademarks
Renesas and the Renesas logo are trademarks of Renesas
Electronics Corporation. All trademarks and registered trademarks
are the property of their respective owners.

© 2023 Renesas Electronics Corporation. All rights reserved.

Renesas RTK0EG0022S01001BJ Disclaimer
By using this RTK0EG0022S01001BJ, the User accepts the following terms, which are in addition to, and control in the event of disagreement, with Renesas’
General Terms and Conditions available at https://www.renesas.com/en-us/legal/disclaimer.html.
The RTK0EG0022S01001BJ is not guaranteed to be error free, and the entire risk as to the results and performance of the RTK0EG0022S01001BJ is
assumed by the User. The RTK0EG0022S01001BJ is provided by Renesas on an “as is” basis without warranty of any kind whether express or implied,
including but not limited to the implied warranties of good workmanship, fitness for a particular purpose, title, merchantability, and non-infringement ofintellectual property rights. Renesas expressly disclaims any implied warranty.
Renesas does not consider the RTK0EG0022S01001BJ to be a finished product and therefore the RTK0EG0022S01001BJ may not comply with somerequirements applicable to finished products, including, but not limited to recycling, restricted substances and electromagnetic compatibility regulations.
Refer to Certifications section, for information about certifications and compliance information for the RTK0EG0022S01001BJ. It is the kit User’s responsibility
to make sure the kit meets any local requirements applicable to their region.
Renesas or its affiliates shall in no event be liable for any loss of profit, loss of data, loss of contract, loss of business, damage to reputation or goodwill, any
economic loss, any reprogramming or recall costs (whether the foregoing losses are direct or indirect) nor shall Renesas or its affiliates be liable for any otherdirect or indirect special, incidental or consequential damages arising out of or in relation to the use of this RTK0EG0022S01001BJ, even if Renesas or its
affiliates have been advised of the possibility of such damages.
Renesas has used reasonable care in preparing the information included in this document, but Renesas does not warrant that such information is error free
nor does Renesas guarantee an exact match for every application or parameter to part numbers designated by other vendors listed herein. The information
provided in this document is intended solely to enable the use of Renesas products. No express or implied license to any intellectual property right is grantedby this document or in connection with the sale of Renesas products. Renesas reserves the right to make changes to specifications and product descriptionsat any time without notice. Renesas assumes no liability for any damages incurred by you resulting from errors in or omissions from the information included
herein. Renesas cannot verify, and assumes no liability for, the accuracy of information available on another company’s website.

Precautions
This Evaluation Kit is only intended for use in a laboratory environment under ambient temperature and humidity conditions. A safe separation distanceshould be used between this and any sensitive equipment. Its use outside the laboratory, classroom, study area, or similar such area invalidates conformity
with the protection requirements of the Electromagnetic Compatibility Directive and could lead to prosecution.
The product generates, uses, and can radiate radio frequency energy and may cause harmful interference to radio communications. There is no guaranteethat interference will not occur in a particular installation. If this equipment causes harmful interference to radio or television reception, which can be
determined by turning the equipment off or on, you are encouraged to try to correct the interference by one or more of the following measures:• Ensure attached cables do not lie across the equipment.
• Reorient the receiving antenna.
• Increase the distance between the equipment and the receiver.
• Connect the equipment into an outlet on a circuit different from that which the receiver is connected.
• Power down the equipment when not in use.
• Consult the dealer or an experienced radio/TV technician for help.
Note: It is recommended that wherever possible shielded interface cables are used.
The product is potentially susceptible to certain EMC phenomena. To mitigate against them it is recommended that the following measures be undertaken:• The user is advised that mobile phones should not be used within 10 m of the product when in use.
• The user is advised to take ESD precautions when handling the equipment.
The Evaluation Kit does not represent an ideal reference design for an end product and does not fulfill the regulatory standards for an end product.

Quick Start Guide

Renesas RA Family
RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide
Contents
1.

Introduction ..............................................................................................................................3

1.1

Assumptions and Advisory Notes ............................................................................................................ 32.

Contents ..................................................................................................................................3

3.

Overview of the Quick Start Example Project........................................................................... 4

3.1

Quick Start Example Project Flow ........................................................................................................... 4

4.

Running the Quick Start Example Project ................................................................................ 5

4.1

Connecting and Powering Up the Board ................................................................................................. 5

4.2

Running the Quick Start Example Project ............................................................................................... 6

5.

Customizing the Quick Start Example Project .......................................................................... 7

5.1

Downloading and Installing Software Development Tools ...................................................................... 7

5.2

Downloading and Importing the Quick Start Example Project ................................................................ 7

5.3

Modifying, Generating, and Building the Quick Start Example Project ................................................. 10

5.4

Downloading and Running the Modified Quick Start Example Project ................................................. 13

6.

Next Steps ............................................................................................................................. 15

7.

Website & Support ................................................................................................................. 15

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Page 1 of 18

Renesas RA Family

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

FiguresFigure 1.

Quick Start Example Project Flow ................................................................................................ 4

Figure 2.

Connecting and Powering Up the Board ...................................................................................... 5

Figure 3.

Board default settings ................................................................................................................... 6

Figure 4.

Creating a New Workspace .......................................................................................................... 7

Figure 5.

Launching the Workspace ............................................................................................................ 7

Figure 6.

Importing the Project .................................................................................................................... 8

Figure 7.

Importing Existing Projects into the Workspace ........................................................................... 8

Figure 8.

Clicking Next to Import Existing Projects into the Workspace...................................................... 9

Figure 9.

Selecting the Root Directory ......................................................................................................... 9

Figure 10.

Finishing Importing the Quick Start Example Project ............................................................... 10

Figure 11.

Opening the Configurator ......................................................................................................... 10

Figure 12.

Modifying the Configuration Settings ........................................................................................ 11

Figure 13.

Saving the Configuration Changes ........................................................................................... 11

Figure 14.

Building the Project................................................................................................................... 12

Figure 15.

Successful Build Output ........................................................................................................... 12

Figure 16.

Selecting the Debug Configurations ......................................................................................... 13

Figure 17.

Selecting E2 / E2Lite Emulator ................................................................................................. 13

Figure 18.

Selecting the Debug Option ..................................................................................................... 14

Figure 19.

Opening the Debug Perspective .............................................................................................. 14

Figure 20.

Executing the Project................................................................................................................ 14

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Page 2 of 18

Renesas RA Family

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

1. Introduction
This Quick Start Guide (QSG) provides:• An overview of the Quick Start example project that the RA2L1 Capacitive Touch Evaluation Systemcomes pre-programmed with.
• Instructions for running the Quick Start example project.
• Instructions for importing, modifying, and building the Quick Start example project using Flexible Software
Package (FSP) and e2studio Integrated Development Environment (IDE).

1.1

Assumptions and Advisory Notes

1. Tool experience: It is assumed that the user has prior experience working with IDEs such as e2studio.
2. Subject knowledge: It is assumed that the user has basic knowledge about microcontrollers, embedded
systems, FSP, and QE for Capacitive Touch to modify the example project described in this document.
3. The screen shots provided throughout this document are for reference. The actual screen content may
differ depending on the version of software and development tools used.

2. Contents
The following components are included in the kit:
1.
2.

RA2L1 Cap Touch CPU board (RTK0EG0018C01001BJ)
Capacitive Touch Evaluation Application Board
Self-Capacitance Buttons / Wheels / Slider Board (RTK0EG0019B01002BJ)

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Page 3 of 18

Renesas RA Family

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

3. Overview of the Quick Start Example Project
The Quick Start example project detects touch positions from the touch electrodes on the Capacitive
Touch Evaluation Application Board which is connected to the Touch CPU board, and lights up the LEDs forthe corresponding electrode positions.

3.1

Quick Start Example Project Flow

Power ON

Timer interrupt

Switch / LED initial setting
Check the touchmeasurement
results ofbuttons, slider,and wheel

Timer start

Touch measurement initial setting

Touch detection

LED lighting

Touch measurement loop

Button/Slider/Wheel touchmeasurement start
Getting button/slider/wheel touchmeasurement results

Software wait time(20ms)

No touch detection

Switch ON / OFF status acquisition

Check the ON/ OFF status of
the switch

Switch off

Switch on

Touch measurement loop

LED lighting

End

Figure 1.
R12QS0040EJ0201
Oct.27.23

Rev.2.01

Quick Start Example Project Flow
Page 4 of 18

Renesas RA Family

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

4. Running the Quick Start Example ProjectThis section lists the requirements and instructions to power up the RA2L1 CPU board and run the Quick
Start example project.
Hardware Requirements:• RA2L1 Touch CPU board• Capacitive Touch Evaluation Application Board Self-Capacitance Buttons / Wheel / Slider Board• One USB Type-A to USB Micro-B cable (Note 1)• SEGGER J-Link® Series In-circuit Emulator (supports SWD interface) and J-Link® 9-pin Cortex-M
Adapter (Note 2)
Or, Renesas Electronics’ E2 Emulator/E2 Emulator Lite and RTE0T00020KCAC1000J (20-10-pin cable)(Note 3)
• PC with two or more USB ports
Note 1: The USB Type-A to USB Micro-B cable is not included in the RTK0EG0022S01001BJ kit, but isrequired for power supply from the USB port as well as communications between the CPU board
and the PC.
Note 2: The J-Link® Series In-circuit Emulator and J-Link® 9-pin Cortex-M Adapter are not included in the
RTK0EG0022S01001BJ kit, but is required when customizing the Quick Start example project.
Note 3: E2 Emulator/E2 Emulator Lite and RTE0T00020KCAC1000J are not included in the
RTK0EG0022S01001BJ kit. E2 Emulator/E2 Emulator Lite is required when customizing the Quick
Start example project.
Software Requirements:• Microsoft® Windows® 10 operating system• USB Serial Drivers (included in Windows 10)

4.1

Connecting and Powering Up the Board

1.

Connect the CN1 and CN2 headers on the application board to the corresponding CN1 and CN2connectors on the CPU board. Make sure both headers are inserted to match the direction and numberof pins and the pins are fully inserted into the sockets.

2.

Insert the MicroB plug end of the USB cable into the CN2 pin on the CPU board, and connect the
opposite end of the cable to the USB port on your PC or to a 5V power supply. When the PC isconnected, LED1 on the board will light up in red, indicating that the board is powered on.

Note: When connecting the USB cable to the PC, the USB serial port driver is automatically installed the firsttime it is connected (when using Windows10). Do not remove the USB cable during driver installation.
CPU Board

PC, AC-USB
or Others

Application Board

USB Cable

Figure 2.
R12QS0040EJ0201
Oct.27.23

Rev.2.01

Connecting and Powering Up the Board
Page 5 of 18

Renesas RA Family
4.2

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

Running the Quick Start Example ProjectTo run the Quick Start Example Project, use the following instructions:1.
2.

On power up or RESET, After power-up or reset, the CPU board and application board LEDs light up ina pattern. After all the LEDs are turned off, the initial tuning of the touch sensor is executed, and touchdetection becomes possible.
Touching an electrode will illuminate the associated LED to indicate the touch position.

If the LEDs don’t illuminate in response to touch panel operations, make sure the switch and jumpers on
the CPU board are set as shown in the following figure. After confirming the correct settings, press the reset
button (SW1) to restart operations and check the LEDs again.

JP2

JP3

SW5

SW6
SW1
(RESET)

Figure 3.

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Board default settings

Page 6 of 18

Renesas RA Family

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

5. Customizing the Quick Start Example ProjectThis section provides instructions on customizing the Quick Start example project.

5.1

Downloading and Installing Software Development Tools

Before the Quick Start example project can be modified, it is necessary to download and install softwareand development tools on the host PC.
The FSP, J-Link® USB drivers, and e2 studio are bundled in a downloadable platform installer available
on the FSP webpage at renesas.com/ra/fsp. New users are recommended to use the Quick Install option
provided in the installation wizard, to minimize the amount of manual configuration needed.
The QE for Capacitive Touch [RA] tool is a capacitive touch sensor development assistance tool
necessary for modifying capacitive touch sensor functions. Please download the tool from the following URL
and install to the e2studio.
https://www.renesas.com/qe-capacitive-touch

5.2
1.
2.
3.

4.

Downloading and Importing the Quick Start Example Project
Download the Quick Start example project from renesas.com/rssk-touch-ra2l1.
Launch e2 studio.
Browse to the Workspace where the project file is to be imported. Enter the name in the Workspacedialog box to create a new workspace.

Figure 4.

Creating a New Workspace

Figure 5.

Launching the Workspace

Click Launch.

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Page 7 of 18

Renesas RA Family
5.

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

Click Import from the File drop-down menu.

Figure 6.
6.

Importing the ProjectIn the Import dialog box, select General, and then select Existing Projects into Workspace.

Figure 7.

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Importing Existing Projects into the Workspace

Page 8 of 18

Renesas RA Family
7.

Click Next.

Figure 8.
8.

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

Clicking Next to Import Existing Projects into the Workspace

Click Select root directory and click Browse to go to the location of the Quick Start example project
folder.

Figure 9.

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Selecting the Root Directory

Page 9 of 18

Renesas RA Family
9.

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

Select the Quick Start example project and click Finish.

Figure 10.

5.3

Finishing Importing the Quick Start Example Project

Modifying, Generating, and Building the Quick Start Example ProjectThis section provides instructions to modify the Quick Start example project. The Quick Start example
project can be modified by editing the source code and reconfiguring the properties of the MCU peripherals,
pins, clocks, interrupts, and so forth.
Note: The specific modifications that can be performed to the Quick Start example project are not prescribedin this QSG. User discretion is advised while modifying the Quick Start example project.
1.

Once the Quick Start example project is imported, click the configuration.xml file to open theconfigurator. The configurator provides an easy to use interface to configure the properties of MCU
peripherals, pins, clocks, and so forth.

Figure 11.

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Opening the Configurator

Page 10 of 18

Renesas RA Family
2.

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

For example, in the Stacks tab of the configurator, the user can click to select modules to modify theconfiguration settings, as required. The following screen shot illustrates modifying the timer driverconfiguration.

Figure 12.
3.

Modifying the Configuration Settings

After the desired modifications are made, click Generate Project. A dialog box may appear with an
option of saving the configuration changes. Click Proceed.

Figure 13.
R12QS0040EJ0201
Oct.27.23

Rev.2.01

Saving the Configuration Changes
Page 11 of 18

Renesas RA Family
4.
5.

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

Modify the source files in the /src folder as needed and save the changes.
Build the project by clicking the build icon.

Figure 14.
6.

Building the Project

A successful build produces an output as follows.

Figure 15.

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Successful Build Output

Page 12 of 18

Renesas RA Family
5.4

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

Downloading and Running the Modified Quick Start Example ProjectNote: To download the project to the RA2L1 Cap Touch CPU board, you will need to connect either the JLink® Series In-Circuit Emulator or the E2 Emulator/E2 Emulator Lite to the USB port of the host PC
and the J1 on the RA2L1 Cap Touch CPU board.
If using the J-Link® Series In-Circuit Emulator, proceed to Step 1.
If using the E2 Emulator/E2 Emulator Lite, click the drop-down menu for debug icon, and select Debug
Configurations.

Figure 16.

Selecting the Debug Configurations

When the Debug Configurations window opens, click the Debugger tab, and select E2 Emulator from the
Debug Interface drop-down menu. If the Target Device has switched to something other than R7FA2L1AB,
please reselect R7FA2L1AB. After completing the selections, click Close. When the Save Modifications
dialog box opens, select YES to save the new configuration. After your configuration is completed, proceed
to step 1.

暫定図面

Figure 17.

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Selecting E2 / E2Lite Emulator

Page 13 of 18

Renesas RA Family
1.

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

In e2 studio, click the drop-down menu for debug icon, select Debug As option, and choose Renesas
GDB Hardware Debugging.

Figure 18.
2.

A dialog box may appear. Click Switch.

Figure 19.
3.

Selecting the Debug Option

Opening the Debug Perspective

Press F8 or Resume icon to begin executing the project.

Figure 20.
4.

Executing the Project

The modified Quick Start example project is programmed into the kit and is running. The project can bepaused, stopped, or resumed using the debug controls.

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Page 14 of 18

Renesas RA Family

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

6. Next Steps
1.

To learn more about the RA2L1 kit, refer to the RA2L1 Group user’s manual and design package
available on the RA2L1 Group Capacitive Touch Evaluation System webpage at renesas.com/ra/ekra2a1.

2.

To learn more about using QE for Capacitive Touch (RA) and FSP to create touch interface forcapacitive touch sensors, tune touch sensors, implement touch middleware in an application, andmonitoring touch performance, refer to the following application note.
RA Family

Using QE and FSP to Develop Capacitive Touch Applications (R01AN4934)

https://www.renesas.com/us/en/document/apn/using-qe-and-fsp-develop-capacitive-touchapplications?r=1398061
3.

For more information about quickstart sample project, refer to the following application note.
RA2L1 Group Capacitive Touch Evaluation System Example Project (R20AN0595)
https://www.renesas.com/search?keywords=r20an0595

7. Website & Support
Visit the following URLs to learn about the kit and the RA family of microcontrollers, download tools anddocumentation, and get support.
RTK0EG0022S01001BJ Resources

renesas.com/rssk-touch-ra2l1

RA Product Information

renesas.com/ra

RA Product Support Forumrenesas.com/ra/forum

Renesas Support

renesas.com/support

Renesas Capacitive Touch Key Portal

renesas.com/solutions/touch-key

QE for Capacitive Touchrenesas.com/qe-capacitive-touch

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Page 15 of 18

Renesas RA Family
Appendix.

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

Application Board Pins Connection Table

Figure.1

Assignments of Touch electrodes and TS Pins
Table.1

CN2 Pin
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1

Touch Electrode
－
－
－
－
TS-W3
－
－
－
－
－
－
－
－
－
－
TS-B1
SHIELD-B1
TS-S1
TS-S3
TS-S5

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Application Header (CN2)CTSU (RA2L1)
－
－
TS17
TS22
TS23
TS25
TS31-CFC
TS33-CFC
TS26-CFC
TS15-CFC
TS13-CFC－－
TS35-CFC
TS27-CFC
TS11-CFC
TS00
TS04
TS05
TS06

CN2 Pin
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2

Touch Electrode
－
－
TS-W1
TS-W2
－
－
TS-W4
－
－
SHIELD-W1
－
－
－
－
－
TS-B2
TS-B3
SHIELD-S1
TS-S2
TS-S4

CTSU (RA2L1)
TSCAP
－
TS18
TS21
TS24
TS30-CFC
TS32-CFC
TS28-CFC
TS16-CFC
TS14-CFC
TS34-CFC－－
TS29-CFC
TS12-CFC
TS10-CFC
TS09-CFC
TS08-CFC
TS02-CFC
TS07

Page 16 of 18

Renesas RA Family

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide
Table.2

CN1 Pin
15
13
11
9
7
5
3
1

Function
VCC
LED_ROW0
LED_ROW2－
LED_COL3
LED_COL1－－

MCU Connection
VCC
P414
P708
P404
P406
P400
P502
P501
Table.3

Turn On
Turn Off
Note：n=0~3

LED

R12QS0040EJ0201
Oct.27.23

LED_COL0
LED1
LED2
LED3
LED4

Rev.2.01

CN1 Pin
16
14
12
10
8
6
4
2

Function
VSS（GND）
LED_ROW1
LED_ROW3－－
LED_COL2
LED_COL0－

MCU Connection
VSS
P006
P415
P401
P405
P714
P504
P503

LED and MCU Port Output Settings

Low
High
Table.4

LED_ROW0
LED_ROW1
LED_ROW2
LED_ROW3

Application Header (CN1)

LED_ROWn Port

High
Low

LED_COLn Port

LED Matrix Correspondence Table
LED_COL1
LED5
LED6
LED7
LED8

LED_COL2
LED13
LED14
LED15
LED16

LED_COL3
LED9
LED10
LED11
LED12

Page 17 of 18

Renesas RA Family

RA2L1 Group Capacitive Touch Evaluation System Quick Start Guide

Revision History
Rev.
1.00
2.00

Date
Nov.16.20
Mar.03.23

Page
-

2.01

Oct.27.23-

R12QS0040EJ0201
Oct.27.23

Rev.2.01

Description
SummaryFirst release
Modified Figure 1.
Revised description of step 1 in Section 4.2.
Removed Section “5.5 Capacitive Touch Sensor Monitoring”.
Added touch sensor monitoring procedure to step 2 ofChapter 6.
Added step 3 to Chapter 6.
Supported example code version

Page 18 of 18

Colophon

RA2L1 Group Renesas Solution Starter Kit
Capacitive Touch Evaluation System Quick Start Guide
Publication Date:

Rev.1.00
Rev.2.00
Rev.2.01

Nov.16.20
Mar.03.23
Oct.27.23

Published by:Renesas Electronics Corporation

Back CoverRenesas RA2L1 Group
Renesas Solution Starter Kit
Capacitive Touch Evaluation System
Quick Start Guide

R12QS0040EJ0201