Graphics evaluation kit for ra6m3 microcontroller group (15 pages)
Summary of Contents for Renesas RA6M2
Page 1
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 by Renesas Electronics Corp. without notice. Please review the latest information published by Renesas Electronics Corp. through various means, including the Renesas Electronics Corp.
Page 2
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 is inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document.
Page 3
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...
Quick Start Guide Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System Contents Introduction ..........................3 Assumptions and Advisory Notes ......................3 Contents ............................ 3 Overview of the Quick Start Example Project ................4 Quick Start Example Project Flow ......................4 Running the Quick Start Example Project .................
Page 5
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System 図 Figure 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.
Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System 1. Introduction • An overview of the Quick Start example project that the RA6M2 Capacitive Touch Evaluation System comes 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 e2 studio Integrated Development Environment (IDE).
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System 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 for the corresponding electrode positions.
Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System 4. Running the Quick Start Example Project This section lists the requirements and instructions to power up the RA6M2 CPU board and run the Quick Start example project. Hardware Requirements: • RA6M2 Touch CPU board •...
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System 4.2 Running the Quick Start Example Project To run the Quick Start Example Project, use the following instructions: On power up or RESET, various LEDs on the application board will turn on. This is part of the touch sensor initial adjustment period−please do not touch the board at this time.
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.
Page 11
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System Click Import from the File drop-down menu. Figure 6. Importing the Project In the Import dialog box, select General, and then select Existing Projects into Workspace. Figure 7. Importing Existing Projects into the Workspace R12QS0041EJ0100 Rev.1.00...
Page 12
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System Click Next. Figure 8. 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.
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System Select the Quick Start example project and click Finish. Figure 10. Finishing Importing the Quick Start Example Project 5.3 Modifying, Generating, and Building the Quick Start Example Project This 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.
Page 14
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System For example, in the Stacks tab of the configurator, the user can click to select modules to modify the configuration settings, as required. The following screen shot illustrates modifying the timer driver configuration.
Page 15
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System Modify the source files in the /src folder as needed and save the changes. Build the project by clicking the build icon. Figure 14. Building the Project A successful build produces an output as follows.
5.4 Downloading and Running the Modified Quick Start Example Project Note: To download the project to the RA6M2 Cap Touch CPU board, you will need to connect either the J- Link® Series In-Circuit Emulator or the E2 Emulator/E2 Emulator Lite to the USB port of the host PC and the J1 on the RA6M2 Cap Touch CPU board.
Page 17
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System In e2 studio, click the drop-down menu for debug icon, select Debug As option, and choose Renesas GDB Hardware Debugging. Figure 18. Selecting the Debug Option A dialog box may appear. Click Switch.
The Quick Start example project is run in e2 studio. Open the CapTouch Main / Sensor Tuner RA (QE) view from the e2studio menu bar Renesas Views - Renesas QE - CapTouch Main / Sensor Tuner RA (QE).
Page 19
Open the CapTouch Board Monitor RA (QE) view from the e2studio menu bar Renesas Views - Renesas QE - CapTouch Board Monitor RA (QE). You might need to drag the window to a different position for better viewing of the touch sensor interface.
Page 20
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System Click the Enable Monitoring button. The dialog text will change to Monitoring: Enabled. Figure 25. Enable Monitoring Touch the button on the application board. The CapTouch Board Monitor RA (QE) will show a touch with a finger image on the button like the image below.
Page 21
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System Using the pull-down menu, select the electrode element from the displayed list. As an example, selection of button element Button00@config01 is shown in the figure below. Figure 28. Selecting Touch Elements 10.
Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System 6. Next Steps To learn more about the RA6M2 kit, refer to the RA6M2 Group user’s manual and design package available on the RA6M2 Group Capacitive Touch Evaluation System webpage at renesas.com/ra/ek- ra2a1.
Page 23
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System Appendix. Application Board Pins Connection Table SHIELD-W1 SHIELD-B1 (P408)a (P415)a LED1 LED8 LED14 LED2 TS-B1 (TS09) TS-W1 TS-W2 (TS00) (TS01) LED7 LED15 TS-B2 LED3 (TS08) TS-W4 TS-W3 (TS03) (TS02)
Page 24
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System Table.2 Application Header (CN1) CN1 Pin Function MCU Connection CN1 Pin Function MCU Connection VCC(3.3V) VSS(GND) LED_ROW0 P008 LED_ROW1 P007 LED_ROW2 P014 LED_ROW3 P009 P015 P505 - - LED_COL3...
Page 25
RA6M2 Group Renesas RA Family RA6M2 Group Capacitive Touch Evaluation System Revision History Description Rev. Date Page Summary 1.00 Nov.16.20 First release R12QS0041EJ0100 Rev.1.00 Page 22 of 22 Nov.16.20...
Page 26
Colophon RA6M2 Group Renesas Solution Starter Kit Capacitive Touch Evaluation System Quick Start Guide Publication Date: Rev.1.00 Nov.16.20 Published by: Renesas Electronics Corporation...
Page 27
Back Cover Renesas RA6M2 Group Renesas Solution Starter Kit Capacitive Touch Evaluation System Quick Start Guide R12QS0041EJ0100...
Need help?
Do you have a question about the RA6M2 and is the answer not in the manual?
Questions and answers