Hi Adafruit ppl,
I just purchased several I2S Stereo Decoder boards: https://www.adafruit.com/product/3678
It sounds great but.... I noticed that my Left / Right channels are swapped when listening with the breakout board headphone socket.
I am driving it from and ESP32 and checked its configuration which is shown below:
My question is what format does the Adafruit I2S breakout board expect ? (LRCLK low for left? or high for left ?)
Thanks,
--- ESP32 I2S configuration ---
(There is no I2S_CHANNEL_FMT_LEFT_RIGHT in case you are wondering, only LEFT or RIGHT channel only)
I do not appear to be able to switch the LRCLK phase or channel format in code.
m_i2s_num = I2S_NUM_0; // i2s port number
m_i2s_config.sample_rate = 16000;
m_i2s_config.bits_per_sample = I2S_BITS_PER_SAMPLE_16BIT;
m_i2s_config.channel_format = I2S_CHANNEL_FMT_RIGHT_LEFT;
m_i2s_config.intr_alloc_flags = ESP_INTR_FLAG_LEVEL1; // high interrupt priority
m_i2s_config.dma_buf_count = 8; // max buffers
m_i2s_config.dma_buf_len = 1024; // max value
m_i2s_config.use_apll = APLL_DISABLE; // must be disabled in V2.0.1-RC1
m_i2s_config.tx_desc_auto_clear = true; // new in V1.0.1
m_i2s_config.fixed_mclk = I2S_PIN_NO_CHANGE;