Search found 4 matches

by derasd
Tue Nov 27, 2018 8:24 am
Forum: ESP-IDF
Topic: TCP Spurious Retransmissions
Replies: 2
Views: 3962

TCP Spurious Retransmissions

Hi there, I have two ESP32 sending data more or less simultaneously to a server over WIFI. If one of the ESP is further away (i.e. is close to the border of it's connection range) than wireshark running on the server shows spurious retransmissions. This means that the ESP sends data to the server, t...
by derasd
Thu Nov 01, 2018 3:28 pm
Forum: ESP-IDF
Topic: ESP32/MPU-9250 losing accuracy
Replies: 4
Views: 6129

Re: ESP32/MPU-9250 losing accuracy

Anyone sees a problem with the code? Something else I've got is that from time to time the sensor returns a value of exactly 0 t->rx_data[0] = 0 which is not correct. When I analyze the data on the SPI bus with an oscilloscope there is always a value returned. Edit: Problem has been solved by using ...
by derasd
Wed Oct 24, 2018 7:05 am
Forum: ESP-IDF
Topic: ESP32/MPU-9250 losing accuracy
Replies: 4
Views: 6129

Re: ESP32/MPU-9250 losing accuracy

Hi, thanks for your help. Here is the SPI code. *Edit* Made some changes to the code, performance and readability should be better now. Problem still persists, especially the one from the post below. //This function is called with every interrupt static void IRAM_ATTR mpu_isr(void *discard) { spi_tr...
by derasd
Tue Oct 23, 2018 8:15 am
Forum: ESP-IDF
Topic: ESP32/MPU-9250 losing accuracy
Replies: 4
Views: 6129

ESP32/MPU-9250 losing accuracy

Hi, I'm using an ESP32 in connection with an MPU-9250 to measure acceleration over SPI. Interrupts are used to measure 10'000 samples. Those are sent over WIFI and the process is started again. After around 100+ measurements the sensor suddenly loses accuracy (and also gets a small offset compared t...