when I debug the spi slave :
1.the function"spi_slave_transmit()": when i call this function,my spi data will in a queue.
My question is that if no master get the data,this data will always in queue,isn't it?
So i could not send a new data until some master get the old data.
2.how could i clean the queue of spi slave.I try to use"spi_slave_free",and initialize spi again.but sometimes esp32 stopped with the uart report:
Code: Select all
Task watchdog got triggered. The following tasks did not reset the watchdog in time:
- IDLE (CPU 1)
Tasks currently running:
CPU 0: IDLE
CPU 1: IDLE
thank you!!