adafruit / Adafruit_CircuitPython_PIOASM

Simple assembler to convert pioasm to bytes
MIT License
27 stars 17 forks source link

add codec example #66

Closed timchinowsky closed 1 month ago

timchinowsky commented 2 months ago

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 commented 2 months ago

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

ladyada commented 1 month ago

neat thanks @timchinowsky ive ordered some XTAC5242 to check out