Search found 4 matches
- Thu Jul 26, 2018 7:25 am
- Forum: Report Bugs
- Topic: SPI slave: multiple TRANS_DONE interrupts
- Replies: 7
- Views: 11542
Re: SPI slave: multiple TRANS_DONE interrupts
In the example I provided we queue transfers one by one. But in our real application we have to fill transfer queue continuously. There are usually more than one queued transfers at each particular moment in time. And several of them a read from the queue while several interrupts occur after one tra...
- Wed Jul 25, 2018 7:47 am
- Forum: Report Bugs
- Topic: SPI slave: multiple TRANS_DONE interrupts
- Replies: 7
- Views: 11542
Re: SPI slave: multiple TRANS_DONE interrupts
Yes, in this example we use SPI driver as normal, but even with it we already see multiple TRANS_DONE interrupts. We also added gpio_set_level() calls on a dedicated GPIO to spi_intr() in spi_slave.c (set "1" after TRANS_DONE bit check and "0" on exit of spi_intr() procedure) to see when interrupts ...
- Tue Jul 24, 2018 10:56 am
- Forum: Report Bugs
- Topic: SPI slave: multiple TRANS_DONE interrupts
- Replies: 7
- Views: 11542
Re: SPI slave: multiple TRANS_DONE interrupts
Here is our example. In it we do not queue multiple transfers. Just initialize SPI and launch transfers one by one. We used it to investigate issue with multiple SPI interrupts on each transfer. #define SPI_HOST VSPI_HOST #define GPIO_MOSI 23 #define GPIO_MISO 19 #define GPIO_SCLK 18 #define GPIO_CS...
- Mon Jul 23, 2018 12:12 pm
- Forum: Report Bugs
- Topic: SPI slave: multiple TRANS_DONE interrupts
- Replies: 7
- Views: 11542
SPI slave: multiple TRANS_DONE interrupts
Hello. We use ESP-WROOM-32 module (ESP32 rev 0) and ESP-IDF v3.1/ We use SPI in slave mode. We have encountered the following issue. We continuously launch SPI transfers from master (at least 300 times per second). We have tested two different transfer sizes (64 bytes with and without DMA, 1536 byte...