Hello,
I am working through CSL_DMA_PingPongExample on my C5535 EzDSP board.
Using CCS 5.2.0 on Ubuntu 11.04, the Memory Browser in CCS is indicating that bytes are written to the array dmaPingSrcBuf[] but the array is declared in C as a Uint16:
/* Declaration of the buffer */
#pragma DATA_ALIGN (dmaPingSrcBuf, 4)
Uint16 dmaPingSrcBuf[CSL_DMA_BUFFER_SIZE];
Uint16 index;
So
for(index = 0; index < CSL_DMA_BUFFER_SIZE; index++)
{
dmaPingSrcBuf[index] = index;
}
should write a 16-bit value, right? Even though DMA uses byte addressing, this is C.
Instead I get: 0x0000B5DC 0100 0302 0504 etc. where I expect: 0x0000B5DC 0000 0001 0002
Thanks
