Closed
Description
I'm connecting the esp32 to CR95HF via the spi port.
i've noticed there's a bit missing on every transaction. so i dug into the manuals and found there's a cure by changing the SPI_MISO_DELAY_MODE to 2
sure enougth i've added the following line into esp32-hal-spi.c @ spiStopBus()
_spi->dev->ctrl2.miso_delay_mode = 2;
and problem was solved. for future compateblity, i wanted to move the fix to my code and not leave it in the driver code.
i saw you can export spi_t by using SPI.bus() but i get an error
error: invalid use of incomplete type 'spi_t {aka struct spi_struct_t}'
any idea how to fix that ?
thanks