8000 GitHub - Networking-for-Arduino/ESPHost at c5bc3ac851737d40183ec0fd13d0e4aeeb4404ef
[go: up one dir, main page]

Skip to content

Networking-for-Arduino/ESPHost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESPHost library

Arduino driver for communicating with Espressif's esp-hosted-fg firmware.

The library is meant to serve as low level driver for a LwIP network interface implementation.

The library was originally written for Arduino Portenta C33 with Arduino Renesas Core.

Configuration

Pins are configured with defines. To add the defines, modify boards.txt or create boards.local.txt next to boards.txt and add .build.extra_flags=. For boards with defines for the WiFiNINA library it is enough to add -DESPHOSTSPI.

Complete settings require to specify pins. Example:

rpipico.build.extra_flags=-DESPHOST_RESET=D5 -DESPHOST_HANDSHAKE=D7 -DESPHOST_DATA_READY=D6 -DESPHOST_CS=D10 -DESPHOSTSPI=SPI

Default SPI frequency set in the library is 10 MHz. It is the highest SPI speed for classic ESP32. Firmware for C and S series ESP32 are build with higher SPI frequency. To specify the SPI frequency to be used by the ESPHost library, add -DESPHOSTSPI_MHZ=30 to <board>.build.extra_flags.

Firmware

  • the released fg fw for classic ESP32 uses SPI on pins [12, 13, 14, 15] even the doc says it is [23, 19, 18, 5]
  • firmware builds for specific boards are in extras/firmware

About

Arduino driver for communicating with Espressif's esp-hosted-fg firmware

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

0