Hello, I'm using a C6748 single DSP. I'm using EDMA for a new function in my application and I'm encountering a werid problem when I set the source's offset to a negative value.
What I'm trying to do is that given an array of 4 elements {1,2,3,4}. I'll organize them in the following fashion: {11...1, 22..2, 33..3, 44..4} into another space of memory, but the initial array is fixed at the moment but won't be in RT execution, because of this the data has to be stored in order. This are the values I have:
- SRC: pointer to initial array
- DST: pointer to final array
- A_B_CNT: (2 << 0) | (4 << 16)
- CCNT: sample_size
- SRC_DST_BIDX: (2 << 0) | (2*sample_size << 16)
- SRC_DST_CIDX: (-3*2 << 0) | (2 - 2*3*sample_size << 16)