Search found 5 matches

by Patrick78
Mon May 18, 2020 7:15 pm
Forum: Hardware
Topic: Problem with simultaneous use of spi and wifi DMA controllers
Replies: 9
Views: 6149

Re: Problem with simultaneous use of spi and wifi DMA controllers

30kbyte I send it entirely from Matlab and reading it with recv() function in loop, all occupies about 20 milliseconds, meanwhile spi Sends in pieces another 30 kbyte buffer, 150 bytes every 200 us, I do not place transactions in the queue.
by Patrick78
Mon May 18, 2020 5:32 pm
Forum: Hardware
Topic: Problem with simultaneous use of spi and wifi DMA controllers
Replies: 9
Views: 6149

Re: Problem with simultaneous use of spi and wifi DMA controllers

For continuous video display work I have three temporary buffers the size of each is 30 kilobytes. When at least one buffer i will be read tcp the server gets 30 kilobytes of information which is approximately 17 packets, I think some packets come in so fast that sometimes there is no time left for ...
by Patrick78
Mon May 18, 2020 3:02 pm
Forum: Hardware
Topic: Problem with simultaneous use of spi and wifi DMA controllers
Replies: 9
Views: 6149

Re: Problem with simultaneous use of spi and wifi DMA controllers

Would be interested in your IDF version. You are right, you will have a finite bandwidth to share among the DMA functions. I have found that it is very expensive to setup DMA on short transfers. You can pre configure but that is extra code. 1 mS is a long time though. Guessing 160Mhz internal RAM s...
by Patrick78
Mon May 18, 2020 2:57 pm
Forum: Hardware
Topic: Problem with simultaneous use of spi and wifi DMA controllers
Replies: 9
Views: 6149

Re: Problem with simultaneous use of spi and wifi DMA controllers

Where do you iniitialize your SPI peripheral? The interrupt handling for it is done on the core the device is initialized, so if you do that on core 0, it may still interfere with WiFi. spi initialized on core 1 and wifi on core 0. I was told that two DMA may not have simultaneous access to RAM. bu...
by Patrick78
Sat May 16, 2020 6:19 pm
Forum: Hardware
Topic: Problem with simultaneous use of spi and wifi DMA controllers
Replies: 9
Views: 6149

Problem with simultaneous use of spi and wifi DMA controllers

ESP-WROOM-32 i have two task, one task is on core 0 on which soft AP and tcp server works, another task works on core 1 and he uses HSPI with DMA. when tcp server receive some data HSPI Stops working for a moment, about a millisecond. i use spi for rotate display and This pause is quite noticeable.w...