Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By martinayotte
#22714
Solo Pilot wrote:Can someone suggest how to set the SPI to "Dual channel mode instead of Quad channel mode" ? Right now, it seems to crash on digital_write() to GPIO 9 & 10.

Do you mean simply turn out those 2 write into normal GPIOs ?
According to eagle_soc.h, it should be simply set the MUX Alternate Functions as followed :

Code: Select allPIN_FUNC_SELECT(PERIPHS_IO_MUX_SD_DATA2_U, FUNC_GPIO9);
PIN_FUNC_SELECT(PERIPHS_IO_MUX_SD_DATA3_U, FUNC_GPIO10);


Then, you can call pinMode() and digitalWrite() for those pins according to your wishes.
User avatar
By kenn
#22717
Solo Pilot wrote:I bought a bunch of ESP-12Es. They have the same pin-outs and seem to work fine on an adapter board. Can someone suggest how to set the SPI to "Dual channel mode instead of Quad channel mode" ? Right now, it seems to crash on digital_write() to GPIO 9 & 10. Thanks


There's some info on that on the espressif bbs, but it doesn't sound like they were successful. Haven't tried this myself.