Enabling ESP32 as a network module from STMF439 processor via SPI

ckinnera
Posts: 2
Joined: Mon May 07, 2018 6:27 am

Enabling ESP32 as a network module from STMF439 processor via SPI

Postby ckinnera » Mon May 07, 2018 6:35 am

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

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

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

Postby kolban » Wed May 09, 2018 5:10 pm

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
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: Baidu [Spider] and 193 guests