This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RE: EP7212 I2S audio demo i2s_audio_fiq.S
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: Re: [ECOS] RE: EP7212 I2S audio demo i2s_audio_fiq.S
- From: AshCan at aol dot com
- Date: Sun, 27 Aug 2000 00:16:50 EDT
>
> Curious, your crashes may come from the extraneous bits. However, I
> purposefully
> left out those four bits, just so the underrun conditions could be
detected (
> for
> diagnostic purposes). I'd suspect that this would work just as well as
your
> change:
>
> ldr r10,=0x0F0F
>
I tried your suggestion of 0x0F0F and the crashing occured again since once
an underrun occured, it was latched forever and you just keep reentering the
ISR since the underrun condition bit is not being cleared.
The chance of an underrun occuring is certain when I use diag_printf while
the DAC is playing. Now that I clear the underrun bits, I can use
diag_printf.
Also, the EP7212 just repeats writing the last left and right samples if an
underrun occurs. For some applications this may be a problem, but to playing
sotred music or streaming audio, it is not.
> Note: this code is really just for demonstration purposes. It's not
> supported
> and may contain errors. That said, of course we are always interested in
> feedback
> and comments such as these.
>
>