Full-duplex SPI with cs_ena_pretrans
Posted: Mon Apr 27, 2020 11:01 am
Hi!
According to ESP-IDF documentation, using cs_ena_pretrans (https://docs.espressif.com/projects/esp ... _pretransE) only works on half-duplex transactions.
However, my device works in full-duplex and requires a 100 ns CS setup time ((5) from the diagram below). Is this a hardware limitation or does it comes from the ESP-IDF implementation? Is there a trick to use full-duplex anyway? Should I bitbang CS?
According to ESP-IDF documentation, using cs_ena_pretrans (https://docs.espressif.com/projects/esp ... _pretransE) only works on half-duplex transactions.
However, my device works in full-duplex and requires a 100 ns CS setup time ((5) from the diagram below). Is this a hardware limitation or does it comes from the ESP-IDF implementation? Is there a trick to use full-duplex anyway? Should I bitbang CS?