From reading AN12437, it seems that the DMA engine can access ITCM, DTCM and OCRAM. Is this true?
How does one deal with coherency i.e. let's say I have a buffer in DTCM or OCRAM and am DMAing data from the UART. Do I use the MPU to configure the region as non-cached?
I haven't found the document that talks about cache, DMA and coherency.
Thanks.
Solved! Go to Solution.
Hi Harjit-san
The following threads are helpful.
RT1060 - use of OCRAM breaks fatfs example
How does one deal with coherency i.e. let's say I have a buffer in DTCM or OCRAM and am DMAing data from the UART. Do I use the MPU to configure the region as non-cached?
Yes. Please set OCRAM to non-chached(shareble).
Please refer to the following document.
ARM Cortex-M7 Processor Technical Reference Manual – Memory Protection Unit
Best Regards,
T.Kashiwagi
Hi Harjit Singh,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Is this true?
-- Yes.
1) Do I use the MPU to configure the region as non-cached?
-- Yes, it should do that.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi Harjit-san
The following threads are helpful.
RT1060 - use of OCRAM breaks fatfs example
How does one deal with coherency i.e. let's say I have a buffer in DTCM or OCRAM and am DMAing data from the UART. Do I use the MPU to configure the region as non-cached?
Yes. Please set OCRAM to non-chached(shareble).
Please refer to the following document.
ARM Cortex-M7 Processor Technical Reference Manual – Memory Protection Unit
Best Regards,
T.Kashiwagi