-
Hi, Another newbie question: I want to implement I2S into my project using my ESP32-S2 board. What is the correct zephyr way to implement this? Do I need to:
Is there a quick & dirty method? (use the i2s driver from espressif? Although I see this depends on freertos) Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Zephyr drivers normally based on MCU's HAL, which provide necessary register wrapper to operate the MCU peripheral. For a quick fix, you can use that HAL directly. MCU HAL's located at But if you are not such hurry, implement the i2s driver based on Device Driver Model is a good choice. With standard driver, you can easily to get support from zephyr community, easy to maintaince, and so on. |
Beta Was this translation helpful? Give feedback.
-
Indeed, no support yet. A list of supported peripheral is here.
Yes, you would have to do both.
I would not recommend that. You may use the hal directly, but have in mind that this is not a public API and it may change without notice.
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the replies, my apologies for the very late response. FYI: Eventually I moved to ESP-IDF for the project. |
Beta Was this translation helpful? Give feedback.
Indeed, no support yet. A list of supported peripheral is here.
Yes, you would have to do both.
I would not recommend that. You may use the hal directly, but have in mind that this is not a public API and it may change without notice.
If you are in a hurry a…