Reply by John McCabe December 22, 20032003-12-22
On Fri, 19 Dec 2003 20:19:11 +0100, Hendrik Greving <4hg@gmx.de>
wrote:

>Yes this was of some help!! The audio example is indeed interrupt driven, >but what I'm still not sure about is, isn't it possible to change the >sample rate of the codec, or is it unchangeable fixed because of this >crystal on the board?
As far as I can tell the sample rate of the codec is fixed by that crystal. I haven't seen anything in the AD535 datasheet to suggest otherwise. Best Regards John McCabe To reply by email replace 'nospam' with 'assen'
Reply by December 19, 20032003-12-19
John McCabe wrote:

> On 16 Dec 2003 02:55:25 -0800, greving@gamic.com (H.Greving) wrote: > >>Hi, >> >> >>I have a C6711 DSP and am running a encoder/decoder using the audio >>example of TI. I need to set the sample rate to the lowest possible >>value. I nthe documentation is mentioned that it is possible to reduce >>the internal clock rate to the factor N*256. I can set 1-256 in the >>DSP/Bios tool (sample rate generator). Thus my question is, is this >>the right place? and where can I set the N value? Shouldn't it be >>possible to set the sanple rate to 8KHz or s.th.? > > I think perhaps you are getting confused between the sample rate of > the McBSP and the sample rate of the codec. On the C6711 DSK the Codec > is fed by a 4.096MHz clock. According to > http://focus.ti.com/lit/ds/symlink/tlc320ad535.pdf (section 3.1) the > codec's sampling rate is XX_MCLK/512, which works out at 8khz. > > As far as I remember, in the audio example the McBSP is driven by the > interrupt from the Codec, so it isn't essential for the McBSP to be > set to sample at a very low rate. > > Is this of any help? > > Best Regards > John McCabe > > To reply by email replace 'nospam' with 'assen'
Yes this was of some help!! The audio example is indeed interrupt driven, but what I'm still not sure about is, isn't it possible to change the sample rate of the codec, or is it unchangeable fixed because of this crystal on the board? thanks & regards Hendrik Greving
Reply by John McCabe December 16, 20032003-12-16
On 16 Dec 2003 02:55:25 -0800, greving@gamic.com (H.Greving) wrote:

>Hi, > > >I have a C6711 DSP and am running a encoder/decoder using the audio >example of TI. I need to set the sample rate to the lowest possible >value. I nthe documentation is mentioned that it is possible to reduce >the internal clock rate to the factor N*256. I can set 1-256 in the >DSP/Bios tool (sample rate generator). Thus my question is, is this >the right place? and where can I set the N value? Shouldn't it be >possible to set the sanple rate to 8KHz or s.th.?
I think perhaps you are getting confused between the sample rate of the McBSP and the sample rate of the codec. On the C6711 DSK the Codec is fed by a 4.096MHz clock. According to http://focus.ti.com/lit/ds/symlink/tlc320ad535.pdf (section 3.1) the codec's sampling rate is XX_MCLK/512, which works out at 8khz. As far as I remember, in the audio example the McBSP is driven by the interrupt from the Codec, so it isn't essential for the McBSP to be set to sample at a very low rate. Is this of any help? Best Regards John McCabe To reply by email replace 'nospam' with 'assen'
Reply by H.Greving December 16, 20032003-12-16
Hi,


I have a C6711 DSP and am running a encoder/decoder using the audio
example of TI. I need to set the sample rate to the lowest possible
value. I nthe documentation is mentioned that it is possible to reduce
the internal clock rate to the factor N*256. I can set 1-256 in the
DSP/Bios tool (sample rate generator). Thus my question is, is this
the right place? and where can I set the N value? Shouldn't it be
possible to set the sanple rate to 8KHz or s.th.?


regards Hendrik Greving