DSPRelated.com
Forums

Problems and Questions with PCM3003

Started by trutano April 13, 2004
Hi,

I am currently working with the C6711 DSK and the PCM3003 Daughter
Card. I am using Chassaing's Code "loop_intr_pcm" located on his
book "DSP Applications using C and the TMS3206x DSK" as reference. My
questions
are:

1) I have tried to get 48kHz sampling frequency for an application
with one input and one output and when my Daughter Board is in Fixed
Sampling Frequency Mode (JP5), the sampling frequency I get is 24kHz.
Is it possible to get 48kHz sampling frequency per channel using
the "loop_intr_pcm" code or do I need to make some modifications to
the code?
My jumper settings on the PCM3003 daughter card are:
JP11: 1-2, JP12:1-2, JP6:5-6, JP7:ON, JP8:ON

2) When I put JP5 in 3-4, I get 24kHz sampling frequency. If I put it
on 1-2, I get half the sampling frequency of the Fs variable defined
in my code. I read the Audio_Daughter_Card_User_Guide, and it seems
to me that it doesn't match with the results I have found. Is there
anything wrong with the diagram or do I have a problem with my
Daughter Card? (I know the sampling frequency because I can measure
the folding frequency (Fs/2) of the ADC with the help of an
ocsilloscope.)

3) I need to work on an application where the output sampling
frequency needs to be about 16 smaller than the input sampling
frequency (Finput > Foutput). Does the PCM3003 support different
sampling frequencies between the input channel and output channel?

Any help will be greatly appreciated.

Att.,

Juan A. Torres




Juan-

> I am currently working with the C6711 DSK and the PCM3003 Daughter
> Card. I am using Chassaing's Code "loop_intr_pcm" located on his
> book "DSP Applications using C and the TMS3206x DSK" as reference. My
> questions
> are:
>
> 1) I have tried to get 48kHz sampling frequency for an application
> with one input and one output and when my Daughter Board is in Fixed
> Sampling Frequency Mode (JP5), the sampling frequency I get is 24kHz.

I think Wojcieh Rewers will tell you it's not possible, and there is an error in
the
Users Manual. If you search the c6x group archive for:

PCM3003

you will find many exchanges such as this one:

http://groups.yahoo.com/group/c6x/message/2524

-Jeff

> Is it possible to get 48kHz sampling frequency per channel using
> the "loop_intr_pcm" code or do I need to make some modifications to
> the code?
> My jumper settings on the PCM3003 daughter card are:
> JP11: 1-2, JP12:1-2, JP6:5-6, JP7:ON, JP8:ON
>
> 2) When I put JP5 in 3-4, I get 24kHz sampling frequency. If I put it
> on 1-2, I get half the sampling frequency of the Fs variable defined
> in my code. I read the Audio_Daughter_Card_User_Guide, and it seems
> to me that it doesn't match with the results I have found. Is there
> anything wrong with the diagram or do I have a problem with my
> Daughter Card? (I know the sampling frequency because I can measure
> the folding frequency (Fs/2) of the ADC with the help of an
> ocsilloscope.)
>
> 3) I need to work on an application where the output sampling
> frequency needs to be about 16 smaller than the input sampling
> frequency (Finput > Foutput). Does the PCM3003 support different
> sampling frequencies between the input channel and output channel?
>
> Any help will be greatly appreciated.
>
> Att.,
>
> Juan A. Torres
>




> I think Wojcieh Rewers will tell you it's not
> possible, and there is an error in the
> Users Manual. If you search the c6x group archive
> for:
>
> PCM3003
>
> you will find many exchanges such as this one:
>
> http://groups.yahoo.com/group/c6x/message/2524

well - if you serach the archive - use Wojciech rather
than Wojcieh ;-)

and yes - Jeff is correct - I can tell you the manual
is misleading (about the jumper settings) - it has all
been covered on that group by me and others...

another thing is that I'm not really sure about
software you're using, but I've seen badly written
software that was messing up channels and in the end
you were getting "every other sample"...

