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 :
PIN_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.