Hello,
I need to clear a large part of RAM (~100MB) and I need to do it fast.
Is there a way to clear it using eDMA?
If yes, what shall I set the source to? And what are the attributes?
Thank you.
解決済! 解決策の投稿を見る。
Hi Mohamed
I think source and destination with different sizes also can be used, try to set SOFF
TCD Signed Source Address Offset (TCDa_SOFF) to zero.
Best regards
igor
Hi Mohamed
one can look at i.MXRT1050 MCUXpresso SDK example:
boards/../driver_examples/edma/memory_to_memory
Welcome | MCUXpresso SDK Builder
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Igor,
Thank you for your answer.
The example explains how to copy from a source address to a destination address with the same size.
Is it possible to have a source a destination with different sizes? This will be helpful in clearing the large size in RAM (~100MB).
Thank you.
Hi Mohamed
I think source and destination with different sizes also can be used, try to set SOFF
TCD Signed Source Address Offset (TCDa_SOFF) to zero.
Best regards
igor
Hello Igor,
I'll try it, thank you a lot for your help.