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.
Thanx .
Ttelmah
Joined: 11 Mar 2010 Posts: 19545
Posted: Wed May 16, 2018 12:07 am
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
Posted: Wed May 16, 2018 10:22 am
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.
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