Search found 11 matches

by PCRiscV
Thu Jun 13, 2024 4:44 pm
Forum: Hardware
Topic: UDP audio streaming over WiFi
Replies: 1
Views: 1050

UDP audio streaming over WiFi

Hello, I am trying to stream full duplex audio between an ESP32S3 (Adafruit Metro board) and a remote computer, for now a Raspberry PI. I can send UDP audio packets from the Raspberry PI to the ESP32 over WiFi. I send a packet every 10 ms, capture it on the ESP32 and push it to the I2S bus to be pla...
by PCRiscV
Fri Apr 19, 2024 1:44 pm
Forum: ESP32 Arduino
Topic: Serial.print on Adafruit ESP32S3 Metro board
Replies: 5
Views: 2281

Re: Serial.print on Adafruit ESP32S3 Metro board

If I define: target_compile_options(${COMPONENT_TARGET} PUBLIC -DARDUINO=10812 -DARDUINO_${idf_target_for_macro}_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD="${idf_target_caps}_DEV" -DARDUINO_VARIANT="${CONFIG_ARDUINO_VARIANT}" -DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_USB_MODE=0 -DESP32) Then I get compil...
by PCRiscV
Fri Apr 19, 2024 12:08 pm
Forum: ESP32 Arduino
Topic: Serial.print on Adafruit ESP32S3 Metro board
Replies: 5
Views: 2281

Re: Serial.print on Adafruit ESP32S3 Metro board

Ok that's easy to do. Do I define the macro before the call to initArduino, or should the #define be used to compile the whole component? When looking at HardwareSerial.h it looks like the define are needed when compiling the components. Thanks #if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL...
by PCRiscV
Thu Apr 18, 2024 1:22 pm
Forum: ESP32 Arduino
Topic: Serial.print on Adafruit ESP32S3 Metro board
Replies: 5
Views: 2281

Re: Serial.print on Adafruit ESP32S3 Metro board

Thanks, I see that but I am trying to build my app with the IDF tools (Arduino is installed as a component) but I cannot find the right setting. I get the expected result if I use the Arduino IDE, I get the expected results.

Thanks
by PCRiscV
Wed Apr 17, 2024 9:58 pm
Forum: ESP32 Arduino
Topic: Serial.print on Adafruit ESP32S3 Metro board
Replies: 5
Views: 2281

Serial.print on Adafruit ESP32S3 Metro board

I am using Arduino as an IDF component and I am able to run code on the Metro board. I can see the ESP_LOGx messages in the "idf.py monitor" window, but I am not seeing the Serial.print() output? Where is Serial configured. I would like the Serial.print to go to the USB out, same as ESP_LOG. Thanks
by PCRiscV
Thu Feb 01, 2024 11:56 am
Forum: ESP-IDF
Topic: Thread Border Router
Replies: 0
Views: 886

Thread Border Router

I am trying to implement the Thread Border Router (https://docs.espressif.com/projects/esp-thread-br/en/latest/dev-guide/build_and_run.html) When I run my code, this is the output I get from my esp32s3 chip: I (4978) RCP_UPDATE: RCP: using update sequence 0 I (4978) OPENTHREAD: spinel UART interface...
by PCRiscV
Tue Jan 30, 2024 1:23 pm
Forum: ESP-IDF
Topic: openthread/ot_br
Replies: 0
Views: 612

openthread/ot_br

Hello, I am trying to run the code (esp-idf/examples/openthread /ot_br/) on an ESP32S3 (Wroom) board. I believe configure everything right based on the Readme file. This is the output I get when I do 'idf.py monitor' ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x1 (POWERON),boot:0x2a (SPI_FAST_FL...
by PCRiscV
Fri Jan 12, 2024 11:55 am
Forum: Hardware
Topic: I2S callback events
Replies: 2
Views: 32053

Re: I2S callback events

v5.0.2
by PCRiscV
Thu Jan 11, 2024 11:10 pm
Forum: Hardware
Topic: I2S callback events
Replies: 2
Views: 32053

I2S callback events

On my ESP32S3, I am registered a callback function to get my audio data. I use 32 bit stereo at 48 kHz, with 10 ms blocks. The size member of the i2s_event_data_t structure is always 3840 which is 480*2*4. This is good. I do not understand the data pointer. When I dump what is pointed to by data ass...
by PCRiscV
Thu Jan 11, 2024 10:36 pm
Forum: Hardware
Topic: ESP32S3 (WROOM) I2S question
Replies: 3
Views: 23199

Re: ESP32S3 (WROOM) I2S question

You are right! My mistake. I fixed my wiring and everything looks good on the logic analyzer.
Sorry about that.