Search found 10 matches

by Weskrauser
Tue May 21, 2024 2:17 pm
Forum: ESP32 Arduino
Topic: fatfs crashes after some time
Replies: 0
Views: 1850

fatfs crashes after some time

Hello!

I am currently working on sdio logging on SD card with esp32s3. I'm using platformio with :
- platform = espressif32 @ 6.6.0
- framework-arduinoespressif32 @ 3.20014.231204 (2.0.14)
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5

My system uses 2 buffers and one task per core for logging ...
by Weskrauser
Thu Jan 03, 2019 10:10 pm
Forum: ESP32 Arduino
Topic: [Solved]Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Replies: 4
Views: 39235

Re: Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)

@idahowalker : thanks for your answer!

I did that and confirm that these two lines are the cause of my pb ^^:

SerialSBUS.end();
delay(10);
SerialSBUS.begin(BaudRate, SERIAL_8E1, RX_Pin, TX_Pin);
delay(10);

I can not explain why but this is causing the wdt error if repeated, even with the delays ...
by Weskrauser
Wed Jan 02, 2019 8:19 pm
Forum: ESP32 Arduino
Topic: [Solved]Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Replies: 4
Views: 39235

Re: Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)

Hello,

I ran addr2line with the firmware.elf file:

xtensa-esp32-elf-addr2line -pfiaC -e firmware.elf 0x4008134c

It returned:
0x4008134c: _uart_isr at esp32-hal-uart.c:?

I think the problem is coming from this portion of code (because of "out of sync" uart buffer phenomenon that appears in ...
by Weskrauser
Tue Jan 01, 2019 5:13 pm
Forum: ESP32 Arduino
Topic: [Solved]Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Replies: 4
Views: 39235

[Solved]Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)

Hello,

I'm facing this problem that happens sometimes in a no repeatable way :? .
I use platformIO with arduino framework to write code for the esp32 and I am using the 2 cores. This problem occurs on CPU0 only, here is the backtrace:

Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout ...
by Weskrauser
Sun Jan 14, 2018 10:34 am
Forum: ESP32 Arduino
Topic: Odd hardware timer behavior
Replies: 1
Views: 4461

Re: Odd hardware timer behavior

Hello,

just to give an answer if someone is facing the same problem with timerRead:

-Use timer_get_counter_value instead of timerRead, it works perfectly!
by Weskrauser
Sun Jan 07, 2018 7:08 pm
Forum: ESP32 Arduino
Topic: Odd hardware timer behavior
Replies: 1
Views: 4461

Odd hardware timer behavior

Hello,

I tried to use built in 64 bits hardware timers to measure pulse width inside interrupts using following method:

Pseudo code:


timer = timerBegin(0, 80, true);
attach interrupt RISING;

rising_interrupt() {
t_now = timerRead(timer);
attach interrupt FALLING;
}

falling_interrupt ...
by Weskrauser
Sun Sep 24, 2017 9:58 am
Forum: ESP32 Arduino
Topic: DMA to GPIO for generating dshot signal
Replies: 7
Views: 19267

Re: DMA to GPIO for generating dshot signal

Hello,

thx again for your answer ESP_igrr, I tried the loop mode, it now works a lot better without the 144ms delay and with a correct delay of 6us between frames which is excellent. This is exacttly what I need for my use!

I've got only one problem remaining:

-With random frequency, frames ...
by Weskrauser
Sun Sep 17, 2017 3:34 pm
Forum: ESP32 Arduino
Topic: DMA to GPIO for generating dshot signal
Replies: 7
Views: 19267

Re: DMA to GPIO for generating dshot signal

Hello,

I used RMT to generate the signal and the result is strange:

-Signal frames are generated precisly and correctly -> Good :D
-Unexplicable 35us delay between frames -> Not good :shock:
-Huge delay of 140 ms that seems like a reset or something like that... -> Not good at all :oops:

Here ...
by Weskrauser
Sat Sep 09, 2017 10:16 am
Forum: ESP32 Arduino
Topic: DMA to GPIO for generating dshot signal
Replies: 7
Views: 19267

Re: DMA to GPIO for generating dshot signal

Hi ESP_igrr,

thx for your reply! It looks like a great feature that I didn't know... perhaps because of its name^^. I'll try too investigate this way!
by Weskrauser
Thu Sep 07, 2017 9:05 pm
Forum: ESP32 Arduino
Topic: DMA to GPIO for generating dshot signal
Replies: 7
Views: 19267

DMA to GPIO for generating dshot signal

Hello everyone,

I'm new to esp32 and I can not find simple examples that could help me to generate a dshot signal using DMA to GPIO transfers.

The dshot protocol is digital protocol to comunicate with ESC used to drive quadcopter motors for example:

https://www.rcgroups.com/forums/showatt.php ...

Go to advanced search