Search found 7 matches

by jmf111
Mon Jul 27, 2026 7:56 pm
Forum: Hardware
Topic: ESP32-P4 I2S Master - Issue with Alignment of data bits with bclk
Replies: 4
Views: 43

Re: ESP32-P4 I2S Master - Issue with Alignment of data bits with bclk

Hello,

Thanks for sharing your insight. The rx and tx are configured with the same i2s_std_config_t, but it contains dedicated pins for the in and out (rx and tx). So it looked OK to me:


i2s_std_config_t std_cfg = {
.clk_cfg = I2S_STD_CLK_DEFAULT_CONFIG(CONFIG_UAC_SAMPLE_RATE),
.slot_cfg = I2S ...
by jmf111
Sun Jul 26, 2026 4:36 pm
Forum: Hardware
Topic: ESP32-P4 I2S Master - Issue with Alignment of data bits with bclk
Replies: 4
Views: 43

Re: ESP32-P4 I2S Master - Issue with Alignment of data bits with bclk

I did some additional tests, re-activating the different i2s_rx setup:
- i2s_new_channel(&chan_cfg, &i2s_tx_handle,&i2s_rx_handle) => this does not creates an issue,
- i2s_channel_init_std_mode(i2s_rx_handle, &std_cfg) => There is an error when I try try to write using &i2s_tx_handle !!!! See ...
by jmf111
Sat Jul 25, 2026 1:11 pm
Forum: Hardware
Topic: ESP32-P4 I2S Master - Issue with Alignment of data bits with bclk
Replies: 4
Views: 43

Re: ESP32-P4 I2S Master - Issue with Alignment of data bits with bclk

Hello,

I did additional tests. In my code, based on the usb_device_uac component and example, I was initializing the rx channel of the i2s ( i2s_new_channel(&chan_cfg, &i2s_tx_handle,&i2s_rx_handle))). Then I was initializing it (i2s_channel_init_std_mode(i2s_rx_handle, &std_cfg)) and enabling it ...
by jmf111
Fri Jul 24, 2026 8:31 pm
Forum: Hardware
Topic: ESP32-P4 I2S Master - Issue with Alignment of data bits with bclk
Replies: 4
Views: 43

ESP32-P4 I2S Master - Issue with Alignment of data bits with bclk

Hello,
I'm working on a USB to I2S bridge targeting 32 bits x 8 channels and 96kHz. It is to be based on ESP components esp_codec_dev and usb_device_uac. First implementation with i2s 16 bits stereo is working with my Codec, but I don't have sound when I configure usb_device_uac with 32 bits samples ...
by jmf111
Fri May 15, 2026 7:50 pm
Forum: ESP IoT Solution
Topic: esp_device_uac limited to 16 bits samples ? Intention of extension ?
Replies: 0
Views: 42

esp_device_uac limited to 16 bits samples ? Intention of extension ?

Hello,

I'm working on a usb to i2s bridge based on esp32-P4, based on the esp_device_uac component. For this component, the samples bit depth seems fixed to 16 bits.
See tusb_config_uac.h : #define CFG_TUD_AUDIO_FUNC_1_FORMAT_1_RESOLUTION_TX 16

Would you know if there is an intention to extend ...
by jmf111
Sat Mar 21, 2026 8:39 am
Forum: ESP IoT Solution
Topic: esp_device_uac multichannel speaker working with Linux but not Windows
Replies: 1
Views: 151

Re: esp_device_uac multichannel speaker working with Linux but not Windows

The extra sample slot needed for Async feedback implementation for the EP maxsize is hard coded to +4 in the esp_device_uac code, which is OK for stereo but not for higher number of channels. Once addressed, Windows recognises the device.
by jmf111
Thu Mar 19, 2026 10:25 am
Forum: ESP IoT Solution
Topic: esp_device_uac multichannel speaker working with Linux but not Windows
Replies: 1
Views: 151

esp_device_uac multichannel speaker working with Linux but not Windows

I work on a USB to I2S_TDM bridge supporting 8 channels. The platform will be ESP32-P4.

I use the Espressif esp_device_uac component from ESP IoT Solutions (https://components.espressif.com/components/espressif/usb_device_uac), which relies on TinyUSB ^0.17.0~2 (TinyUSB last native version is 20.0 ...

Go to advanced search