Skip to content

Commit 942c878

Browse files
committed
Merge branch 'dev/v202210.01-lts-rx-1.2.0-WiFi-edit_GSG_README' into 'main'
Update GSG and README for CK-RX65N v2 Wi-Fi DA16600 projects See merge request products/common/rtos/amazon-freertos/lts/iot-reference-rx!157
2 parents b9a08c1 + 7571af3 commit 942c878

File tree

2 files changed

+42
-11
lines changed

2 files changed

+42
-11
lines changed

Getting_Started_Guide.md

+24-9
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,19 @@ Connect a RYZ014A with LTE antenna and SIM card to device board.
8383
**Note:**
8484

8585
* Depending on the country you live in or provider of SIM card, you may not use RYZ014A due to the supported bands. Refer to manual of RYZ014A about supported bands for details.
86-
Also see [Settings of Bands](#settings-of-bands-in-case-of-using-cellular) for band settings.
86+
Also see [Settings of Bands](#settings-of-bands-only-using-cellular) for band settings.
8787

8888
##### Hardware setup in case of Wi-Fi
8989

9090
Connect a DA16600 to device board.
9191

9292
1. Connect the DA16600 to device board. In case of CK-RX65N, connected to the PMOD1 of it.
9393

94+
**Note:**
95+
96+
* Depending on the country you live in, you may not use DA16600 due to wrong country code or timezone.
97+
Refer to [Settings of Country code and GMT timezone](#settings-of-country-code-and-gmt-timezone-only-using-wi-fi) for settings.
98+
9499
##### Hardware setup in case of Ethernet
95100

96101
Connect between device board and router/switch.
@@ -142,18 +147,18 @@ Import demo projects into IDE; e2 studio.
142147

143148
The <project_name> term means one of the following folder name according to used communication way:
144149

145-
| Connectivity | CK-RX65N v1 | CK-RX65N v2 |
146-
|:------------:|:-----------:|:-----------:|
147-
| Ethernet | aws_ether_ck_rx65n | - |
148-
| Cellular(CAT M1) [RYZ014A](https://www.renesas.com/br/en/products/wireless-connectivity/cellular-iot-modules/ryz014a-lte-cat-m1-cellular-iot-module) | aws_ryz014a_ck_rx65n | - |
149-
| Wi-Fi [DA16600](https://www.renesas.com/us/en/products/wireless-connectivity/wi-fi/low-power-wi-fi/da16600mod-ultra-low-power-wi-fi-bluetooth-low-energy-combo-modules-battery-powered-iot-devices) | - | aws_da16600_ck_rx65n |
150+
| RX MCU and Board | Connectivity | Project name | Boot loader |
151+
|:----------------:|:------------:|:------------:|:-----------:|
152+
| [CK-RX65N v1](https://www.renesas.com/products/microcontrollers-microprocessors/rx-32-bit-performance-efficiency-mcus/ck-rx65n-cloud-kit-based-rx65n-mcu-group) | Ethernet | aws_ether_ck_rx65n | boot_loader_ck_rx65n |
153+
| [CK-RX65N v1](https://www.renesas.com/products/microcontrollers-microprocessors/rx-32-bit-performance-efficiency-mcus/ck-rx65n-cloud-kit-based-rx65n-mcu-group) | Cellular(CAT M1) [RYZ014A](https://www.renesas.com/br/en/products/wireless-connectivity/cellular-iot-modules/ryz014a-lte-cat-m1-cellular-iot-module) | aws_ryz014a_ck_rx65n | boot_loader_ck_rx65n |
154+
| [CK-RX65N v2](https://www.renesas.com/products/microcontrollers-microprocessors/rx-32-bit-performance-efficiency-mcus/ck-rx65n-cloud-kit-based-rx65n-mcu-group) | Wi-Fi [DA16600](https://www.renesas.com/us/en/products/wireless-connectivity/wi-fi/low-power-wi-fi/da16600mod-ultra-low-power-wi-fi-bluetooth-low-energy-combo-modules-battery-powered-iot-devices) | aws_da16600_ck_rx65n | boot_loader_ck_rx65n_v2 |
150155

151156
The following are combinations of demos that can be tried for each procedure.
152157
|Operating Procedure|PubSub|Fleet Provisioning|OTA|
153158
|---|---|---|---|
154159
|[Step 4-1: Run PubSub demo](#step-4-1-run-pubsub-demo)||-|-|
155160
|[Step 4-2: Run PubSub demo with Fleet Provisioning](#step-4-2-run-pubsub-demo-with-fleet-provisioning)|||-|
156-
|[Step 4-3: Run Pubsub demo with OTA](#step-4-3-run-pubsub-demo-with-ota)||-||
161+
|[Step 4-3: Run Pubsub demo with OTA](#step-4-3-run-pubsub-demo-with-ota)||-||
157162

158163
---
159164

@@ -240,6 +245,16 @@ In case of RYZ014A, configure the following macro in "Middleware\\network_transp
240245

241246
* `CELLULAR_BAND_CONFIG`: Set `"1,2,4,5,8,12,13,14,17,18,19,20,25,26,28,66"`
242247

248+
###### Settings of Country code and GMT timezone (Only using Wi-Fi)
249+
250+
Use the RX Smart Configurator to configure the Country code and GMT timezone.
251+
Open the RX Smart Configurator as shown in the image below and set the 2 parameters `"WIFI_CFG_COUNTRY_CODE"` and `"WIFI_CFG_SNTP_UTC_OFFSET"`.
252+
253+
* `"WIFI_CFG_COUNTRY_CODE"` : Country code defined in ISO 3166-1 alpha-2 standard. Such as KR, US, JP, and CH.
254+
* `"WIFI_CFG_SNTP_UTC_OFFSET"` : GMT timezone offset in hours (-12 ~ 12).
255+
256+
![4-1-1](https://github.com/renesas/iot-reference-rx/wiki/getting_started_guide_image/step4_1_1_Input_WFCC_TZONE.PNG?raw=true)
257+
243258
###### Settings of Wi-Fi network (Only using Wi-Fi)
244259

245260
Configure settings of Wi-Fi network for Wi-Fi DA16600 module. Configure the following macro in "src\\application_code\\include\\aws_clientcredential.h"
@@ -425,7 +440,7 @@ About how to run this demo, see the chapter *4. Running the Fleet Provisioning D
425440

426441
Though this application note is for both Ethernet and Cellular projects, Wi-Fi project will also work as described in application note.
427442

428-
When running this demo, please enable [Settings of RX Smart Configurator](#settings-of-rx-smart-configrater) before generating code with RX Smart Configurator.
443+
When running this demo, please enable [Settings of RX Smart Configurator](#settings-of-rx-smart-configurator) before generating code with RX Smart Configurator.
429444

430445
##### Precaution for PubSub demo with Fleet Provisioning
431446

@@ -460,7 +475,7 @@ Though this application note is for both Ethernet and Cellular projects, Wi-Fi p
460475

461476
The "boot_loader_ck_rx65n_v2" project should be used when running this demo on CK-RX65N v2.
462477

463-
When running this demo, please enable [Settings of RX Smart Configurator](#settings-of-rx-smart-configrater) before generating code with RX Smart Configurator.
478+
When running this demo, please enable [Settings of RX Smart Configurator](#settings-of-rx-smart-configurator) before generating code with RX Smart Configurator.
464479

465480
---
466481

README.md

+18-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The following table indicates name and version of [FIT modules](https://www.rene
8888
|r_tsip_rx|1.17.l|--|
8989
|r_irq_rx|4.00|1.34|
9090
|r_fwup|2.01|--|
91-
|r_wifi_da16xxx|1.10|1.10|
91+
|r_wifi_da16xxx|1.10|1.42|
9292

9393
### Data Flash Usage
9494
RX family of MCU has internal Data Flash Memory, and this references are using the Data Flash to store the data for connecting to the Cloud service.
@@ -246,13 +246,15 @@ In this sample, both `BL_UPDATE_MODE` and `BL_INITIAL_IMAGE_INSTALL` are set to
246246
| | FLASH_CFG_CODE_FLASH_RUN_FROM_ROM | 0 | 1 | OTA library is implemented to execute code that rewrites the code flash from another bank. |
247247
| r_wifi_da16xxx | WIFI_CFG_DA16600_SUPPORT | 0 | 1 | Enable support for DA16600 |
248248
| | WIFI_CFG_SCI_CHANNEL | 0 | 1| PMOD1 using SCI6 channel |
249+
| | WIFI_CFG_CTS_SW_CTRL | 0 | 1 | Enable CTS hardware flow control |
249250
| | WIFI_CFG_CTS_PORT | 2 | J | PMOD1_1 is PJ3 |
250251
| | WIFI_CFG_CTS_PIN | 3 | 3 | PMOD1_1 is PJ3 |
251252
| | WIFI_CFG_RTS_PORT | 2 | J | PMOD1_1 is PJ3 |
252253
| | WIFI_CFG_RTS_PIN | 3 | 3 | PMOD1_1 is PJ3 |
253254
| | WIFI_CFG_PFS_SET_VALUE | 0x0BU | 0x0AU | PFS for Jx is 0x0AU |
254255
| | WIFI_CFG_RESET_PORT | A | 5 | PMOD1_8 is P55 |
255256
| | WIFI_CFG_RESET_PIN | 1 | 5 | PMOD1_8 is P55 |
257+
| | WIFI_CFG_SNTP_ENABLE | 0 | 1 | Enable SNTP client service |
256258
| r_sci_rx | SCI_CFG_CH5_INCLUDED | 0 | 1 | SCI CH5 is used as the SCI UART terminal. |
257259
| | SCI_CFG_CH6_INCLUDED | 0 | 1 | SCI CH6 is used to communicate with the DA16600 module. |
258260
| | SCI_CFG_CH6_TX_BUFSIZ | 80 | 2180 | The TX buffer size needs to be increased to communicate with DA16600. |
@@ -264,7 +266,21 @@ In this sample, both `BL_UPDATE_MODE` and `BL_INITIAL_IMAGE_INSTALL` are set to
264266
| | FWUP_CFG_BUF_AREA_ADDR_L | 0xFFEF8000U | 0xFFE00000U | This value is set according to the RX65N ROM 2MB product. |
265267
| | FWUP_CFG_AREA_SIZE | 0xF8000U | 0xF0000U | This value is set according to the RX65N ROM 2MB product. |
266268

267-
#### CK-RX65N Bootloader Projects
269+
#### CK-RX65N v1 Bootloader Project
270+
271+
| FIT module | Config name | Default Value | Project value | Reason for change |
272+
|------------|-------------|---------------|---------------|-------------------|
273+
| r_bsp | BSP_CFG_USER_CHARPUT_ENABLED | 0 | 1 | Use with log output function. |
274+
| | BSP_CFG_CODE_FLASH_BANK_MODE | 1 | 0 | This project uses the Dual bank function. |
275+
| r_flash_rx | FLASH_CFG_CODE_FLASH_ENABLE | 0 | 1 | Bootloader rewrites the code flash. |
276+
| | FLASH_CFG_CODE_FLASH_RUN_FROM_ROM | 0 | 1 | Bootloader is implemented to execute code that rewrites the code flash from another bank. |
277+
| r_sci_rx | SCI_CFG_CH5_INCLUDED | 0 | 1 | SCI CH5 is used to write firmware and output log information. |
278+
| r_fwup | FWUP_CFG_UPDATE_MODE | 1 | 0 | This project uses the Dual bank function. |
279+
| | FWUP_CFG_MAIN_AREA_ADDR_L | 0xFFE00000U | 0xFFF00000U | This value is set according to the RX65N ROM 2MB product. |
280+
| | FWUP_CFG_BUF_AREA_ADDR_L | 0xFFEF8000U | 0xFFE00000U | This value is set according to the RX65N ROM 2MB product. |
281+
| | FWUP_CFG_AREA_SIZE | 0xF8000U | 0xF0000U | This value is set according to the RX65N ROM 2MB product. |
282+
283+
#### CK-RX65N v2 Bootloader Project
268284

269285
| FIT module | Config name | Default Value | Project value | Reason for change |
270286
|------------|-------------|---------------|---------------|-------------------|

0 commit comments

Comments
 (0)