-
Notifications
You must be signed in to change notification settings - Fork 463
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
Bidirectional TDM Support #2843
Bidirectional TDM Support #2843
Conversation
Haven't tried it yet, but thanks! For the pio->h conversion, it looks like you ran an old pioasm executable, hence the missing field in the generated structures. We ship a cli pioasm as part of the tools install here, you'll find it same spot as the other exes like gcc and openocd. |
69e0930
to
4d19495
Compare
Ok @earlephilhower done. This is tested and working on an RP2350 hooked up to an AK4619 codec. Hopefully this is helpful to other folks who want to use codecs like this AsahiKASEI one or those Cirrus Logic codecs that are so popular. Let me know if there's anything additional I can do to make sure this PR is ready to be merged in, and thanks for the prompt response earlier! I appreciate it. |
CI failure needs the formatting fixes shown in the diff. If you can run |
Adding support for bidirectional TDM support. Sets are on falling BCLK to maintain consistency with other TDM/I2S code here, and TDM implementation assumes that this is I2S-compatible TDM.
Tested all four channels working on AK4619 4i4o codec with the following register settings:
See AK4619 datasheet for more details, though this should work with any I2S-compatible TDM codec.