All of lore.kernel.org
 help / color / mirror / Atom feed
* (AT91RM2000 - ARM) Driver that puts data over SSC to FPGA
@ 2009-09-22 13:04 Michel Müller
  2009-09-22 15:54 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Michel Müller @ 2009-09-22 13:04 UTC (permalink / raw)
  To: alsa-devel

Hello,

I am trying to write an ALSA-driver that puts the audio data over the 
SSC channel to the FPGA. This FPGA routes the Data to the AD/DA chips.

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.

If I write a character device that transfers data to the FPGA over the 
SSC I can hear sound, but I want to use ALSA because the use of audio 
applications will be easy and flexible.

Thank you in advance!

Regards,
Michel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: (AT91RM2000 - ARM) Driver that puts data over SSC to FPGA
  2009-09-22 13:04 (AT91RM2000 - ARM) Driver that puts data over SSC to FPGA Michel Müller
@ 2009-09-22 15:54 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2009-09-22 15:54 UTC (permalink / raw)
  To: Michel Müller; +Cc: alsa-devel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-22 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-22 13:04 (AT91RM2000 - ARM) Driver that puts data over SSC to FPGA Michel Müller
2009-09-22 15:54 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.