Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2S full duplex #2

Open
nerodu opened this issue Mar 2, 2022 · 1 comment
Open

I2S full duplex #2

nerodu opened this issue Mar 2, 2022 · 1 comment

Comments

@nerodu
Copy link

nerodu commented Mar 2, 2022

Hi,
I'm also working on the I2S of RP2040. But I can not find suitable Arduino library until find yours. Do you have any plan to add TX for full duplex? And if possible, I advise to use interrupt to detect the data transformation with callback register api for upper layer. Thanks.

@giampiero7
Copy link
Member

Hi,
Thanks for your inputs!
The plan is to create a common I2S C code-base to be integrated in the pico SDK, to be then wrapped in the Arduino and MicroPython libraries.
Initially the functionalities will be those of the current MicroPython module this repo is based on:
https://github.com/micropython/micropython/blob/master/ports/rp2/machine_i2s.c
which supports TX as well as non-blocking (with callback) and uasyncio modes.
Of course, you are very welcome to contribute!

Ciao,
G

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants