Chat freely about anything...

User avatar
By ESP1990
#53268 I am in a process to interface some external slave device to the esp8266EX Launcher using HSPI.Currently I am using the spi driver found here https://github.com/MetalPhreak/ESP8266_SPI_Driver and it seems to be working pretty well. I am controlling the CS line manually through software.

The problem is, whenever I transfer two bytes of data, between each byte transfers, there is 8 dead clock cycles as shown in the image attached below. So basically, I want to get rid of those dead cycles and send the 2 bytes in a row, like this:

1. Make CS Low
2. Send 2 bytes of data
3. Make CS High

Any suggestions or help regarding this would be greatly appreciated.

Regards
ESPFan :)
Attachments
CSsolved.jpg
Image of the SPI clocking issue