Search found 22 matches

by floitsch_toit
Tue Aug 27, 2024 11:57 am
Forum: ESP-IDF
Topic: Where is Path specified??????????
Replies: 2
Views: 497

Re: Where is Path specified??????????

https://docs.espressif.com/projects/esp ... le-project
Alternatively, EXTRA_COMPONENT_DIRS can be set in the top-level CMakeLists.txt to look for components in other places.
by floitsch_toit
Tue Aug 27, 2024 10:42 am
Forum: ESP-IDF
Topic: ESP32-S3 PWM at low (50Hz) frequency
Replies: 0
Views: 399

ESP32-S3 PWM at low (50Hz) frequency

We are trying to generate a PWM of ~50Hz on an ESP32-S3.

Is there a way to configure the LEDC for such a low frequency?
If not, which other peripherals are best suited for this task?
by floitsch_toit
Sun Jun 23, 2024 1:14 pm
Forum: ESP-IDF
Topic: esp_wifi_deinit fails with error 0x3014
Replies: 3
Views: 858

Re: esp_wifi_deinit fails with error 0x3014

Did you stop the WiFi before trying to deinit?
We generally only call `stop` if we got an event that the WiFi was started. Maybe we didn't get that event, or there is a race condition.
I will look into that.
by floitsch_toit
Thu Jun 20, 2024 7:42 pm
Forum: ESP-IDF
Topic: esp_wifi_deinit fails with error 0x3014
Replies: 3
Views: 858

esp_wifi_deinit fails with error 0x3014

I have some code that has a weird error after it couldn't establish a connection. It gets error 0x3014 when trying to deinit. So far I have only seen this error with the ESP32S3. E (3697) wifi_init: Failed to deinit Wi-Fi driver (0x3014) The error code reference seems to indicate that this error is ...
by floitsch_toit
Wed Jan 31, 2024 12:39 pm
Forum: ESP-IDF
Topic: pro cpu reset by JTAG
Replies: 7
Views: 1861

Re: pro cpu reset by JTAG

Are you using the USB-JTAG-Serial for monitoring?
No. We use the serial port's TX (pin 43 iirc).
by floitsch_toit
Tue Jan 30, 2024 4:26 pm
Forum: ESP-IDF
Topic: pro cpu reset by JTAG
Replies: 7
Views: 1861

pro cpu reset by JTAG

One of our projects uses an ESP32S3. Sometimes we see the message `pro cpu reset by JTAG` during boot, and the device then stops shortly after. It manages to execute some instructions but it runs less than a second. This is semi-reproducible. If we wake up from sleep it happens maybe once every 20? ...
by floitsch_toit
Tue Jan 16, 2024 7:28 am
Forum: ESP-IDF
Topic: monitor baud rate
Replies: 0
Views: 18693

monitor baud rate

According to https://github.com/espressif/esp-idf/blob/master/docs/en/migration-guides/release-5.x/5.0/tools.rst esp-idf monitor now uses the custom console baud-rate (CONFIG_ESP_CONSOLE_UART_BAUDRATE) by default instead of 115200. I looked through the sources and couldn't find how it was doing that...
by floitsch_toit
Thu Sep 21, 2023 11:39 am
Forum: ESP IoT Solution
Topic: qemu crash when deep sleeping
Replies: 0
Views: 27926

qemu crash when deep sleeping

Is the ESP32 Qemu build supposed to be able to simulate a deep sleep? When I call 'esp_sleep_start' I get the following crash: Guru Meditation Error: Core 0 panic'ed (LoadStorePIFAddrError). Exception was unhandled. Core 0 register dump: PC : 0x40097560 PS : 0x00060a33 A0 : 0x80088c1f A1 : 0x3ffbbe5...
by floitsch_toit
Thu Aug 10, 2023 2:58 pm
Forum: General Discussion
Topic: More Toit tutorials
Replies: 0
Views: 1419

More Toit tutorials

Another batch of tutorials for the Toit language have been published today.

The new tutorials cover:
- OTA
- Supabase
- AWS MQTT
- HTTP (file) server
- Toit Services

Enjoy!
by floitsch_toit
Wed Jul 12, 2023 10:47 am
Forum: ESP-IDF
Topic: Crash when using WiFi after ESP Now [solved]
Replies: 1
Views: 1456

Re: Crash when using WiFi after ESP Now

Looks like we were missing a call to 'esp_wifi_stop'. That is, we were calling 'esp_wifi_start' for the espnow part of our program; then shutting down espnow (but missing the 'esp_wifi_stop'), followed by calling 'esp_wifi_start' again in the WiFi part of our program. We now call 'esp_wifi_stop' whe...