Purchase the CK-RA6M5 Cloud Kit

This guide will walk through the steps of setting up the CK-RA6M5 for connecting to the Avnet /IOTCONNECT platform and interacting with the onboard sensors in realtime via a Dynamic Dashboard. This project is based on the Renesas CK-RA6M5 Sample Code and the /IOTCONNECT AT Command-enabled PMOD module for connectivity.
- Renesas CK-RA6M5 v2 Cloud Kit
- FTDI USB Cable
- PC with Windows 11
- Available 2.4GHz WiFi Network
- A Serial Terminal Application such as Tera Term
- Renesas Flash Programmer for Windows
An /IOTCONNECT account with an AWS backend is required. If you need to create an account, a free trial subscription is available. The free subscription may be obtained directly from iotconnect.io or through the AWS Marketplace.
-
Option #1 (Recommended)
/IOTCONNECT via AWS Marketplace - 60 day trial; AWS account creation required -
Option #2
/IOTCONNECT via iotconnect.io - 30 day trial; no credit card required
Note
Be sure to check any SPAM folder for the temporary password after registering.
- Download the pre-made Device Template: ckra6m5_template.json for the CK-RA6M5 Kit.
- Login to the platform by navigating to console.iotconnect.io
- From the navigation panel on the left, select the Devices icon and the Device sub-menu.

- At the bottom of the page, select the Templates icon from the toolbar.

- At the top-right of the page, select the Create Template button.

- At the top-right of the page, select the Import" button.

- Click the Browse button, navigate to and select the downloaded template
da16k_template.json - Click Save
In this step, we will create a Device associated with the previously imported Device Template
- In the ribbon at the bottom of the screen, click the Devices
- At the top-right, click Create Device

- Enter a custom device Unique ID (also called a DUID) and Device Name such as
CK-RA6M5 - Select the Entity to associate the device (For new accounts, there is only one option)
- Select the previously imported template
ckra6m5 - Under Device Certificate select Auto-generated
- Click Save & View
- Download the Device Configuration Information by clicking the icon in the upper right of the device page

In this step we will locate and download the device certificates.
- Just below the Device Configuration Information icon, click the
Connection Infolink.
- Click on the Certificates icon in the top-right and save the Primary certificate file to your working directory.

- Extract the contents of the
*-certificates.zipfile for use in the next section.
Important
You will need the information contained within the 'Device Configuration Information' and the 'Certificates' files to complete the following step.
The DA16600 PMOD included with the kit is leveraged to connect to a WiFi network and communicate with the /IOTCONNECT platform.
Follow the DA16K QuickStart Guide and return to this guide when programmed.
- Remove the FTDI wires from the DA16600 PMOD
- Connect the DA16600 PMOD to the PMOD1 connector of CK-RA6M5
- Connect the included USB-A to USB-micro cable from the PC to the connector labeled DEBUG1 (next to the Ethernet port)

- Download the pre-compiled firmware image: quickstart_ck_ra6m5_v2_ep.hex
- Download and Install the latest version of the Renesas Flash Programmer for Windows
- Using
File-New Project, create a new project. - Select
RAas Microcontroller, - Enter a Project Name such as
QuickStart - Navigate to a Project Directory of your choosing: eg
C:\Renesas\ck-ra6m5 - In the Communication section change the Tool to
J-Linkand the Interface toSWD
- Press
Connect. - Verify the connection is successful.
- Select
Add/Remove Files..., clickAdd File(s)..., navigate to and select the.hexfile previously downloaded.
- Click
OK. - Press
Startto start the flashing process and a progress window will pop up. - Verify
Operation Completed.message is displayed after the progress bar reaches completes.
Once the device is flashed, the device will boot, connect to /IOTCONNECT, and begin sending out telemetry.
- Find your device in the /IOTCONNECT "Devices" menu and verify telemetry is visible on the device's Live Data tab.
/IOTCONNECT Dynamic Dashboards are an easy way to visualize data and interact with edge devices.
- Download the example CK-RA6M5 Demo Dashboard here: ckra6m5_dashboard.json
- Switch back to the /IOTCONNECT browser window and verify the device status is displaying as
Connected - Click
Create Dashboardfrom the top of the page - Select the
Import Dashboardoption and Click Browse to select the dashboard template previously downloaded. - Select the Template ("ckra6m5") and your Device Name
- Enter a name (such as
CK-RA6M5 Demo) and Click Save the finalize the import
You will now be in the dashboard edit mode. You can add/remove widgets or just click Save in the upper-right corner to exit the edit mode.
Controls state of red LED on the board
- set_red_led
<state>- on - Turns red LED on
- off - Truns red LED off
Controls the frequency of the blue LED flashing on the board
- set_led_frequency
<freq>- 0 - Slow blinking
- 1 - Medium blinking
- 2 - Fast blinking
- 3 - Very fast blinking
- Purchase Renesas Cloud Kit CK-RA6M5
- /IOTCONNECT Resources




