spi and sdio

lin_yabao2016
Posts: 3
Joined: Sun Nov 06, 2016 1:28 pm

spi and sdio

Postby lin_yabao2016 » Sun Nov 06, 2016 1:43 pm

:) how can i control esp32 spi1,spi2,and sdio? ,(sdio is master,is read sd file ),please give me a example,Thank you very much。

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

Re: spi and sdio

Postby kolban » Sun Nov 06, 2016 4:40 pm

The way that I am driving SPI today from a C program using the ESP-IDF is to leverage the Arduino libraries hardware abstraction layer functions found here:

https://github.com/espressif/arduino-es ... -hal-spi.c
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: jsmith56x, sterisa and 286 guests