Re: Use Mikroelektronika Audio CODEC PROTO with RPi?
- RPi has both I2C ans SPI available on separate pins of the P1 connector. I've used both of them using Python and spidev/smbus packages, although not simultaneously.
Using audio through USB has some disadvantages: frames can be dropped if there is other activity on the USB, like mouse movement. But writing low level software to capture audio through SPI seems like a very big task to me.
--- In Raspberry_Pi_4-Ham_RADIO@yahoogroups.com, "germanium_jack" <germanium.jack@...> wrote:
> I have a little audio codec board from Mikroelektronika that has a Wolfson WM8713 CODEC chip. The manual for the board says:
> "Data transfer between the microcontroller and additional board is performed via the Serial Peripheral Interface (SPI), whereas the operation of the board is controlled via I2C communications."
> Looking for your thoughts. Does this seem like a workable CODEC solution, or is the need for both SPI and I2C a "port pin gobbler" that should have a microcontroller (like a PIC32) chip to function as a go-between to simplify the amount of connectivity required between the CODEC board and the RPi? -OR- Would I be better off with a simple USB audio device?
> I was originally just going to pair the codec board with another Mikroelektronika board, the MINI32, and DIP40 outline PCB that has a PIC32 with an on board USB programming port. Just think that getting the RPi to do some fancy processing might be fun. Especially with hardware floating point. Maybe.
> ...now back to pondering whether I should use a couple of hearing aid tubes to build a divide by two flip flop for my SDR's clock divider circuit for no particular reason...
> de Jack W8ADQ