Hi @Newton829 ,
Hope you are doing well!
1. There is a useful guide of Config Tool for your reference. Please have a look at the chapter 5.2 RDC-enabled devices : User Guide for Config Tools for i.MX (nxp.com.cn)
2. 42-2 is the Master allocation mapping table. Each row in the table represents a master device, and the second column represents the register that determines the domain id to which it belongs. Some of the master in the table have domain numbers that are not determined by the RDC_MDA register, but by other modules or registers. For example, the domain number of CAAM is determined by the JRaDID_MS[PRIM_ICID] register of the CAAM module.
3. Each peripheral is managed in the RDC by two registers. One is the resource domain assignment register RDC_PDAPn with a corresponding resource domain, and the other is the semaphore locking register RDC_SEMAPHOREx_GATEn in the RDC_SEMA42 module. Together, they control the accessibility of the domain for that peripheral.
4. RDC is a hardware mechanism used to manage the access rights to the system resources, which can assign different master devices (such as processor cores, DMA controllers, peripherals, etc.) to different domains, thus realizing the isolation and protection of resources. However, MPU is only used to manage memory access rights to achieve isolation and protection of memory. RDC and MPU are hardware mechanisms to solve different problems, and they can be used in conjunction with each other or separately, depending on the requirements and design of the system.
Best regards,
Gavin