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

add codec example #66

Merged
merged 2 commits into from
Sep 8, 2024
Merged

Conversation

timchinowsky
Copy link
Contributor

This code uses rp2pio to implement a bidirectional extended-I2S interface suitable for communicating with codecs such as TI's TAC5212. Sample rate, number of channels, and the number of bits per sample are all adjustable, allowing for full exercising of codec features.

Plan is to also use this pio code in a new audiobusio I2S class with input/output streaming capability.

@tannewt
Copy link
Member

tannewt commented Aug 12, 2024

Thanks! Looks like you'll need to add pylint exemption to make it happy.

Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a pylint ignore for the function with 6 args.

This looks good to me, thanks for this new example @timchinowsky

@FoamyGuy FoamyGuy merged commit 341a234 into adafruit:main Sep 8, 2024
1 check passed
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Sep 9, 2024
Updating https://github.com/adafruit/Adafruit_CircuitPython_MLX90393 to 2.2.0 from 2.1.5:
  > Merge pull request adafruit/Adafruit_CircuitPython_MLX90393#39 from purepani/add_temperature_compensation

Updating https://github.com/adafruit/Adafruit_CircuitPython_HID to 6.1.2 from 6.1.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_HID#128 from dhalbert/usb-hid-keyboard

Updating https://github.com/adafruit/Adafruit_CircuitPython_PIOASM to 1.0.4 from 1.0.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_PIOASM#66 from timchinowsky/add_pioasm_i2c_codec

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
@ladyada
Copy link
Member

ladyada commented Sep 11, 2024

neat thanks @timchinowsky ive ordered some XTAC5242 to check out

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

Successfully merging this pull request may close these issues.

4 participants