DSPRelated.com
Forums

Data types

Started by savi...@yahoo.com June 16, 2009
Hi , to all
I have a question - what is the mean of data types necessary to support the interface between DSP and external memory (SRAM for example)? Does it mean the bits of words witch they support ot the bits of DSP and memory???
On Tue, 16 Jun 2009, s...@yahoo.com wrote:

> Hi , to all
> I have a question - what is the mean of data types necessary to support the interface between DSP and external memory (SRAM for example)? Does it mean the bits of words witch they support ot the bits of DSP and memory???

Memory doesn't care about data type. What matters is bus width. If you
write a 48 bit word to a 16 bit bus, it takes 3 cycles and the order might
be weird. If you write a 16 bit word to a 32 bit bus, it might fill with
zeros in a strange place. The data type doesn't matter though - but pay
attention to the physical structures.

Patience, persistence, truth,
Dr. mike
Ok thanhks, now i uderstand, but another question. I have to see wether the serial ports outputs of the codec ADAU1361 are 24 bit or they may be more - 32 and the other bit are truncated internaly by the procesor.Because the serial ports input of the codec may be more than 24 it.But it doesnt mention about the output data of Sport. Is there any pdf ot somewere where it does mention about inputs???

Hi , to all
> I have a question - what is the mean of data types necessary to support the interface between DSP and external memory (SRAM for example)? Does it mean the bits of words witch they support ot the bits of DSP and memory???
You'll have to check the manual, but I think you can set up an sport to be
any bit width you like from 8 to 32. A careful reading of the processor
manual will get you started, then you have to try things and see how it
really works!

There's probably somebody here who has already done something similar, but
you'll have to be a lot more specific with your questions.

Patience, persistence, truth,
Dr. mike
On Tue, 16 Jun 2009, s...@yahoo.com wrote:

> Ok thanhks, now i uderstand, but another question. I have to see wether the serial ports outputs of the codec ADAU1361 are 24 bit or they may be more - 32 and the other bit are truncated internaly by the procesor.Because the serial ports input of the codec may be more than 24 it.But it doesnt mention about the output data of Sport. Is there any pdf ot somewere where it does mention about inputs???
>
> Hi , to all
>> I have a question - what is the mean of data types necessary to support the interface between DSP and external memory (SRAM for example)? Does it mean the bits of words witch they support ot the bits of DSP and memory???
>>
>
I know about the processor -that supports form 8 to 32 bits. I was asking for the codec ADAU1361 - what is tha maximum serial output data of bits. Does it can send 32bit word to the DSP, or only 16, 18, 20 and 24(limit)???
Look at page 40 of
http://www.analog.com/static/imported-files/data_sheets/ADAU1361.pdf

It looks like you get 32 clocks for 16 bit data and you can set it up to
run on 64 clocks but you'll only get 24 bit data. I think you can do any
number in between as well, but I don't know why you'd want to pick 43
clocks per frame! You'll probably have to read the manual 3 times and
then try a bunch of different settings until it makes sense.

Patience, persistence, truth,
Dr. mike
On Wed, 17 Jun 2009, s...@yahoo.com wrote:

>
> I know about the processor -that supports form 8 to 32 bits. I was asking for the codec ADAU1361 - what is tha maximum serial output data of bits. Does it can send 32bit word to the DSP, or only 16, 18, 20 and 24(limit)???