Page 1 of 1

How to specify the I2S port number with ESP Arduino core 3.x.x API?

Posted: Wed Oct 30, 2024 11:20 am
by copych
In 2.x.x it was a mandatory to specify the port number in most setting and operating functions, but in the new 3.x.x API I don't find where to specify if it is I2S0 or I2S1. Is it no longer possible at all, or do I have to use lower level access to specify the port number?

Re: How to specify the I2S port number with ESP Arduino core 3.x.x API?

Posted: Thu Oct 31, 2024 12:03 am
by ESP_Sprite
I'm not exactly sure about Arduino, but the new drivers in ESP-IDF automatically allocate a free I2S port when you initialize it; I imagine Arduino works the same.

Re: How to specify the I2S port number with ESP Arduino core 3.x.x API?

Posted: Thu Oct 31, 2024 10:40 am
by ESP_Me-no-dev
It automatically allocates an available port. No need to specify

Re: How to specify the I2S port number with ESP Arduino core 3.x.x API?

Posted: Thu Oct 31, 2024 5:54 pm
by copych
ESP_Sprite ESP_Me-no-dev thank you!