Search found 9 matches

by ihabawad
Tue Mar 12, 2024 5:47 am
Forum: ESP-IDF
Topic: ESP32-S3 log to non-default UART pins
Replies: 2
Views: 740

Re: ESP32-S3 log to non-default UART pins

Thank you!!

Ihab
by ihabawad
Tue Mar 12, 2024 5:01 am
Forum: ESP-IDF
Topic: ESP32-S3 log to non-default UART pins
Replies: 2
Views: 740

ESP32-S3 log to non-default UART pins

Greetings, I am using ESP-IDF with an Adafruit Qt Py ESP32-S3, which has the following pinouts: https://cdn-learn.adafruit.com/assets/assets/000/117/412/original/adafruit_products_Adafruit_QT_Py_ESP32-S3_Pinout_updated.png I would like to redirect the standard ESP_LOGI logging and other console outp...
by ihabawad
Sat Jan 20, 2024 7:21 pm
Forum: ESP-IDF
Topic: Please help me debug USB descriptors
Replies: 1
Views: 863

Re: Please help me debug USB descriptors

Here are some more results, isolated for clarity. Note that, in the code, I am merely commenting out certain areas, and changing the number of interfaces, to clarify what is being changed. My question is, if Case A and Case B work, then why does Case C not work? CASE A: ONE HID INTERFACE (works corr...
by ihabawad
Sat Jan 20, 2024 2:06 am
Forum: ESP-IDF
Topic: Please help me debug USB descriptors
Replies: 1
Views: 863

Please help me debug USB descriptors

Greetings folks, I am trying to set up an ESP32-S3 as a USB *device* with the following interfaces: * USB HID * USB CDC I looked through the examples and did my best, and the result is the attached program. When I connect this to my Ubuntu Linux system, and run "usb-devices", I get the following: S:...
by ihabawad
Thu Aug 17, 2023 4:48 pm
Forum: ESP32 Arduino
Topic: Bursty UDP traffic from ESP32-C3
Replies: 7
Views: 1918

Re: Bursty UDP traffic from ESP32-C3

I tried some more experiments and found that the behavior is to some extent dependent on the receiving Wi-Fi adapter. I tried receiving the UDP packets on my laptop using the built-in adapter versus a USB Wi-Fi dongle, and in some cases (though the results were inconsistent), I received properly spa...
by ihabawad
Thu Aug 17, 2023 2:15 am
Forum: ESP32 Arduino
Topic: Bursty UDP traffic from ESP32-C3
Replies: 7
Views: 1918

Re: Bursty UDP traffic from ESP32-C3

Well, I'm at home with my home Wi-Fi and perhaps other people's as well. Huh. Ok, let me see if I can get some time in the RF chamber at work and I'll report back.

Ihab
by ihabawad
Thu Aug 17, 2023 1:45 am
Forum: ESP32 Arduino
Topic: Bursty UDP traffic from ESP32-C3
Replies: 7
Views: 1918

Re: Bursty UDP traffic from ESP32-C3

I just tried it -- ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_AP)); ESP_ERROR_CHECK(esp_wifi_set_config(WIFI_IF_AP, &wifi_config)); ESP_ERROR_CHECK(esp_wifi_start()); ESP_ERROR_CHECK(esp_wifi_set_ps(WIFI_PS_NONE)); The result is as below. No difference. Ihab without-powersave-log.png
by ihabawad
Wed Aug 16, 2023 2:56 am
Forum: ESP32 Arduino
Topic: Bursty UDP traffic from ESP32-C3
Replies: 7
Views: 1918

Re: Bursty UDP traffic from ESP32-C3

Greetings again folks, I have rewritten my example using ESP-IDF -- without Arduino -- and had the same results. Below is the logarithmic plot of inter-packet times. I have also attached a ZIP file of my code. The main section of code is also below. This is a critical issue for my application. I am ...
by ihabawad
Sun Aug 13, 2023 1:57 am
Forum: ESP32 Arduino
Topic: Bursty UDP traffic from ESP32-C3
Replies: 7
Views: 1918

Bursty UDP traffic from ESP32-C3

Greetings! I am using an ESP32-C3 with the attached short ESP32 Arduino program, which is a minimal repro of my application. I expect that the program should send one packet every 50 ms. What I see, running Wireshark on a computer on the same Wi-Fi network, is that the traffic is "bursty". Attached ...