Search found 9 matches
- Mon Sep 15, 2025 3:26 pm
- Forum: ESP-IDF
- Topic: How to get miniz working.
- Replies: 8
- Views: 11053
Re: How to get miniz working.
There's also https://github.com/X-Ryl669/tinytinycompress which implement both a compressor and decompressor with as small as 4 bytes for required RAM (and configurable RAM for compressor, can be as low as 128 bytes). It's probably not as efficient as zlib, but it's darn fast and doesn't have any ...
- Mon Apr 21, 2025 7:21 am
- Forum: ESP-IDF
- Topic: ESP32C6 - Wakeup while Lp core wait for interrupt or halt
- Replies: 3
- Views: 415
Re: ESP32C6 - Wakeup while Lp core wait for interrupt or halt
Well, it turns out it's completely possible to set up 2 wake up sources from deep sleep, so the above is actually not required. In the end, for simple interrupt based solution, running the LP core isn't actually required, or, only to assert the state of the system once one of the interrupt has ...
- Tue Apr 15, 2025 2:41 pm
- Forum: ESP-IDF
- Topic: ESP32C6 - Wakeup while Lp core wait for interrupt or halt
- Replies: 3
- Views: 415
ESP32C6 - Wakeup while Lp core wait for interrupt or halt
Hi,
I'm doing a very low power product where I'm saving the very last joule I can. In this case, I've done this:
HP core is woken up very very very rarely (only for communicating)
HP core deep sleep for a given amount of time and wake up the LP core
LP core sets up two interrupt handler (one ...
I'm doing a very low power product where I'm saving the very last joule I can. In this case, I've done this:
HP core is woken up very very very rarely (only for communicating)
HP core deep sleep for a given amount of time and wake up the LP core
LP core sets up two interrupt handler (one ...
- Sun Aug 11, 2024 11:29 am
- Forum: ESP-IDF
- Topic: ESP32-C6 LP CORE
- Replies: 5
- Views: 50147
Re: ESP32-C6 LP CORE
I can't answer all your question since I'm still learning. But I can answer the last one: there isn't any heap on the LP cpu, so the memory usage can't change for the whole duration of the program. You could, theoretically access any byte on the available 16kB address space, but the way the ...
- Sat Sep 10, 2022 7:05 am
- Forum: ESP-IDF
- Topic: I2C times out when queueing multiple transaction
- Replies: 2
- Views: 2386
Re: I2C times out when queueing multiple transaction
Sorry, I missed your answer. You're right, the &dataBuffer[i * 3] should read &dataBuffer[index * 3] . index will never be 2, so it's safe.
In fact I've made many progress on diagnosing the issue, see here . In short, the I2C HW crashes when queueing more than 2 transactions. Either we need to ...
In fact I've made many progress on diagnosing the issue, see here . In short, the I2C HW crashes when queueing more than 2 transactions. Either we need to ...
- Sat Sep 10, 2022 6:51 am
- Forum: ESP-IDF
- Topic: Error: fatal error: mbedtls/config.h: No such file or directory
- Replies: 7
- Views: 14480
Re: Error: fatal error: mbedtls/config.h: No such file or directory
In fact, esp_config.h includes mbedtls_config.h that doesn't exist either, so it doesn't solve the issue.
- Fri Aug 26, 2022 4:20 pm
- Forum: ESP-IDF
- Topic: I2C times out when queueing multiple transaction
- Replies: 2
- Views: 2386
I2C times out when queueing multiple transaction
Hi,
I'm trying to create a single object that's storing the transactions to happen on I2C bus by queueing all the operations and expecting the CPU to run them all correctly. Typically, I'm doing this (pseudo code):
#define FilterError(x) ((x) == ESP_OK)
uint8 buffer[I2C_LINK_RECOMMENDED_SIZE(4 ...
I'm trying to create a single object that's storing the transactions to happen on I2C bus by queueing all the operations and expecting the CPU to run them all correctly. Typically, I'm doing this (pseudo code):
#define FilterError(x) ((x) == ESP_OK)
uint8 buffer[I2C_LINK_RECOMMENDED_SIZE(4 ...
- Tue Nov 06, 2018 9:03 pm
- Forum: ESP-IDF
- Topic: Reduce external interrupt latency
- Replies: 15
- Views: 33579
Re: Reduce external interrupt latency
It's likely too late, but you have 3 options, depending on what are your latency expectations:
If more than 10µs is acceptable and you still want to use a FreeRTOS task, use xTaskNotifyFromISR() in place of a queue, it's much faster. BTW, don't call portYieldFromISR unconditionally. You need to ...
If more than 10µs is acceptable and you still want to use a FreeRTOS task, use xTaskNotifyFromISR() in place of a queue, it's much faster. BTW, don't call portYieldFromISR unconditionally. You need to ...
- Tue Oct 09, 2018 4:37 pm
- Forum: ESP-IDF
- Topic: esp http client is too large
- Replies: 0
- Views: 3371
esp http client is too large
Currently, the default HTTP client in the component library is a monster. Instantiating it adds ~160kB of binary size when compiled with -Os (and this is likely multiplied 3x if using factory + 2 OTA partitions).
Looking at the code, it seems that it's using nghttp underneath and such library is a ...
Looking at the code, it seems that it's using nghttp underneath and such library is a ...