DSPRelated.com
Forums

Pb with PCM3003

Started by nadbret July 24, 2003
Hello,

I use the C6711DSK and the PCM3003 audiocard.
I want to do a FIR filter with a sampling frequencyH Khz.
I use an hardware interrupt each time the serial port Mcbsp1 receives
a data.
Between 2 samples, I do my process (read data from the codec, FIR &
write data) but the process time is too long.
Is the best way to do a filter with this sampling frequency?

Thanks



A couple of suggestions-
 
1. Since you only have around 3000 processor clocks to play with, you might want to checkout information and examples using EDMA - you are using a chunk of that in your ISR.
 
2. Have you looked at the examples in TMS320C6000 Programmers Guide (SPRU198)??  This might show you how you can reduce your code size.
 
mikedunn

nadbret <n...@yahoo.fr> wrote:
Hello,

I use the C6711DSK and the PCM3003 audiocard.
I want to do a FIR filter with a sampling frequencyH Khz.
I use an hardware interrupt each time the serial port Mcbsp1 receives
a data.
Between 2 samples, I do my process (read data from the codec, FIR &
write data) but the process time is too long.
Is the best way to do a filter with this sampling frequency?

Thanks
_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to c...@yahoogroups.com

To Post: Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com




one more suggestion is that you try to load your program and data in L1 RAM
(internal RAM)..this will reduce process time ..
sandeep
--
Sci/Engr 'SC'
Communication System Group
ISAC, ISRO
ph:5083323 Quoting Mike Dunn <>:

> A couple of suggestions-
>
> 1. Since you only have around 3000 processor clocks to play with, you might
> want to checkout information and examples using EDMA - you are using a chunk
> of that in your ISR.
>
> 2. Have you looked at the examples in TMS320C6000 Programmers Guide
> (SPRU198)?? This might show you how you can reduce your code size.
>
> mikedunn
>
> nadbret <> wrote:
> Hello,
>
> I use the C6711DSK and the PCM3003 audiocard.
> I want to do a FIR filter with a sampling frequencyH Khz.
> I use an hardware interrupt each time the serial port Mcbsp1 receives
> a data.
> Between 2 samples, I do my process (read data from the codec, FIR &
> write data) but the process time is too long.
> Is the best way to do a filter with this sampling frequency?
>
> Thanks >
> _____________________________________
> Note: If you do a simple "reply" with your email client, only the author of
> this message will receive your answer. You need to do a "reply all" if you
> want your answer to be distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://www.yahoogroups.com/group/c6x
>
> Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/