Chat freely about anything...

User avatar
By Ashutosh choudhary
#64743 My IC has three wire SPI feature which I would like to use, since I only have one SPI device attached to my esp.(Four wire configuration is working).
For 3 wire SPI configuration to work, I need to attach the CS pin of the IC to GND, which has been done already.
But for communication to start I need to pull down SCLK line (gpio14) for 400 microseconds.
Arduino spi library defines the SCLK pin as SPECIAL, therefore digitalwrite is not working on it.

How can I pull down SCLK for 400 microseconds, so as I don'ts have to sacrifice one gpio.