Quick Start Guide

RX65N Group
Cloud Kit for RX65N Microcontroller Group
CK-RX65N v2
Quick Start Guide
Renesas RX Family
RX600 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 by Renesas Electronics
Corp. without notice. Please review the latest information published by Renesas Electronics Corp.
through various means, including the Renesas Electronics Corp. website (http://www.renesas.com).

www.renesas.com

Rev. 1.00 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 useof 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,
or other 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
or others.
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 (spacesystem; 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 productthat is inconsistent 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
not limited 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 such specified 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 foraging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult and impractical, you
are responsible 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
TOYOSU FORESIA, 3-2-24 Toyosu,
Koto-ku, Tokyo 135-0061, Japan
www.renesas.com

Contact information

For 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/.

Trademarks

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

© 2023 Renesas Electronics Corporation. All rights reserved.

General Precautions in the Handling of Microprocessing Unit and Microcontroller
Unit Products
The following usage notes are applicable to all Microprocessing unit and Microcontroller unit products from Renesas. For detailed usage notes on the
products covered by this document, refer to the relevant sections of the document as well as any technical updates that have been issued for the products.
1.

Precaution against Electrostatic Discharge (ESD)
A strong electrical field, when exposed to a CMOS device, can cause destruction of the gate oxide and ultimately degrade the device operation. Steps
must be taken to stop the generation of static electricity as much as possible, and quickly dissipate it when it occurs. Environmental control must be
adequate. When it is dry, a humidifier should be used. This is recommended to avoid using insulators that can easily build up static electricity.
Semiconductor devices must be stored and transported in an anti-static container, static shielding bag or conductive material. All test andmeasurement tools including work benches and floors must be grounded. The operator must also be grounded using a wrist strap. Semiconductor2.

devices must not be touched with bare hands. Similar precautions must be taken for printed circuit boards with mounted semiconductor devices.
Processing at power-on
The state of the product is undefined at the time when power is supplied. The states of internal circuits in the LSI are indeterminate and the states ofregister settings and pins are undefined at the time when power is supplied. In a finished product where the reset signal is applied to the external resetpin, the states of pins are not guaranteed from the time when power is supplied until the reset process is completed. In a similar way, the states of pins
in a product that is reset by an on-chip power-on reset function are not guaranteed from the time when power is supplied until the power reaches the3.

level at which resetting is specified.
Input of signal during power-off state
Do not input signals or an I/O pull-up power supply while the device is powered off. The current injection that results from input of such a signal or I/O
pull-up power supply may cause malfunction and the abnormal current that passes in the device at this time may cause degradation of internal

4.

elements. Follow the guideline for input signal during power-off state as described in your product documentation.
Handling of unused pins
Handle unused pins in accordance with the directions given under handling of unused pins in the manual. The input pins of CMOS products are
generally in the high-impedance state. In operation with an unused pin in the open-circuit state, extra electromagnetic noise is induced in the vicinity of
the LSI, an associated shoot-through current flows internally, and malfunctions occur due to the false recognition of the pin state as an input signal

5.

become possible.
Clock signals
After applying a reset, only release the reset line after the operating clock signal becomes stable. When switching the clock signal during program
execution, wait until the target clock signal is stabilized. When the clock signal is generated with an external resonator or from an external oscillator
during a reset, ensure that the reset line is only released after full stabilization of the clock signal. Additionally, when switching to a clock signal

6.

produced with an external resonator or by an external oscillator while program execution is in progress, wait until the target clock signal is stable.
Voltage application waveform at input pin
Waveform distortion due to input noise or a reflected wave may cause malfunction. If the input of the CMOS device stays in the area between VIL(Max.) and VIH (Min.) due to noise, for example, the device may malfunction. Take care to prevent chattering noise from entering the device when the7.

input level is fixed, and also in the transition period when the input level passes through the area between VIL (Max.) and VIH (Min.).
Prohibition of access to reserved addresses
Access to reserved addresses is prohibited. The reserved addresses are provided for possible future expansion of functions. Do not access these8.

addresses as the correct operation of the LSI is not guaranteed.
Differences between products
Before changing from one product to another, for example to a product with a different part number, confirm that the change will not lead to problems.
The characteristics of a microprocessing unit or microcontroller unit products in the same group but having a different part number might differ in termsof internal memory capacity, layout pattern, and other factors, which can affect the ranges of electrical characteristics, such as characteristic values,
operating margins, immunity to noise, and amount of radiated noise. When changing to a product with a different part number, implement a systemevaluation test for the given product.

Renesas CK-RX65N v2 Disclaimer
By using this CK-RX65N v2, 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 renesas.com/legal-notices.
The CK-RX65N v2 is not guaranteed to be error free, and the entire risk as to the results and performance of the CK-RX65N v2 is assumed by the User.
The CK-RX65N v2 is provided by Renesas on an “as is” basis without warranty of any kind whether express or implied, including but not limited to theimplied warranties of good workmanship, fitness for a particular purpose, title, merchantability, and non-infringement of intellectual property rights. Renesas
expressly disclaims any implied warranty.
Renesas does not consider the CK-RX65N v2 to be a finished product and therefore the CK-RX65N v2 may not comply with some requirements applicableto 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 CK-RX65N v2. 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
other direct or indirect special, incidental or consequential damages arising out of or in relation to the use of this CK-RX65N v2, 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 isgranted by this document or in connection with the sale of Renesas products. Renesas reserves the right to make changes to specifications and productdescriptions at any time without notice. Renesas assumes no liability for any damages incurred by you resulting from errors in or omissions from theinformation included herein. Renesas cannot verify, and assumes no liability for, the accuracy of information available on another company’s website.

Precautions
This Cloud Kit is only intended for use in a laboratory environment under ambient temperature and humidity conditions. A safe separation distance should
be used between this and any sensitive equipment. Its use outside the laboratory, classroom, study area, or similar such area invalidates conformity withthe 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 Cloud 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 RX Family

CK-RX65N v2
Contents
1.

Introduction ..............................................................................................................................7

1.1

Assumptions and Advisory Notes ............................................................................................................ 7

2.

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

2.1

Quick Start Example Project Flow ........................................................................................................... 8

3.

Running the Quick Start Example Project ................................................................................ 9

3.1

Connecting and Powering Up the CK-RX65N v2 Board.......................................................................... 9

3.2

Running the Quick Start Example Project ............................................................................................. 10

4.

Customizing the Quick Start Example Project ........................................................................ 17

4.1

Downloading and Installing Software and Development Tools ............................................................. 17

4.2

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

4.3

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

4.4

DHCP and Static IP settings ................................................................................................................. 24

4.5

Setting Up Debug Connection between the CK-RX65N v2 board and Host PC ................................... 24

4.6

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

4.7

Firewall Dialog ....................................................................................................................................... 26

5.

Next Steps ............................................................................................................................. 27

6.

Website and Support ............................................................................................................. 27

Revision History ............................................................................................................................ 28

FiguresFigure 1. Quick Start Example Project Flow .................................................................................................... 8
Figure 2. Connecting the CK-RX65N v2 Board to the Host PC via USB Serial Port ...................................... 9
Figure 3. USB Serial Device in Windows Device Manager ........................................................................... 10
Figure 4. Selecting the Serial Port on Tera Term .......................................................................................... 11
Figure 5. Select Communication Settings ..................................................................................................... 11
Figure 6. Welcome and Main Menu ............................................................................................................... 12
Figure 7. Kit Information ................................................................................................................................ 12
Figure 8. Loading Sensor List ........................................................................................................................ 13
Figure 9. Sensor List with All Data ................................................................................................................ 13
Figure 10. Web Server................................................................................................................................... 14
Figure 11. Using DHCP ................................................................................................................................. 14

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 5 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

Figure 12. Using Static IP .............................................................................................................................. 15
Figure 13. Browser View................................................................................................................................ 16
Figure 14. Next Steps .................................................................................................................................... 17
Figure 15. Creating a New Workspace.......................................................................................................... 18
Figure 16. Launching the Workspace ............................................................................................................ 18
Figure 17. Importing the Project .................................................................................................................... 19
Figure 18. Importing Existing Projects into the Workspace ........................................................................... 19
Figure 19. Clicking Next to Import Existing Projects into the Workspace ..................................................... 20
Figure 20. Selecting the Root Directory......................................................................................................... 20
Figure 21. Finishing Importing the Quick Start Example Project ................................................................... 21
Figure 22. Opening the Configurator ............................................................................................................. 22
Figure 23. Open Perspective ......................................................................................................................... 22
Figure 24. Modifying the Configuration Settings ........................................................................................... 23
Figure 25. Generate Code from Smart Configurator ..................................................................................... 23
Figure 26. Building the Project ...................................................................................................................... 23
Figure 27. Successful Build Output ............................................................................................................... 23
Figure 28. DHCP Setting in FreeRTOS_Kernel Component......................................................................... 24
Figure 29. Changing the MAC, IP, and netmask ........................................................................................... 24
Figure 30. Connecting the CK-RX65N v2 Board to the Host PC via USB Debug Port ................................. 24
Figure 31. Selecting the Debug Option ......................................................................................................... 25
Figure 32. Selecting the Debug Image .......................................................................................................... 25
Figure 33. Opening the Debug Perspective .................................................................................................. 26
Figure 34. Executing the Project ................................................................................................................... 26

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 6 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

1. Introduction
This Quick Start Guide (QSG) provides:
•
•
•

1.1

An overview of the Quick Start example project that the CK-RX65N v2 board 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
Integration Technology (FIT) and e2 studio Integrated Development Environment (IDE).

Assumptions and Advisory Notes

1. Tool experience: It is assumed that the user has prior experience working with IDEs such as e2 studioand terminal emulation programs such as Tera Term.
2. Subject knowledge: It is assumed that the user has basic knowledge about microcontrollers, embedded
systems, and FIT to modify the example project described in this document.
3. Default jumper settings: Prior to running the Quick Start example project or programming the CKRX65N v2 board, default jumper settings must be used. Refer to the CK-RX65N v2 user’s manual for thedefault jumper settings.
4. Screenshots: 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.

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 7 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

2. Overview of the Quick Start Example Project
The Quick Start example project allows the user to change the frequency of the on-board user LED4 (blue)
using the user button (S2). The supported frequencies are 1 Hz, 5 Hz, and 10 Hz.
When the CK-RX65N v2 board running the Quick Start example project is connected to a host PC via USB
as a Full Speed CDC Device, the kit information, MCU die temperature, and user LED blinking frequency aredisplayed on a terminal console.

2.1

Quick Start Example Project Flow

Figure 1. Quick Start Example Project FlowR20QS0054EG0100 Rev.1.00
Oct.02.23

Page 8 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

3. Running the Quick Start Example ProjectThis section lists the requirements and instructions to power up the CK-RX65N v2 board and run the Quick
Start example project.
Hardware Requirements• CK-RX65N v2 board• USB C device cable• Ethernet cable• A PC with at least 1 USB port
• A router with at least 1 available full duplex Ethernet port** The PHY implemented on the Cloud Kit does not support half-duplex operation.
Software Requirements
•
•
•

3.1

Windows® 10 operating system
USB Serial Drivers (included in Windows 10)
Tera Term (or similar) terminal console application

Connecting and Powering Up the CK-RX65N v2 Board

1. Check that:
A. J12 is set to link pins 2-3
B. J15 link is closed
C. J16 is set to link pins 2-3 (RUN)
2. Connect J10 on the CK-RX65N v2 board to USB port on the host PC using the USB C cable supplied.
3. Power LED (LED1) on the CK-RX65N v2 board lights up white, indicating that the CK-RX65N v2 board ispowered on.
Note: If the CK-RX65N v2 board is not powered through the Debug port (J14) the current available tothe board may be limited to 100 mA.

Figure 2. Connecting the CK-RX65N v2 Board to the Host PC via USB Serial PortR20QS0054EG0100 Rev.1.00
Oct.02.23

Page 9 of 28

Renesas RX Family
3.2

CK-RX65N v2 – Quick Start Guide

Running the Quick Start Example ProjectTo run the Quick Start example project, use the following instructions:
1. On power up or RESET, the four user LEDs will take on the following states: LED2 RGB – Off
 LED3 Green – Steady, full intensity
 LED4 Blue – Blinking at 1 Hz frequency
 LED6 Red – Off
Note: The debug LED (LED5) will blink or light up green; this can be ignored for now.
2. Press the user button (S2) on the CK-RX65N v2 board to change the blinking frequency of the user
LED4(blue). With every press of the first user button (S2), the frequency will switch from 1 Hz to 5 Hz to
10 Hz and cycle back.
3. On the host PC, open Windows Device Manager. Expand Ports (COM & LPT), locate USB Serial
Device (COMxx) and note down the COM port number for reference in the next step.
Note: USB Serial Device drivers are required to communicate between the CK-RX65N v2 board and theterminal application on the host PC.

Figure 3. USB Serial Device in Windows Device Manager

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 10 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

4. Open Tera Term, select Serial and COMxx: USB Serial Device (COMxx) and click OK.

Figure 4. Selecting the Serial Port on Tera Term
5. Using the Setup menu pull-down, select Serial port… and ensure that the Baud rate is set to 115200,
data is set to 8 bit, parity is set to none, and stop is set to 1 bit, as shown below.

Figure 5. Select Communication SettingsR20QS0054EG0100 Rev.1.00
Oct.02.23

Page 11 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

6. Complete the connection. The ‘welcome and main menu’ screen will be displayed. Please try to press
reset button if the screen is not showing anything.

Figure 6. Welcome and Main Menu
7. Press 1 to display the Kit Information including the kit name, part number, MCU ID, MCU die
temperature, and the user LED’s current blinking frequency.

Figure 7. Kit Information
8. Press space to return to the ‘welcome and main menu’ screen.

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 12 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

9. Press 2 to display the Sensor Data. It will display a list of all of the on board sensors along with theirreadings. Some of these sensors may take some time to provide data, the data will be output as soon as
it is available.

Figure 8. Loading Sensor List
10. Some sensors like ZMOD4510 require longer periods of training time when the kit is powered the firsttime. These sensors will show CALIBRATING until they are ready to provide valid data.
11. The following figure shows the output when all data is available.

Figure 9. Sensor List with All Data
12. Press space to return to the ‘welcome and main menu’ screen.

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 13 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

13. Press 3 to display the Web Server. This application hosts a web server on the CK-RX65N v2 kit showing
communication with the host PC as a remote client.

Figure 10. Web Server
14. Connect the Ethernet cable and press tab.
15. The CK-RX65N v2 as supplied, is configured to use DHCP for IP address resolution. Upon successfulconnection, the following is displayed.

Figure 11. Using DHCPR20QS0054EG0100 Rev.1.00
Oct.02.23

Page 14 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

16. If the DHCP fails to resolve a route or the DHCP server has been disabled, the application uses thestatic IP defined in the project. The following should be displayed.

Figure 12. Using Static IP
Note: If desired, the user may configure DHCP/static IP and MAC address using the project configuration(see section 4.4). Save the configuration and re-build, download the project to see the effects of thechanges.

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 15 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

17. Once a successful network connection is established, open the web browser on the host PC. Type the IP
address of the CK-RX65N v2 kit as shown in the Tera Term window in the address bar of the webbrowser. The following should be displayed in the web browser.

Figure 13. Browser View
18. Pressing the software user switch S2 on the web page control panel adjusts the flash frequency of the
LED4 (blue).
R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 16 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

19. In Tera Term, press space to return to the ‘welcome and main menu’ screen.
20. Press 4 to display Next Steps.

Figure 14. Next Steps
21. Press space to return to the ‘welcome and main menu’ screen.

4. Customizing the Quick Start Example ProjectThis section lists the requirements and instructions for customizing the Quick Start example project.
Hardware Requirements• CK-RX65N v2 board• Micro USB device cable• USB C device cable• Ethernet cable• A PC with at least 2 USB ports• A router with at least 1 available full duplex Ethernet port** The PHY implemented on the Cloud Kit does not support half-duplex operation.
Software Requirements
•
•
•
•

4.1

Windows® 10 operating systeme2 studio IDE
E2OB USB drivers
Quick Start example project

Downloading and Installing Software and Development Tools

Before the Quick Start example project can be modified, it is necessary to download and install software anddevelopment tools on the host PC.
The E2OB USB drivers, and e2 studio are bundled in a downloadable e2 studio installer available on theRenesas website at renesas.com/e2studio. New users are recommended to use the Quick Install option
provided in the installation wizard, to minimize the amount of manual configuration needed.
There is no need to download and install software, development tools, and drivers separately.

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 17 of 28

Renesas RX Family
4.2

CK-RX65N v2 – Quick Start Guide

Downloading and Importing the Quick Start Example Project

1. Download and extract the Quick Start example project to a local directory on the host PC.
 The Quick Start example project (source code and project files) is available in the CK-RX65N v2
Example Projects Bundle that is available in the Downloads tab of CK-RX65N v2 webpage atrenesas.com/rx/ck-rx65n
 Download and extract the example projects bundle (xxxxxxxxxxxxxxx-ck-rx65n-v2exampleprojects.zip) to a local directory on the host PC.
 Browse to the Quick Start example project at xxxxxxxxxxxxxxx-ck-rx65n-v2exampleprojects\ck_rx65n-v2\_quickstart\quickstart_ck_rx65n-v2_ep
2. Launch e2 studio.
3. 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 15. Creating a New Workspace
4. Click Launch.

Figure 16. Launching the Workspace

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 18 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

5. Click Import from the File drop-down menu.

Figure 17. Importing the Project
6. In the Import dialog box, select General, and then select Existing Projects into Workspace.

Figure 18. Importing Existing Projects into the Workspace
R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 19 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

7. Click Next.

Figure 19. Clicking Next to Import Existing Projects into the Workspace
8. Click Select root directory and click Browse to go to the location of the Quick Start example project
folder.

Figure 20. Selecting the Root Directory

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 20 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

9. Select the Quick Start example project and click Finish.

Figure 21. Finishing Importing the Quick Start Example Project

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 21 of 28

Renesas RX Family
4.3

CK-RX65N v2 – Quick Start Guide

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 notprescribed in this QSG. User discretion is advised while modifying the Quick Start example project.
1. Once the Quick Start example project is imported, click the quickstart_ck_rx65n_v2_ep.scfg file toopen the configurator. The configurator provides an easy to use interface to configure the properties ofthe MCU peripherals.

Figure 22. Opening the Configurator
2. For example, in the Components tab of the configurator, the user can click to select a module to modify
its configuration settings, as required. Figure 24 illustrates modifying the IRQ configuration.
Note:

To access the component properties, the view must be set to Smart Configurator. Using the Open
Perspective button, if necessary.

Figure 23. Open Perspective

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 22 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

Figure 24. Modifying the Configuration Settings
3. After the desired modifications are made, click Generate Code.

Figure 25. Generate Code from Smart Configurator
4. Modify the source files in the /src folder as needed and save the changes.
5. Build the project by clicking the build icon.

Figure 26. Building the Project
6. A successful build produces an output as follows.

Figure 27. Successful Build Output

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 23 of 28

Renesas RX Family
4.4

CK-RX65N v2 – Quick Start Guide

DHCP and Static IP settings

To modify the Ethernet based sample to enable/disable DHCP modify the filesrc/frtos_config/FreeRTOSIPConfig.h and set ipconfigUSE_DHCP as either 1 or 0 to enable ordisableFigure 28. DHCP Setting in FreeRTOS_Kernel Component
If DHCP is disabled, set the static IP address, net-mask and gateway address, to suit your local network.
In quickstart_ck_rx65n_v2_ep.scfg, go to the components tab and select freeRTOS_Kernel. In
that section, you can change the MAC address, IP address, and netmask as shown in the following figure.

Figure 29. Changing the MAC, IP, and netmask

4.5

Setting Up Debug Connection between the CK-RX65N v2 board and Host PC

To program the modified Quick Start example project on to the CK-RX65N v2 board, a debug connection isnecessary between the CK-RX65N v2 board and host PC.
1. Set Jumper J16 to connect pin 1 and pin 2
2. Connect the USB cable to micro-B USB debug port (J14) and USB C USB serial port (J10) of the CKRX65N v2 board.

Figure 30. Connecting the CK-RX65N v2 Board to the Host PC via USB Debug Port
3. Verify that the debug LED (LED5) stops blinking and lights up green indicating that the E2OB drivers aredetected by the CK-RX65N v2 board.

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 24 of 28

Renesas RX Family
4.6

CK-RX65N v2 – Quick Start Guide

Downloading and Running the Modified Quick Start Example Project

1. In e2 studio, click the drop-down menu for the debug icon, select Debug Configurations option.

Figure 31. Selecting the Debug Option
2. In the dialog, on the left-hand pane, expand the Renesas GDB Hardware Debugging and select thebuilt image to debug. In this case, the quickstart_ck_rx65n_v2_ep HardwareDebug.

Figure 32. Selecting the Debug Image
3. Check Jumper J16 to connect pin 1 and pin 2.
4. Click on Debug button.

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 25 of 28

Renesas RX Family
4.7

CK-RX65N v2 – Quick Start Guide

Firewall Dialog

1. A firewall warning may be displayed for ‘e2-server-gdb.exe’. Check the ‘Private networks, such as myhome or work network’ box and click ‘Allow access’.
2. A user account control dialog may be displayed. Enter the administrator password and click Yes.
3. A “Confirm Perspective Switch” dialog box may appear. Click Switch.

Figure 33. Opening the Debug Perspective
4. Press F8 or click Resume icon to begin executing the project.

Figure 34. Executing the Project
5. The modified Quick Start example project is programmed into the CK-RX65N v2 board and is running.
The project can be paused, stopped, or resumed using the debug controls.

R20QS0054EG0100 Rev.1.00
Oct.02.23

Page 26 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

5. Next Steps
1. To learn more about the CK-RX65N v2 kit, refer to the CK-RX65N v2 user’s manual and design package
available in the Documents and Download tabs respectively of the CK-RX65N v2 webpage atrenesas.com/rx/ck-rx65n
2. Renesas provides several example projects that demonstrate different capabilities of the RX MCUs.
These example projects can serve as a good starting point for users to develop custom applications.
Example projects (source code and project files) for CK-RX65N v2 kit are available in the CK-RX65N v2
Example Projects Bundle. The example projects bundle is available in the Downloads tab of CK-RX65N
v2 webpage.
 Download and extract the example projects bundle (xxxxxxxxxxxxxxx-ck-rx65n-v2exampleprojects.zip) to a local directory on the host PC.
 Refer to the list of all example projects (xxxxxxxxxxxxxxx-ck-rx65n-v2exampleprojects.pdf) available inside the example projects bundle.
 Browse to the desired example project (for example: adc_ck_rx65n_v2_ep) in the example projects
bundle (xxxxxxxxxxxxxxx-ck-rx65n-v2exampleprojects\ck_rx65n_v2\adc\adc_ck_rx65n_v2_ep)
 If needed RX Driver Package can be downloaded separately from the RDP repository on GitHub at:github.com/renesas/rx-driver-package
 The archived versions of the source code of the example projects are available the example project
repository.

6. Website and Support
Visit the following URLs to learn about the kit and the RX family of microcontrollers, download tools anddocumentation, and get support.
CK-RX65N Resources
Cloud Application Notes
RX Cloud Solution Portal
RX Product Support ForumRX Product Information
Renesas Support

R20QS0054EG0100 Rev.1.00
Oct.02.23

renesas.com/rx/ck-rx65n
renesas.com/cloudsolutions
renesas.com/rx/cloudsolutions
renesas.com/rx/forum
renesas.com/rx
renesas.com/support

Page 27 of 28

Renesas RX Family

CK-RX65N v2 – Quick Start Guide

Revision History
Rev.
1.00

Date
Oct.02.23

R20QS0054EG0100 Rev.1.00
Oct.02.23

Description
Page
Summary—
Initial release

Page 28 of 28

CK-RX65N v2 – Quick Start Guide
Publication Date: Oct.02.23
Published by:Renesas Electronics Corporation

CK-RX65N v2 – Quick Start Guide

R20QS0054EG0100