Search found 6 matches

by linearo
Sun Feb 16, 2020 2:36 pm
Forum: ESP32 Arduino
Topic: WiFi getting slow if using SPI on other core
Replies: 3
Views: 4473

Re: WiFi getting slow if using SPI on other core

I solved the problem by myself now.
My loop() function was empty, but now I filled it with a delay. So it is "turned off" and the Core needs no resources for it.
by linearo
Tue Feb 04, 2020 4:44 pm
Forum: ESP32 Arduino
Topic: WiFi getting slow if using SPI on other core
Replies: 3
Views: 4473

Re: WiFi getting slow if using SPI on other core

Hi username, I implemented your suggestion in my Code now. The WiFi is fast enough again. Thanks! I did it with an integer Variable, which gets increased in the ISR and decreased in the SPI-read-task. Hope it won't have bad side effects. But my code is still not working perfectly. Every time I send ...
by linearo
Sat Feb 01, 2020 1:48 pm
Forum: ESP32 Arduino
Topic: WiFi getting slow if using SPI on other core
Replies: 3
Views: 4473

WiFi getting slow if using SPI on other core

Hi everyone, I try to read data from an external ADC and send it via WiFi to my computer. Because of 16-bit resolution and 10 kHz sampling rate I get 1.6 Mbit/s of data to send. The SPI reading happens in an ISR, which is always on core 1. For this reason, the sending task is a FreeRTOS task pinned ...
by linearo
Wed Nov 13, 2019 3:22 pm
Forum: ESP-IDF
Topic: ESP-IDF Tools unable to install
Replies: 4
Views: 4664

Re: ESP-IDF Tools unable to install

I was successful now.
I didn't change anything, but it worked in the 30th try....
Only thing that changed was, that I was in another WiFi. Don't know if that was the reason.
by linearo
Wed Nov 13, 2019 3:18 pm
Forum: ESP32 Arduino
Topic: Sampling Rate is going down in Mutitasking
Replies: 0
Views: 1782

Sampling Rate is going down in Mutitasking

Hi everyone, in a project, I got to send sensor data over WiFi while i scan the Sensor with 10kHz simultaneously. If I scan first an send afterwards, i get sampling rates up to 90kHz. But if I separate the Read and Send tasks on Core 0 and 1 so I can scan "forever" without running out of storage, I ...
by linearo
Sun Nov 03, 2019 2:50 pm
Forum: ESP-IDF
Topic: ESP-IDF Tools unable to install
Replies: 4
Views: 4664

ESP-IDF Tools unable to install

Hi everyone, if i try to install the ESP-IDF Tools, I get the error: "Failed to copy ESP-IDF to the destination directory: (Path)" I am using Windows 10 on a 64 bit system. I tried everything I can imagine e.g. changing Folder and partition or running with admin rights. Even on another Computer the ...