Getting Started Guide
R01QS0065EJ0100 Rev.1.00 Page 1 of 30
May.31.22
RX65N
Connecting AWS Cloud with FreeRTOS Getting Started Guide for CK-RX65N
Contents
1. Overview .......................................................................................................................................3
2. Hardware Description ...................................................................................................................4
2.1 DataSheet ............................................................................................................................................. 4
2.2 Schematic.............................................................................................................................................. 4
2.3 Key Components ................................................................................................................................... 4
2.4 Hardware requirements to run FreeRTOS demo ................................................................................... 5
2.4.1 Standard Kit Contents ......................................................................................................................... 5
2.4.2 User Provided items ............................................................................................................................ 5
2.4.3 3rd Party purchasable items ................................................................................................................ 5
2.5 Additional Hardware References ........................................................................................................... 5
3. Set up your Development Environment .......................................................................................6
3.1 Support IDEs ......................................................................................................................................... 6
3.2 Toolchains ............................................................................................................................................. 6
3.2.1 CC-RX compiler .................................................................................................................................. 6
3.2.2 GCC compiler ...................................................................................................................................... 6
3.3 Establishing a serial connection ............................................................................................................ 6
3.4 Other software required to develop and debug applications for the device ........................................... 6
3.4.1 To download Tera Term ...................................................................................................................... 6
4. Set up your hardware ...................................................................................................................7
4.1 To connect the RYZ014A ...................................................................................................................... 7
4.2 To set up the device board .................................................................................................................... 9
4.3 To connect for debugging and power supply ....................................................................................... 10
4.4 To connect for receiving debug logs .................................................................................................... 10
5. Setup your AWS account and Permissions ...............................................................................11
5.1 To attach the AmazonFreeRTOSFullAccess policy to your IAM user ................................................. 11
5.2 To attach the AWSIoTFullAccess policy to your IAM user .................................................................. 11
6. Provision the device with AWS IoT ............................................................................................12
6.1 To create an AWS IoT policy ............................................................................................................... 12
6.2 To create an IoT thing, private key, and certificate for your device ..................................................... 15
7. Download FreeRTOS .................................................................................................................19
8. Configure FreeRTOS .................................................................................................................21
8.1 Header file for AWS IoT ...................................................................................................................... 21