Hello,
I am trying to run LPUART2 based on mcux-sdk/examples/evkmimx8ulp/multicore_examples/power_mode_switch/.
Refers to the following:
Test LPUART2(DSP domain) on i.MX8ULP M33
Test LPUART2(DSP domain) EDMA on i.MX8ULP M33
When I apply this patch and run it, a Bus Fault occurs at address 0x2810202c.
I have set MBC but a Bus Fault still occurs.
+ /* non secure state can access PCC2(PBridge2 slot 2) and LPUART2(PBridge2 slot 11) for M33 */
+ mbcBlockConfig.memoryAccessControlSelect = TRDC_MBC_ACCESS_CONTROL_POLICY_ALL_INDEX;
+ mbcBlockConfig.nseEnable = true;
+ mbcBlockConfig.mbcIdx = 3U;
+ mbcBlockConfig.domainIdx = TRDC_M33_DOMAIN_ID;
+ mbcBlockConfig.slaveMemoryIdx = 0U;
+ mbcBlockConfig.memoryBlockIdx = 2;
+ TRDC_MbcSetMemoryBlockConfig(TRDC, &mbcBlockConfig);
+ mbcBlockConfig.memoryBlockIdx = 11;
+ TRDC_MbcSetMemoryBlockConfig(TRDC, &mbcBlockConfig);
Thank you,
mizo