so - to summerize - yes - there are issues with
PCM3003 ;-)

good luck

Wojciech Rewers

__________________________________



Trutano:

Try the following settings:

JP11(3-4), JP12(1-2), JP4(5-6), JP5(3-4), JP6(3-4). Pin 1 is on the upper
left of JP4, but on the lower right of JP5,6,11, and12. Default settings
are generalyy not correct.

JP5(1-2) for variable rate, JP5(3-4) for the fixed rate of 48kHz (see page
310). Good luck.

Rulph Chassaing

----- Original Message -----
From: "trutano" <>
To: <>
Sent: Tuesday, April 13, 2004 12:12 AM
Subject: [c6x] Problems and Questions with PCM3003 > Hi,
>
> I am currently working with the C6711 DSK and the PCM3003 Daughter
> Card. I am using Chassaing's Code "loop_intr_pcm" located on his
> book "DSP Applications using C and the TMS3206x DSK" as reference. My
> questions
> are:
>
> 1) I have tried to get 48kHz sampling frequency for an application
> with one input and one output and when my Daughter Board is in Fixed
> Sampling Frequency Mode (JP5), the sampling frequency I get is 24kHz.
> Is it possible to get 48kHz sampling frequency per channel using
> the "loop_intr_pcm" code or do I need to make some modifications to
> the code?
> My jumper settings on the PCM3003 daughter card are:
> JP11: 1-2, JP12:1-2, JP6:5-6, JP7:ON, JP8:ON
>
> 2) When I put JP5 in 3-4, I get 24kHz sampling frequency. If I put it
> on 1-2, I get half the sampling frequency of the Fs variable defined
> in my code. I read the Audio_Daughter_Card_User_Guide, and it seems
> to me that it doesn't match with the results I have found. Is there
> anything wrong with the diagram or do I have a problem with my
> Daughter Card? (I know the sampling frequency because I can measure
> the folding frequency (Fs/2) of the ADC with the help of an
> ocsilloscope.)
>
> 3) I need to work on an application where the output sampling
> frequency needs to be about 16 smaller than the input sampling
> frequency (Finput > Foutput). Does the PCM3003 support different
> sampling frequencies between the input channel and output channel?
>
> Any help will be greatly appreciated.
>
> Att.,
>
> Juan A. Torres > _____________________________________
> 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
>
> Yahoo! Groups Links




Wow -- did not know that a living DSP legend Dr. Chassaing himself is monitoring
the
group :-)

-Jeff chassaing wrote:
>
> Trutano:
>
> Try the following settings:
>
> JP11(3-4), JP12(1-2), JP4(5-6), JP5(3-4), JP6(3-4). Pin 1 is on the upper
> left of JP4, but on the lower right of JP5,6,11, and12. Default settings
> are generalyy not correct.
>
> JP5(1-2) for variable rate, JP5(3-4) for the fixed rate of 48kHz (see page
> 310). Good luck.
>
> Rulph Chassaing
>
> ----- Original Message -----
> From: "trutano" <>
> To: <>
> Sent: Tuesday, April 13, 2004 12:12 AM
> Subject: [c6x] Problems and Questions with PCM3003
>
> > Hi,
> >
> > I am currently working with the C6711 DSK and the PCM3003 Daughter
> > Card. I am using Chassaing's Code "loop_intr_pcm" located on his
> > book "DSP Applications using C and the TMS3206x DSK" as reference. My
> > questions
> > are:
> >
> > 1) I have tried to get 48kHz sampling frequency for an application
> > with one input and one output and when my Daughter Board is in Fixed
> > Sampling Frequency Mode (JP5), the sampling frequency I get is 24kHz.
> > Is it possible to get 48kHz sampling frequency per channel using
> > the "loop_intr_pcm" code or do I need to make some modifications to
> > the code?
> > My jumper settings on the PCM3003 daughter card are:
> > JP11: 1-2, JP12:1-2, JP6:5-6, JP7:ON, JP8:ON
> >
> > 2) When I put JP5 in 3-4, I get 24kHz sampling frequency. If I put it
> > on 1-2, I get half the sampling frequency of the Fs variable defined
> > in my code. I read the Audio_Daughter_Card_User_Guide, and it seems
> > to me that it doesn't match with the results I have found. Is there
> > anything wrong with the diagram or do I have a problem with my
> > Daughter Card? (I know the sampling frequency because I can measure
> > the folding frequency (Fs/2) of the ADC with the help of an
> > ocsilloscope.)
> >
> > 3) I need to work on an application where the output sampling
> > frequency needs to be about 16 smaller than the input sampling
> > frequency (Finput > Foutput). Does the PCM3003 support different
> > sampling frequencies between the input channel and output channel?
> >
> > Any help will be greatly appreciated.
> >
> > Att.,
> >
> > Juan A. Torres
> >



