-->
Page 3 of 3

Re: New ESP-8266 Boards

PostPosted: Tue Jul 07, 2015 2:00 pm
by martinayotte
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.

Re: New ESP-8266 Boards

PostPosted: Tue Jul 07, 2015 2:17 pm
by kenn
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.