martinayotte wrote:You should use the HSPI on GPIO12-GPIO15.
(The SPI is dedicated to the Flash)
Thanks for the confirmation.
Explore... Chat... Share...
Moderator: igrr
martinayotte wrote:You should use the HSPI on GPIO12-GPIO15.
(The SPI is dedicated to the Flash)
picstart wrote:The arduino esp8266 IDE will use the HSPI pins hardware. HSPI uses fixed pins GPIO 12 13 14.
In setup you need something like this
SPI.begin();
//SPISettings mySettting(speedMaximum, dataOrder, dataMode)
SPI.beginTransaction(SPISettings(10000000, MSBFIRST, SPI_MODE0));
Since SPI has 4 modes you need to know from the specs the mode for the MCP chip and the endiness for the data plus the max transfer speed
Now the spi transfers need to be preceded by digitalWrite(CSpin, LOW); and followed by digitalWrite(CSpin, HIGH);
if you use a CS pin other than GPIO15
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]