forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Interleaved DMA transfer from IPU to main memory?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Saotome



Joined: 03 Apr 2004
Posts: 182

PostPosted: Tue Jul 19, 2005 8:45 pm    Post subject: Interleaved DMA transfer from IPU to main memory? Reply with quote

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
View user's profile Send private message
EEUG



Joined: 13 May 2005
Posts: 136
Location: The Netherlands

PostPosted: Sun Jul 24, 2005 5:40 pm    Post subject: Reply with quote

...yes, it's only for SP transfers...
Back to top
View user's profile Send private message
Saotome



Joined: 03 Apr 2004
Posts: 182

PostPosted: Mon Jul 25, 2005 5:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group