figured out config for lyrat mini v1.2
Posted: Sun Mar 23, 2025 10:57 pm
esp-adf only has a board config for the mini v1.1 board. Turns out it works for v1.2 too. However, the passthrough app doesn't work because this board has different codecs (on differnet i2s ports) for input & ouput. (weird)
I changed the stream configs in passthru and it now works:
i2s_stream_cfg_t i2s_cfg_read = I2S_STREAM_CFG_DEFAULT_WITH_PARA(I2S_NUM_1, 44100, I2S_DATA_BIT_WIDTH_16BIT, AUDIO_STREAM_READER);
i2s_stream_cfg_t i2s_cfg_write = I2S_STREAM_CFG_DEFAULT_WITH_PARA(I2S_NUM_0, 44100, I2S_DATA_BIT_WIDTH_16BIT, AUDIO_STREAM_WRITER);
I changed the stream configs in passthru and it now works:
i2s_stream_cfg_t i2s_cfg_read = I2S_STREAM_CFG_DEFAULT_WITH_PARA(I2S_NUM_1, 44100, I2S_DATA_BIT_WIDTH_16BIT, AUDIO_STREAM_READER);
i2s_stream_cfg_t i2s_cfg_write = I2S_STREAM_CFG_DEFAULT_WITH_PARA(I2S_NUM_0, 44100, I2S_DATA_BIT_WIDTH_16BIT, AUDIO_STREAM_WRITER);