Closed Jubei-VA closed 5 months ago
The buffer size is the size of the data transferred from the master in one transaction. It looks like there is no problem with BUFFER_SIZE.
You don't need to call pinMode()
for four pins.
Please refer to this document for IO_MUX.
If you still need help, please fell free to reopen this issue.
Hey, thanks for the useful project.
I am using an Arduino ESP32 Nano, platformio
I want to use GPIO pins for this, not the standard pins. I am definitely seeing signals on the scope from my 3.3V SPI Master. However, I see no data from MISO.
I am not totally what BUFFER_SIZE represents here:
const size_t received_bytes = slave.transfer(tx_buf, rx_buf, BUFFER_SIZE);
Does this mean to expect CS low during this entire 64 bit transaction?
Regardless, I tried setting it to 1. I still see MISO stuck at 1.
Any tips? Thanks!