| View previous topic :: View next topic |
| Author |
Message |
Saotome

Joined: 03 Apr 2004 Posts: 182
|
Posted: Tue Jul 19, 2005 8:45 pm Post subject: Interleaved DMA transfer from IPU to main memory? |
|
|
I've done some tests yesterday using the IPU to do YUV to RGB conversion. The IPU part works, I send the YUV data and the correct RGB data comes out, but it's not interleaved.
I write 0x00040024 (transfer 4 qw, skip 0x24 qw) to the D_SQWC register, and start the transfer writing 0x108 to the CHCR (channel-3).
Is the interleave mode only for transfers from/to scratchpad? as the ee-manual says "Interleave mode can perform DMA transfer between main memory and scratchpad memory", or is this meant as an example and I'm missing something else? _________________ infj |
|
| Back to top |
|
 |
EEUG
Joined: 13 May 2005 Posts: 136 Location: The Netherlands
|
Posted: Sun Jul 24, 2005 5:40 pm Post subject: |
|
|
| ...yes, it's only for SP transfers... |
|
| Back to top |
|
 |
Saotome

Joined: 03 Apr 2004 Posts: 182
|
Posted: Mon Jul 25, 2005 5:16 am Post subject: |
|
|
I found a solution for the problem. First I transfer the data from IPU to SPR, then interleaved from SPR to main memory; that's still faster than my (not finished) MMI assembler function :) _________________ infj |
|
| Back to top |
|
 |
|