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

copych
Posts: 19
Joined: Tue Mar 07, 2023 6:04 pm

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

Postby copych » Wed Oct 30, 2024 11:20 am

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?

ESP_Sprite
Posts: 9692
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Thu Oct 31, 2024 12:03 am

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.

Who is online

Users browsing this forum: No registered users and 45 guests