Page 1 of 1

Enabling ESP32 as a network module from STMF439 processor via SPI

Posted: Mon May 07, 2018 6:35 am
by ckinnera
Hi All,

I am running FreeRtos on STMF439 processor, I want to use the ESP-32 as a network module connected on SPI.
Could someone provide the example code or reference code ?
I have downloaded the esp-idf, I find only the .h file which has a function "esp_wifi_init_internal" but there is no source code for it.
I want to know how we can enable the ESP32 via SPI bus from the STMF439 host processor.

Thanks in advance.

Best Regards,
Chiranjeevi

Re: Enabling ESP32 as a network module from STMF439 processor via SPI

Posted: Wed May 09, 2018 5:10 pm
by kolban
The ESP32 is a platform on which applications can be developed. It supports the SPI bus protocol. It also has WiFi capabilities meaning that it can be a station to a remote access point or even be an access point by itself. To use SPI and/or use the WiFi/network, one must write C or C++ applications that drive the APIs exposed by the SDK (called ESP-IDF).

The best source of public documentation for the ESP-IDF can be found here:

http://esp-idf.readthedocs.io/en/latest/

My suggestion is to grab a large cup of coffee and start reading the documentation.

There are also many ESP32 source examples available here:

https://github.com/espressif/esp-idf/tr ... r/examples