2022-04-26 09:10 PM
we started evaluating the controller architecture with respect to our application requirement. We are referring application note AN5557, Reference manual for the suggested MCU.
While referring the documents, we understand that there are 3 Domain in the overall architecture block diagram. Domain 1 is for M7 , Domain 2 for M4 and Domain 3 for BDMA or IPC communication. But there are some queries regarding the memory and flash utilization of both the cores.
Also the other memories like DTCM-RAM and ITCM-RAM can be accessible by M4 core? since already we have 512KB RAM for M7 core. If not then what is purpose of 192KB RAM?
Also let me know if there is anything which I misinterpret any functionality of the MCU.
Thanks
Gaurav More
2022-04-27 07:08 AM
The "System Architecture" figure in the reference manual provides a good understanding into the interconnections.
Both cores can access both banks of flash. Where you put your code is up to you, so yes, you can use one bank for the M7 and another for the M4. That's a common configuration.
Similarly, most RAM (at least AXI SRAM, SRAM1-3) can be accessed by both cores. Using memory in the same domain will lead to potential execution gains.
SRAM4 can also be accessed by both cores. You can use it to talk between them if you want.
DTCM-RAM and ITCM-RAM can't be accessed by the M4 core. The purpose of these tightly-coupled memories is that they are much faster than accessing AXI SRAM.
2022-04-27 09:29 PM
Hi,
Thanks for the quick response. I will evaluate the same and with respect to our application and check as per your input.
BR
Gaurav More
2022-04-29 01:01 AM
Hello,
This is a matrix (provided in the reference manual RM0399/rev3/Page108) showing the different combination of CM7/CM4 accesses to different memories and slaves on the product: