Search found 5 matches

by fanfanlatulipe26
Mon May 05, 2025 11:41 am
Forum: ESP-IDF
Topic: random assert failed: xQueueReceive queue.c:1540 RMT ESP-NOW
Replies: 2
Views: 104

Re: random assert failed: xQueueReceive queue.c:1540 RMT ESP-NOW

I will check my code an other time..
I also investigated the power supply: nothing conclusive.
The crash is random in time, but always at the same place / same message. And when it happens it is very likely that it repeat every 15 / 20s. But this may happens after 20mins of run, with the same ...
by fanfanlatulipe26
Fri May 02, 2025 11:55 am
Forum: ESP-IDF
Topic: random assert failed: xQueueReceive queue.c:1540 RMT ESP-NOW
Replies: 2
Views: 104

random assert failed: xQueueReceive queue.c:1540 RMT ESP-NOW

I have the following random crash, on an ESP32C3 sometimes after several minutes of perfect results
assert failed: xQueueReceive queue.c:1540 (!( ( xTaskGetSchedulerState() == ( ( BaseType_t ) 0 ) ) && ( xTicksToWait != 0 ) )
followed by registers + stackdump.

Unfortunately it is difficult to ...
by fanfanlatulipe26
Sat Apr 05, 2025 7:26 am
Forum: ESP-IDF
Topic: RMT: stopping an rmt_transmit in infinite loop transmit mode
Replies: 0
Views: 86

RMT: stopping an rmt_transmit in infinite loop transmit mode

I have rmt_transmit ongoing , sending always the same pattern ( loop count = -1 in the transmit configuration)
Now and then I need to change the pattern but only when the previous pattern is fully transmited.

The transmit is stopped by rmt disable() but it seems that the transmit is stopped ...
by fanfanlatulipe26
Fri Jul 07, 2023 3:26 pm
Forum: ESP32 Arduino
Topic: ESP32 timer and hw_timer_t timer structure
Replies: 2
Views: 2387

Re: ESP32 timer and hw_timer_t timer structure

Perfectly clear. Thank You for the explanation.
by fanfanlatulipe26
Tue Jul 04, 2023 1:06 pm
Forum: ESP32 Arduino
Topic: ESP32 timer and hw_timer_t timer structure
Replies: 2
Views: 2387

ESP32 timer and hw_timer_t timer structure

A classical way to setup a timer is for eample

hw_timer_t *My_timer = NULL;

My_timer = timerBegin(0, 80, true);
timerAttachInterrupt(My_timer, &onTimer, true);
timerAlarmWrite(My_timer, 1000000, true);
timerAlarmEnable(My_timer);

If this code is in a small init function, do we need to declare ...

Go to advanced search