linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* (no subject)
@ 2005-04-12 19:38 Eric N. Johnson (ACD)
  2005-04-12 21:13 ` Wolfgang Denk
  0 siblings, 1 reply; 8+ messages in thread
From: Eric N. Johnson (ACD) @ 2005-04-12 19:38 UTC (permalink / raw)
  To: linuxppc-embedded

Has anyone been able to use an I2S audio DAC connected to a Programmable 
Serial Controllers (PSC) on the Freescale MPC5200 CPU working under Linux?

The kernel included in the DENX ELDK v3.1.1 has two drivers:
   i2s_ring.c and i2s.c.
The ring driver appears to be RX only, and the i2s.c driver causes the FEC 
ethernet to hang at startup.  I've read some previous mailing list messages 
that suggest there are issues with bestcomm and i2s support.

We've tried adapting the i2s_ring.c driver for our needs.  By default, it 
only has a receive task.  It partially initializes the port, and we see 
appropriate waveforms on the MCLK, CLK, and FRAME lines, but have not been 
able to transmit data.

The stock i2s.c driver hung the boot sequence, but if we comment out the 
bestcomm startup code, it at least completes the boot cycle.  Again we see 
appropriate waveforms on the MCLK, CLK, and FRAME lines.  If we feed data 
to the device (after performing the port setup IOCTLs), we see a 750 us 
burst of data every 45 ms or so.

Is it feasible to send 44.1 or 48 KHz 16-bit audio this way or is the PSC 
only usable for lower data rate applications?

Thank you,
Eric
------------------------------------
Eric Johnson, Electrical Engineer
Advanced Communication Design
   7901 12th Avenue South
   Bloomington, MN 55425
Ph: 952-854-4000  Fax: 952-854-5774

^ permalink raw reply	[flat|nested] 8+ messages in thread
* MPC5200 I2S driver
@ 2005-11-05 19:22 Frank Bennett
  2005-11-06 20:42 ` Wolfgang Denk
  2005-11-07 21:04 ` Eric N. Johnson (ACD)
  0 siblings, 2 replies; 8+ messages in thread
From: Frank Bennett @ 2005-11-05 19:22 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 662 bytes --]

Hi Hans, Eric:

I would be interested in getting any driver code
examples for Bestcomm/PSC6/CODEC for the mpc5200
as well.

I am developing a couple of drivers: one a Data
Acquisition driver for SPI based AD7683 SAR ADC
on PSC6/codec and a LCD user interface on PSC3/SPI
using the DENX Linux distribution. Is arch/ppc/5xxx_io/i2s.c
a good example of a Bestcomm, Codec, non Ethernet
example?

Thanks to you guys and Wolfgang for you contributions
to this thread discussion.

*/Frank Bennett
President
/*Mathegraphics,LLC
613 Bentley Pl
Fort Collins,CO 80526
www.mathegraphics.com <http://www.mathegraphics.com>
bennett78@digis.net <mailto:bennett78@digis.net>




[-- Attachment #2: Type: text/html, Size: 1145 bytes --]

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

end of thread, other threads:[~2005-11-07 21:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-12 19:38 (no subject) Eric N. Johnson (ACD)
2005-04-12 21:13 ` Wolfgang Denk
2005-04-12 22:46   ` MPC5200 I2S driver Eric N. Johnson (ACD)
2005-04-12 23:40     ` Wolfgang Denk
2005-04-13 20:23     ` Hans Thielemans
  -- strict thread matches above, loose matches on Subject: below --
2005-11-05 19:22 Frank Bennett
2005-11-06 20:42 ` Wolfgang Denk
2005-11-07 21:04 ` Eric N. Johnson (ACD)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).