question about spi slave

JonathanChen
Posts: 6
Joined: Thu Jan 19, 2017 6:36 am

question about spi slave

Postby JonathanChen » Thu Jun 07, 2018 3:26 pm

hello everyone

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
3. at last.when can we use the dma in spi slave?

thank you!!

Who is online

Users browsing this forum: Bing [Bot] and 157 guests