22 Sep
2009
22 Sep
'09
5:54 p.m.
On Tue, Sep 22, 2009 at 03:04:51PM +0200, Michel Müller wrote:
I tried to figure out how I can do this with the ASoC Interfaces but I am currently stuck. Currently there is an Atmel SSC and PCM Interface that I can probably use. If I want to use the ASoC API I need to have a Codec Driver. But I don't have direct access to the codec.
How should I proceed? I have 2 possibilities I think: Writing a Codec Driver / Writing an Alsa Driver as described in the guide of Takashi Iwai.
In this system your FPGA is doing the job of the CODEC as far as the CPU is concerned so the most natural thing would probably be to implement a CODEC driver for it. This should be fairly straightforward, especially if there's not much software control of the FPGA.