CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

DMA on Brush's Fat driver?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
curt2go



Joined: 21 Nov 2003
Posts: 200

View user's profile Send private message

DMA on Brush's Fat driver?
PostPosted: Tue May 15, 2018 3:58 pm     Reply with quote

Anyone attempted to use DMA instead of regular SPI on Brush Electronics Fat Driver?

LOL. That sort of does not even sound right. Anyways let me know if you have any pointers or that you think its very time consuming. I thought there would only be a few places to adjust , but I have been very wrong before. Smile

Thanx .
Ttelmah



Joined: 11 Mar 2010
Posts: 19545

View user's profile Send private message

PostPosted: Wed May 16, 2018 12:07 am     Reply with quote

I have.
It is time consuming to get right. Doesn't gain much performance at all. It is only advantageous if your code is multi-threaded. There is little to adjust in the actual code, but a lot in 'thinking'. You have to wait for the transactions to 'have happened', rather than triggering and knowing when they have completed. Since the code flow here has to wait for the transactions, you only gain if you can go off and be doing some other code while actually waiting.
curt2go



Joined: 21 Nov 2003
Posts: 200

View user's profile Send private message

PostPosted: Wed May 16, 2018 10:22 am     Reply with quote

Good to know. I did gain a lot of processor power back from doing DMA to my codec.

Ok I will leave it as is. Thank you for the input. As always.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 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