Prof. Chassaing:

Thanks for your help. I was able to get the 48 kHz
sampling rate :) .

I have a small question concerning the other jumpers
on the daughter card. I read in the
Audio_Daughter_Card_Users_Guide that jumpers JP7, JP8,
JP9, and JP10 should not be connected. Is this remark
also misleading or should they also be connected? What
are they used for?

Any help will be greatly appreciated.

Att.,

Juan Torres --- chassaing <> wrote:
> Trutano:
>
> Try the following settings:
>
> JP11(3-4), JP12(1-2), JP4(5-6), JP5(3-4), JP6(3-4).
> Pin 1 is on the upper
> left of JP4, but on the lower right of JP5,6,11,
> and12. Default settings
> are generalyy not correct.
>
> JP5(1-2) for variable rate, JP5(3-4) for the fixed
> rate of 48kHz (see page
> 310). Good luck.
>
> Rulph Chassaing
>
> ----- Original Message -----
> From: "trutano" <>
> To: <>
> Sent: Tuesday, April 13, 2004 12:12 AM
> Subject: [c6x] Problems and Questions with PCM3003 > > Hi,
> >
> > I am currently working with the C6711 DSK and the
> PCM3003 Daughter
> > Card. I am using Chassaing's Code "loop_intr_pcm"
> located on his
> > book "DSP Applications using C and the TMS3206x
> DSK" as reference. My
> > questions
> > are:
> >
> > 1) I have tried to get 48kHz sampling frequency
> for an application
> > with one input and one output and when my Daughter
> Board is in Fixed
> > Sampling Frequency Mode (JP5), the sampling
> frequency I get is 24kHz.
> > Is it possible to get 48kHz sampling frequency per
> channel using
> > the "loop_intr_pcm" code or do I need to make some
> modifications to
> > the code?
> > My jumper settings on the PCM3003 daughter card
> are:
> > JP11: 1-2, JP12:1-2, JP6:5-6, JP7:ON, JP8:ON
> >
> > 2) When I put JP5 in 3-4, I get 24kHz sampling
> frequency. If I put it
> > on 1-2, I get half the sampling frequency of the
> Fs variable defined
> > in my code. I read the
> Audio_Daughter_Card_User_Guide, and it seems
> > to me that it doesn't match with the results I
> have found. Is there
> > anything wrong with the diagram or do I have a
> problem with my
> > Daughter Card? (I know the sampling frequency
> because I can measure
> > the folding frequency (Fs/2) of the ADC with the
> help of an
> > ocsilloscope.)
> >
> > 3) I need to work on an application where the
> output sampling
> > frequency needs to be about 16 smaller than the
> input sampling
> > frequency (Finput > Foutput). Does the PCM3003
> support different
> > sampling frequencies between the input channel and
> output channel?
> >
> > Any help will be greatly appreciated.
> >
> > Att.,
> >
> > Juan A. Torres
> >
> >
> >
> >
> >
> > _____________________________________
> > 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
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>
> _____________________________________
> 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
>
> Yahoo! Groups Links >


__________________________________