On Tue, Oct 16, 2001 at 12:14:14AM +0100, James Courtier-Dutton wrote:
> What is wrong with using a PC ?

Nothing in particular, but it's just that a computer is not the right
tool to generate a stable high frequency signal.

> Use all 8 bits of the parallel port in DMA mode.
> The make an external circuit which will buffer and then serial clock the 8
> bits out.

That doesn't help you much. When using DMA you can't control the exact
frequency at which the signals appear on the parallel port lines. The
data will probably show up in bursts which certainly doesn't help to
get a stable signal.

> If this is not quick enough, use more parallel ports.

There is no way to synchronise multiple parallel ports.

> It is probably a good idea to use a real time OS, and not linux.
> Linux currently, is not best suited to low latency applications efficiently.
> Something like PLAN 9 might suit better.
> 
> It is probably overkill for something as simple as a D-Class amplifier, but
> it will be a good development system.

I pretty much doubt it can be done with a computer at all, unless you
have some extra hardware that generates a 1MHz signal for you (a
soundcard with a very high sample frequency).

> If you write everything in C, it should be easily ported to an embedded
> system later.

More important is that C code can be easily ported to any architecture
you want.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to