Incomplete SPI Buffer
Posted: Fri Apr 12, 2019 2:11 pm
I have the ESP32 set up as a slave device using SPI. I have followed the advice in the online documentation that states that the buffers should be minimum 8 bytes and a multiple of 4 bytes long.
So I am trying to send 23 bytes (in a 24 byte buffer) to the ESP32.
In every case it looks like the last four bytes are being set to 0x00.
I have checked the transaction length and it is set to 192 bits (i.e. 24 bytes).
Has anyone else come across this and have a solution?
Regards,
Mark
So I am trying to send 23 bytes (in a 24 byte buffer) to the ESP32.
In every case it looks like the last four bytes are being set to 0x00.
I have checked the transaction length and it is set to 192 bits (i.e. 24 bytes).
Has anyone else come across this and have a solution?
Regards,
Mark