Search found 10 matches
- Fri Aug 30, 2024 7:16 am
- Forum: Hardware
- Topic: Custom ESP32-C3 board bring-up problem
- Replies: 4
- Views: 1843
Re: Custom ESP32-C3 board bring-up problem
So far no luck. I've tried to change the crystal capacitors 15pF, 10pF - nothing. On other MCUs, I can sense the clock just with a loop above the crystal; here, it's flat. Since my signal generator goes up to 10MHz only, I configured an STM32 to output 40MHz on its MCO (the frequency and voltage lev...
- Thu Aug 29, 2024 6:59 am
- Forum: Hardware
- Topic: Custom ESP32-C3 board bring-up problem
- Replies: 4
- Views: 1843
Re: Custom ESP32-C3 board bring-up problem
Thank you for your reply. I will edit my post as soon as I check the U0TXD signals. Regarding the capacitor, yes, that value seemed a bit high to me, but I was using a 40MHz Crystal from LCSC that I had at hand (C5917310), which stated that the maximum load capacitance is 15pF. According to C = 2(CL...
- Wed Aug 28, 2024 9:13 am
- Forum: Hardware
- Topic: Custom ESP32-C3 board bring-up problem
- Replies: 4
- Views: 1843
Custom ESP32-C3 board bring-up problem
Hello everyone! I've used ESPs since the venerable ESP8266, but only as pre-built modules. I wanted to design an ESP32-C3 WiFi solid-state relay (I've attached the schematic and the PCB file). So far, everything except the power electronics is populated. I've measured the pins of the ESP32 using a m...
- Tue Mar 26, 2019 4:01 pm
- Forum: ESP-IDF
- Topic: Please help me with ESP32 Guru meditation error core 0
- Replies: 17
- Views: 27393
Re: Please help me with ESP32 Guru meditation error core 0
Just guessing here, as I'm not that familiar with the mqtt code, but are you sure the topic and data are zero-terminated? If not, the strcpy will copy lots of bytes, overwriting lots of static data. This was the problem. I've replaced the strcpy(str_topic, event->topic); strcpy(str_data, event->dat...
- Mon Mar 25, 2019 10:16 am
- Forum: ESP-IDF
- Topic: Please help me with ESP32 Guru meditation error core 0
- Replies: 17
- Views: 27393
Re: Please help me with ESP32 Guru meditation error core 0
It is not zero terminated - or at least the payload is certainly not. When I send the data "todev/flags" from node-red, the esp32 sees it as a char array of length 11. That is why I had to compare it to the string shown in the previous reply, but I've used strncmp for the most part. Are you saying t...
- Thu Mar 21, 2019 2:24 pm
- Forum: ESP-IDF
- Topic: Please help me with ESP32 Guru meditation error core 0
- Replies: 17
- Views: 27393
Re: Please help me with ESP32 Guru meditation error core 0
The strings are global variables .
- char str_data[5], str_topic[11];
- char flag_topic[11] = {'t','o','d','e','v','/','f','l','a','g','s'};
- char ref_topic[9] = {'t','o','d','e','v','/','r','e','f'};
- Thu Mar 21, 2019 10:59 am
- Forum: ESP-IDF
- Topic: Please help me with ESP32 Guru meditation error core 0
- Replies: 17
- Views: 27393
Re: Please help me with ESP32 Guru meditation error core 0
I've done some other tests in the meanwhile. The error message said it was a panic on core 0, so I've used xTaskCreatePinnedToCore instead of xTascCreate , so the timer thread would be on core 1 - same core 0 panic. Next I've commented out the timer routines, so only the mqtt was present - same core...
- Wed Mar 20, 2019 5:09 pm
- Forum: ESP-IDF
- Topic: Please help me with ESP32 Guru meditation error core 0
- Replies: 17
- Views: 27393
Re: Please help me with ESP32 Guru meditation error core 0
First of all, thank you for the great starter ideas. Unfortunately PlatformIO does not support any kind of message decoding at the moment, but as I've said, I've ported the code to Linux/esp-idf, with the suggested options. Since so far I've been only using FT2232 JTAG debug method, would you be so ...
- Tue Mar 19, 2019 5:20 pm
- Forum: ESP-IDF
- Topic: Please help me with ESP32 Guru meditation error core 0
- Replies: 17
- Views: 27393
Re: Please help me with ESP32 Guru meditation error core 0
I will try the decode the backtrace. If the PIO won't let it, I'll do it in esp-idf, because porting this project is only copying the files to another folder. Either way, I'll edit this comment with the results.
- Mon Mar 18, 2019 6:42 pm
- Forum: ESP-IDF
- Topic: Please help me with ESP32 Guru meditation error core 0
- Replies: 17
- Views: 27393
Please help me with ESP32 Guru meditation error core 0
Hello everyone, my name is Fehér Áron. I've been working with the ESP32 for nearly a year, but this is my first larger project. I've designed a seesaw, and I want to control it, and monitor the variables on the PC. On the ESP side i'm using a timer interrupt to read the values from an MPU6050 IMU, a...