UG454: RS9116W with STM32 User's Guide
Version 1.2
silabs.com | Building a more connected world. 2 | Page
PRELIMINARY | Subject to change.
Table of Contents
1 About this Document ............................................................................................................................................. 3
2 Getting Started with STM32 and RS9116W EVK .................................................................................................. 4
2.1 RS9116W Evaluation Kit Contents .................................................................................................................... 4
2.2 RS9116W EVK Overview................................................................................................................................... 5
2.2.1 The RS9116 WiSeConnect .................................................................................................................................... 5
2.2.2 Hardware Details ................................................................................................................................................... 6
2.2.3 Supported Interfaces ............................................................................................................................................. 6
2.3 RS9116W Hardware Requirements ................................................................................................................... 7
2.4 RS9116W Software Requirements .................................................................................................................... 8
2.5 RS9116W SPI headers on the EVK ................................................................................................................... 9
2.5.1 Header Pin Orientations......................................................................................................................................... 9
2.5.2 Pin Description ...................................................................................................................................................... 9
2.6 Interfacing the STM32 NUCLEO with RS9116W EVK ..................................................................................... 10
2.6.1 Steps for Interfacing via SPI Interface. ................................................................................................................. 10
2.6.2 Steps for Interfacing via UART Interface .............................................................................................................. 11
2.6.3 10-pin SPI Header Connection Details ................................................................................................................. 11
2.6.4 UART Connection Details .................................................................................................................................... 11
2.6.5 GPIO Connection Details for ULP Power Save .................................................................................................... 12
2.6.6 GPIO Connection Details For LP Power Save ...................................................................................................... 12
2.6.7 For Host MCU-based Reset ................................................................................................................................. 12
2.7 Getting Started with Keil IDE............................................................................................................................ 12
2.7.1 Introduction to Keil ............................................................................................................................................... 12
2.7.2 Steps for Executing STM32 Reference Projects on the Keil IDE ........................................................................... 13
2.8 Getting Started with STM32CubeIDE .............................................................................................................. 22
2.8.1 Please follow the below Steps for executing STM32 reference projects on STM32CubeIDE ................................. 22
3 STM32 Reference Projects .................................................................................................................................. 34
3.1 STM32 Reference Projects and Example Details ............................................................................................ 34
3.1.1 1. Reference projects details ................................................................................................................................ 34
3.1.2 2.Reference Examples Details ............................................................................................................................. 35
3.2 Steps for Executing STM32 Examples using Master Application (Sample Project) ......................................... 35
3.2.1 Steps for Keil IDE: ............................................................................................................................................... 35
3.2.2 Steps for STMCube IDE ...................................................................................................................................... 40
3.3 Reference Projects for Keil Baremetal ............................................................................................................. 44
3.3.1 Example1: Throughput Application....................................................................................................................... 44
3.3.2 Example2: Wireless Firmware Upgradation .......................................................................................................... 53
3.3.3 Example3: WLAN Station BLE Bridge .................................................................................................................. 58
3.3.4 Example4: WLAN Station BLE Provisioning ......................................................................................................... 73
3.3.5 Example5: WLAN Standby Associated Power Save ............................................................................................. 83
3.3.6 Example6: Enterprise Ping Client (eap) ................................................................................................................ 91
3.3.7 Example7: BT_Alone ..........................................................................................................................................105
3.3.8 Example8: AWS_IoT ..........................................................................................................................................112
3.3.9 Example9: sample_project ..................................................................................................................................116
3.3.10 Example10: udp_client .......................................................................................................................................117
3.4 Reference Projects for Keil Freertos .............................................................................................................. 123
3.4.1 Example1: mqtt_client ........................................................................................................................................123
3.4.2 Example2 : wlan_https_bt_spp_ble_dual_role .....................................................................................................130
3.4.3 Example3: wlan_https_bt_spp_ble_provisioning .................................................................................................137
3.4.4 Example4: wlan_throughput_bt_spp_ble_dual_role.............................................................................................143
3.4.5 Example5:sample_project ...................................................................................................................................148
3.4.6 Example6: udp_client .........................................................................................................................................148
3.5 Reference projects for Cube Baremetal ......................................................................................................... 148
3.5.1 Example1:eap ....................................................................................................................................................148
3.5.2 Example2: Firmware_Upgrade............................................................................................................................148
3.5.3 Example3: Power_save ......................................................................................................................................148
3.5.4 Example4: Wlan_ble ...........................................................................................................................................149
3.5.5 Example5: sample_project ..................................................................................................................................149
3.6 Reference Projects for Cube Freertos ........................................................................................................... 149
3.6.1 Example1: wlan_https_bt_spp_ble_dual_role......................................................................................................149
3.6.2 Example2: wlan_https_bt_spp_ble_provisioning .................................................................................................149
3.6.3 Example3: wlan_throughput_bt_spp_ble_dual_role.............................................................................................149
3.6.4 Example4: sample_project ..................................................................................................................................149
4 FreeRTOS Porting for STM32 ............................................................................................................................ 150
5 AWS SDK Porting for RS9116W SAPIS in STM32 ........................................................................................... 166
6 Revision History ................................................................................................................................................. 173
7 References .......................................................................................................................................................... 174