Search found 13 matches
- Thu Dec 24, 2020 6:07 pm
- Forum: ESP-IDF
- Topic: BLE blocking both cores
- Replies: 2
- Views: 3585
Re: BLE blocking both cores
Just bumping this thread to see if anyone has some insight....
- Sat Sep 12, 2020 5:58 pm
- Forum: ESP-IDF
- Topic: Increasing RTOS Tick Rate, >1000Hz
- Replies: 14
- Views: 37946
Re: Increasing RTOS Tick Rate, >1000Hz
In the interest of tying these two together, here's the continuation of this thread:
viewtopic.php?f=13&t=17235
viewtopic.php?f=13&t=17235
- Fri Sep 11, 2020 7:18 pm
- Forum: ESP-IDF
- Topic: BLE blocking both cores
- Replies: 2
- Views: 3585
Re: BLE blocking both cores
Relevant, but inconclusive post: https://esp32.com/viewtopic.php?f=22&t=10658&hilit=ble+blocking+cores It makes reference to: >>>there will always be instances that need interruption of both cores. (Most extreme example would be writing to flash, which can hold up both cores for a fair amount of mS)...
- Sun Sep 06, 2020 9:58 pm
- Forum: ESP-IDF
- Topic: BLE blocking both cores
- Replies: 2
- Views: 3585
BLE blocking both cores
I’m trying to understand how the BLE stack impacts timings on lower priority tasks. Here’s my scenario: I’m trying to achieve a sample rate of 100Hz on a sensor task. The BLE stack appears to be delaying that timer, even though they are pinned to different cores. If I disable BLE advertising, that t...
- Wed Sep 02, 2020 11:03 pm
- Forum: ESP-IDF
- Topic: Increasing RTOS Tick Rate, >1000Hz
- Replies: 14
- Views: 37946
Re: Increasing RTOS Tick Rate, >1000Hz
Did some more investigating and it looks like the BLE stack is the culprit. I'm not sure why, as that and the SD logger task are pinned to the first core and the sensor task (where the critical 10ms timer should be isolated) is on the 2nd core. At this point, I'm probably thoroughly off topic from t...
- Wed Sep 02, 2020 4:29 am
- Forum: ESP-IDF
- Topic: Increasing RTOS Tick Rate, >1000Hz
- Replies: 14
- Views: 37946
Re: Increasing RTOS Tick Rate, >1000Hz
So I screwed up the X axis (damn lies and statistics, and whatnot)
Still logging at 100Hz, here's the timestamp variation at the various tick rates with the proper/normalized X axis
CONFIG_FREERTOS_HZ=50 CONFIG_FREERTOS_HZ=100 CONFIG_FREERTOS_HZ=1000
Still logging at 100Hz, here's the timestamp variation at the various tick rates with the proper/normalized X axis
CONFIG_FREERTOS_HZ=50 CONFIG_FREERTOS_HZ=100 CONFIG_FREERTOS_HZ=1000
- Tue Sep 01, 2020 7:08 pm
- Forum: ESP-IDF
- Topic: Increasing RTOS Tick Rate, >1000Hz
- Replies: 14
- Views: 37946
Re: Increasing RTOS Tick Rate, >1000Hz
I am doing something very similar and am noticing some significant variance in the timing. Here's my scenario: My sensor task is pinned to the last core (and to my knowledge, the only thing running on that core) I use a periodic timer set to 10ms (I'm looking to achieve a stable sample rate of 100Hz...
- Fri Feb 28, 2020 7:14 pm
- Forum: ESP-IDF
- Topic: Update App From SD card
- Replies: 0
- Views: 2694
Update App From SD card
I have an app that is relatively large (too large for the factory + 2 OTA partitions) My board has an SD card which could easily contain an update image. I'm wondering if the following is possible: Build a small image that runs on every cold boot, checks the SD card for a firmware file. If found, wr...
- Tue Dec 19, 2017 4:59 am
- Forum: ESP-IDF
- Topic: Bluetooth between 2 ESP32s
- Replies: 0
- Views: 2565
Bluetooth between 2 ESP32s
I would like to have 2 ESP32s permanently paired over BLE. One will be on full time, while the other will be in deep sleep, waking periodically to transmit a few bytes. Are there any simple examples for a pre-paired connection that can establish quickly following a wake from deep sleep and transmit ...
- Fri Dec 15, 2017 4:01 am
- Forum: ESP-IDF
- Topic: Increasing RTOS Tick Rate, >1000Hz
- Replies: 14
- Views: 37946
Re: Increasing RTOS Tick Rate, >1000Hz
One of the I2C devices is an MPU9250 that I'm trying to read very frequently, so this seems like an appropriate thread, although I'm happy to create a new one. I tried implementing the new timer method from that documentation link and that is considerably simpler (thanks). The main issue here is tha...