Takashi Iwai wrote:
Yes, I have working code to communicate with SAM9407 chip (microcode loading,Does ALSA support non-DMA audio transfer? I believe the ISIS uses this kind of transfers, but I don't know for sure yet. I know it's stupid design not to use DMA, but there is nothing to do about it I guess.
yes, but the implementation depends on the driver. you can use tasklet for transferring the data e.g. via io-port read/write.Uros has been working on the ALSA SAM9407 driver, and IIRC, maxi ISIS uses a similar (same?) chip. he might be able to help the development of this driver.
memory management, channel allocation, control interface, etc) and I have just start
working on PCM interface. Unfortunatelly, I haven't got any time to implement
PCM routines, but all the low-level routines are in place. The code is written for older
0.9.x version of ALSA (as I didn't yet port it to latest CVS).
If anybody is interested in helping with this project, I would gladly share my (partially
functional) code. Code is tested with EWS64XL (PnP detection of SAM9407, i2c stuff
and TEA chips are working OK), has many comments, and basically just waits for someone to
"fill in the blanks" on PCM part.
Regarding sam9407: When you set up PCM channel and start transfer, chip will signal to driver,
when it is ready to receive data. Following this signal, you send data block with outsw()/insw()
command and terminate transfer with chip-specific message sent to SAM9407 control port. Some
kind of pseudo DMA.
Uros.
-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel