Open Kingwulin opened 2 years ago
Hi @Kingwulin , Thanks for the report. Could you provide more descriptions of how they put together? Do you mean allocate both tx and rx channel on a same port meanwhile adopt different configurations? For the current driver, the tx and rx channels on ESP32 and ESP32S2 shares some register, so they are only allowed to using same configuration on a same port or different configurations on different ports. But yes, the tx and rx channel on ESP32C3 and ESP32S3 are separate, they support using different configurations on a same port, however, due to the limitation of the legacy driver, this is not supported for now, but will support while IDF v5.0 release. A brand new I2S driver will come out at that time.
I want to use two i2s port,one as rx and another as tx But it is found that the two can work normally when they are separated, but the crash occurs when they are put together.
below is code: