Search found 11 matches

by LuvKira
Thu Dec 21, 2023 7:00 am
Forum: General Discussion
Topic: I can't send a broadcast message using UDP socket
Replies: 0
Views: 2056

I can't send a broadcast message using UDP socket

I'm using an ESP32-C3 configured to work as a Wifi station. To send a message to any IP, I used the "sendto" function that returns the length of the sent data. First, I try to send a UDP message to a device in the same network. It was successful. However, some interesting things happened when I use...
by LuvKira
Tue Dec 05, 2023 9:40 am
Forum: General Discussion
Topic: Error when ESP32C3 works as I2S slave
Replies: 0
Views: 4860

Error when ESP32C3 works as I2S slave

My project used a CODEC device works with BCLK 3.072 MHz, WS 16 kHz, i2s master role, 16-bit data word length, no gain and right justified digital audio input format. I configured ESP32-C3 works as an I2S slave, Standard Mode MSB format and its pins is connected to the corresponding pins of the CODE...
by LuvKira
Tue Dec 05, 2023 8:25 am
Forum: General Discussion
Topic: Does "Flash Download Tool" support firmware loading via half-duplex UART communication ?
Replies: 4
Views: 3764

Re: Does "Flash Download Tool" support firmware loading via half-duplex UART communication ?

Hello, I am currently evaluating, if it is possible to pass the UART stream through a CAN PHY . There is no result yet, but some concerns and I need to dig deeper. There are two main concerns i have: 1. the "TxD permanent dominant" protection of the CAN PHY, which will kick in after ~1ms tx-low, re...
by LuvKira
Thu Sep 28, 2023 3:51 am
Forum: General Discussion
Topic: Can't use httpd_ws_frame_t structure in ESP32-C3
Replies: 2
Views: 3871

Can't use httpd_ws_frame_t structure in ESP32-C3

I have an ESP32-C3 project. Even though I have defined the esp_http_server header file and enabled CONFIG_HTTPD_WS_SUPPORT, the ESP-IDE still returns the following message: "Type 'httpd_ws_frame_t' could not be resolved". How can i fix it ? Here's what i included in my project : #include "stdio.h" #...
by LuvKira
Tue Sep 26, 2023 7:09 am
Forum: General Discussion
Topic: How can I do to fix the auto-resetting issue in esp32c3 configured as an AP ?
Replies: 4
Views: 1829

Re: How can I do to fix the auto-resetting issue in esp32c3 configured as an AP ?

PANIC means a software error. As I said, enable core dumps to flash to have the ESP32 save its state when it crashes; you can read those crash dumps after the fact and get a backtrace of where exactly things went wrong. In Guru Meditation Error Message, it said that Instruction access fault. I foun...
by LuvKira
Mon Sep 25, 2023 3:00 am
Forum: General Discussion
Topic: How can I do to fix the auto-resetting issue in esp32c3 configured as an AP ?
Replies: 4
Views: 1829

Re: How can I do to fix the auto-resetting issue in esp32c3 configured as an AP ?

You could try enabling saving core dumps to flash; if the source is something in software that may be able to catch it. Thanks for your response. I used esp_reset_reason function to detect the reset reason in the last operation. It returned ESP_RST_PANIC value. However, i can't find out any way to ...
by LuvKira
Mon Sep 25, 2023 2:08 am
Forum: General Discussion
Topic: How can I do to fix the auto-resetting issue in esp32c3 configured as an AP ?
Replies: 4
Views: 1829

How can I do to fix the auto-resetting issue in esp32c3 configured as an AP ?

I have a project that uses ESP32-C3 configured as a Wi-Fi AP and HTTP server. It happened rarely, but ESP32-C3 has auto-reseted a few times. I thought that it might be caused by the watchdog time-out. However, I increased the watchdog time-out, and it still reset automatically sometimes. I checked P...
by LuvKira
Mon Jul 17, 2023 8:31 am
Forum: General Discussion
Topic: How to measure receiver sensitivity of ESP32-C3 acting as an accesspoint ?
Replies: 0
Views: 851

How to measure receiver sensitivity of ESP32-C3 acting as an accesspoint ?

Hello! I configured ESP32-C3 to act as an access point and an HTTP server. I want to measure the receiver sensitivity of it. I found ESP RF Test Tool on Espressif Website, which seems helpful. However, ESP RF Test Guide says the tool needs an RF tester to work. Is there another way to use ESP RF Tes...
by LuvKira
Mon Jul 17, 2023 6:43 am
Forum: General Discussion
Topic: Does "Flash Download Tool" support firmware loading via half-duplex UART communication ?
Replies: 4
Views: 3764

Re: Does "Flash Download Tool" support firmware loading via half-duplex UART communication ?

Full-duplex is probably in use because it's the default that most people have. The protocol itself is request-response, so I don't think there's anything stopping it from working on a half-duplex connection. The serial protocol is defined here but be mindful that esptool.py uploads a custom stub to...
by LuvKira
Mon Jul 17, 2023 5:22 am
Forum: General Discussion
Topic: Does "Flash Download Tool" support firmware loading via half-duplex UART communication ?
Replies: 4
Views: 3764

Does "Flash Download Tool" support firmware loading via half-duplex UART communication ?

I have a development project which uses ESP32-C3. Now, I want to flash firmware for it. I found Flash Download Tool loads firmware via a USB cable. It seems to use full-duplex UART communication. I want my project to load firmware via half-duplex UART communication without a USB cable. Does the tool...