Forums

'5509A DMA - 16bit src to 32bit dst

Started by IGW June 23, 2006
Hello all,

Can the TI '5509A DMA be used to take 16-bit data from a MCBSP port 
(from a audio ADC, using I2S framing) and dump this into RAM buffer like 
this:

0x0000
left[n]
0x0000
right[n]
0x0000
left[n+1]
0x0000
right[n+1]
etc

where left[n] is the nth 16-bit (left) sample from the McBSP.

I think I can do it using the "single index" mode with an appropriate 
index programmed into the index register (since the source will be set 
to "no increment", I think I can run the '5509A's DMA in the 
"Compatibility" mode, where the src and dest indexes are common).

Am I right in thinking this will work?

Many thanks,
Ian