How to keep MOSI line high at idle?
Posted: Sun Aug 01, 2021 1:00 am
My SPI setup:
I'm currently using multiple DATA phases one after another with all 1s to simulate idle logic high, but there is still a small gap between the 64 bytes worth of DATA phases.
Is there a better, another way to keep MOSI line high at idle?
Some other hardware architectures apparently seem to hold the idle MOSI line at whatever level the last bit was sent, is there a way to have that behavior for ESP32?
thanks
Code: Select all
SPI_DEVICE_NO_DUMMY
SPI_DEVICE_3WIRE
SPI_DEVICE_HALFDUPLEX
no DMA
no interrupts (I use polling instead)
no address, no command phases, just data phase for a custom protocol
Is there a better, another way to keep MOSI line high at idle?
Some other hardware architectures apparently seem to hold the idle MOSI line at whatever level the last bit was sent, is there a way to have that behavior for ESP32?
thanks