Search found 1 match
- Fri Nov 08, 2019 4:17 pm
- Forum: ESP-IDF
- Topic: [SPI Slave] lost rx_buffer data after spi_slave_transmit
- Replies: 3
- Views: 5705
Re: [SPI Slave] lost rx_buffer data after spi_slave_transmit
I have the same situation here. My workaroud is to send extra bytes to ESP. Every data sent to ESP used to be like this: [0x7F, SZ, SZ, <data>, CRC] where 0x7F is a start delimiter SZ, SZ is the <data> size in bytes CRC = CRC-8 Now, my package looks like this [0x7F, SZ, SZ, <data>, CRC, 0x00, 0x00, ...