Hi
I m working on TMS570 DMA module. I have taken the demo code provided by TI as a reference and trying for various lengths of destination and source buffers. following are the configurations I have selected.
uint8 Source_address[20] ={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20};
uint8 Destination_address[10];
Frame count = 1
Element Count = 20
Read Element size = 8 bit
Write Element size = 8 bit
Auto Init mode is 1
post increment read and write address
transfer type is frame transfer
As per the post in
http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/217878/768351.aspx#768351
I m having destination buffer to hold10 bytes and source to hold 20. Eleventh byte that is copied from the source should be written to the first location in destination buffer. this is not happening. can anyone tell me what configurations I need to have to make my destination buffer hold the latest ten bytes?
Thanks and Regards
pallavi