Hi, @pengyong_zhang
Thank you very much for your and your experts' replies!
Could I ask you a few more questions?
==============================================================================
(1) Regarding subsystem 15, I'd like to clarify: I meant the 15th STC.
Here's the code that successfully sets the interleaving mode:
/****** code ******/
STC_Type *base_ptrs[] = STC_BASE_PTRS;
stc_interleave_mode_t interleave = kSTC_InterleaveNone;
STC_Type *base = base_ptrs[14];
STC_RIL_SetInterleave(base, interleave);
/****** code ******/
In the file src/scfw_export_mx8qm_b0/platform/devices/MX8QM/MX8QM.h, there's a definition :
#define STC14_BASE (0x5c720000)
We know that the base address of STC14 is 0x5c720000.
So, is STC14 the one that controls the memory interleaving mode for SC_SUBSYS_DB, as your experts mentioned "because subsystem 15 is SC_SUBSYS_DB, which is the subsystem of DRAM block."?
Since I didn't express myself clearly before, could you please confirm again that STC14 is responsible for controlling the memory interleaving mode of SC_SUBSYS_DB?
(2) There are 16 STCs in IMX8QM. Are all the remaining 15 STCs, except for STC14, unable to set the memory interleaving mode?
Because in the IMX8QMRM.pdf manual, under the 1.2.1.2 DRAM Block (DB) section, I saw the settings for memory interleaving mode.
I want to confirm if only the STC of DB can be set, and the other 15 STCs cannot.
(3) My requirement is to disable the memory interleaving mode on A53/A72.
I don't want the operating system running on A53/A72 to alternately use two memory controllers.
Can I disable it? Or is there another way to achieve this?
(4) Is disabling the interleaving mode also an operation on the STC corresponding to A53/A72?
Does A53/A72 correspond to STC5? Or what is the corresponding STC number?
I have not found the corresponding relationship in the IMX8QMRM.pdf manual.
(5) If the memory interleaving mode can be disabled for A53/A72, how will A53/A72 use the memory controllers?
==============================================================================
I'm eagerly looking forward to your answers!