Search found 7 matches

by _K00CT_
Wed Sep 13, 2023 8:57 am
Forum: ESP-IDF
Topic: Error (ESP_ERR_NVS_PART_NOT_FOUND) when opening a custom NVS partition
Replies: 2
Views: 1728

Re: Error (ESP_ERR_NVS_PART_NOT_FOUND) when opening a custom NVS partition

Solved Thank you MicroController for your response! I have revisited my code to try your suggestion and found the actual cause of the problem. I should have shared more code in my original post because the error was actually being generated just a couple of lines down! Here was my mistake: // Open ...
by _K00CT_
Wed Sep 06, 2023 9:59 am
Forum: ESP-IDF
Topic: Error (ESP_ERR_NVS_PART_NOT_FOUND) when opening a custom NVS partition
Replies: 2
Views: 1728

Error (ESP_ERR_NVS_PART_NOT_FOUND) when opening a custom NVS partition

Hi there I am running the example https://github.com/espressif/esp-idf/tree/62ee4135e0/examples/storage/nvs_rw_value on an ESP32. When I use the default NVS storage (partition: "nvs") the code works as expected. When I try to use a custom partition, the device runs into the error ESP_ERR_NVS_PART_NO...
by _K00CT_
Wed Aug 16, 2023 2:27 pm
Forum: ESP-IDF
Topic: Include RMT peripheral API in custom component.
Replies: 2
Views: 1046

Re: Include RMT peripheral API in custom component.

Thank you! Solved :)
by _K00CT_
Tue Aug 15, 2023 3:00 pm
Forum: ESP-IDF
Topic: Include RMT peripheral API in custom component.
Replies: 2
Views: 1046

Include RMT peripheral API in custom component.

Hi there. I have used the base template to create an empty IDF project. (working in VS Code) I then created a component, called LedDriver. This is going to communicate with a serial LED using the RMT peripheral. In the header file I have written #include "driver/rmt_tx.h" My component CMakeLists.txt...
by _K00CT_
Wed Aug 02, 2023 1:27 pm
Forum: ESP-IDF
Topic: ESP32: which hardware timers are occupied by freertos
Replies: 5
Views: 5315

Re: ESP32: which hardware timers are occupied by freertos

I am trying to familiarise myself with the FreeRTOS config via the 'idf.py menuconfig' tool. When I navigate to "Component config > FreeRTOS > Port > Tick timer source (Xtensa Only)", I am presented with two options: (X) Timer 0 (int 6, level 1) ( ) Timer 1 (int 15, level 3) Apparently, I must have ...
by _K00CT_
Fri Feb 24, 2023 7:30 am
Forum: ESP-IDF
Topic: UART Peripheral Interrupts
Replies: 3
Views: 2233

Re: UART Peripheral Interrupts

The reason is that the driver already uses that interrupt to handle the blocking read and write calls. Also note that queue reads are not 'polled'; the RTOS suspends the reading task until something (e.g. the UART interrupt) pushes something onto it, at which point (dependent on priority) it immedi...
by _K00CT_
Thu Feb 23, 2023 9:30 am
Forum: ESP-IDF
Topic: UART Peripheral Interrupts
Replies: 3
Views: 2233

UART Peripheral Interrupts

I want to execute an interrupt every time the UART peripheral finishes sending all the bytes in the TX buffer. I know I can use an event queue to receive an event when this occurs, but for my application, I need to trigger an interrupt routine immediately, rather than poll a queue. I have written th...