rsta2 / circle

A C++ bare metal environment for Raspberry Pi with USB (32 and 64 bit)
https://circle-rpi.readthedocs.io
GNU General Public License v3.0
1.85k stars 245 forks source link

Device recommendation for I2S input #307

Open Buanderie opened 2 years ago

Buanderie commented 2 years ago

Hello,

First, congratulations on providing such fine piece of software for all of us !

I would like to test I2S input (and ouput) on my Pi3 using Circle. I was wondering if there was any DAC/ADC chip and/or modules recommended for this purpose (o avoid ordering parts which would be incompatible with Circle). Preferably a cheap one (44100Hz would be largely enough), and also if possible, one with Line-IN AND Line-OUT ?

Thanks in advance :)

rsta2 commented 2 years ago

Thanks for appreciating Circle! Unfortunately I tested the I2S input only against the I2S output from a second Raspberry Pi running Circle. Perhaps @sebastienNEC can recommend an interface for I2S input, because the this code was based on a patch, provided by him?

sebastienNEC commented 2 years ago

Hello, I was using back then the FePi but they don't seem to sell these anymore... But I guess any audio HAT would do. The hardest part is to configure the codec correctly over I2C, so I would look for codecs where there's a github project that did the configuration already, so that you may copy/adapt it :)

Buanderie commented 2 years ago

Ok thanks for the update :) As far as I know, the FePI Hat was using the NXP sgtl5000xnaa3 from NXP, not sure if I'll be able to find an equivalent to the hat. Found some on aliexpress, and some free designs which I could order from PCBWay. Don't know if it's worth the trouble. I'll keep you updated if I find something that works !

andrethomas commented 7 months ago

@Buanderie did you find something that works?