ESP32 as Wifi and Bluetooth Peripheral on STM32
Jump to navigation
Jump to search
There are no STM32 MCUs available with built-in WiFi. ST entered a partnership with Qualcomm to create a WiFi module for STM32, but these modules are crazy expensive and quite poorly supported by STM32CubeMX and STM32CubeIDE.
In this article we'll be exploring the use of ESP32 as a WiFi "bridge".
ESP32 Part
NOTICE! The following example is all using and require ESP-IDF v. 5.3!
For this walk-through we'll be using an ESP32-S3 development board with the following pinout:
Create the esp-hosted slave
lth@nb7:~$ cd tmp
lth@nb7:~/tmp$ idf.py create-project-from-example "espressif/esp_hosted=2.12.8:slave"