I configured M40 UART in M4 MCU. But, there is no log from M4 UART
by default rear_view_camera application used core1 not core0
But, I configured SC_P_M40_I2C0_SDA as uart in Core1 as per the hardware
+ err = sc_pad_set_all(ipc, SC_P_M40_I2C0_SDA , 2U, SC_PAD_CONFIG_NORMAL, SC_PAD_ISO_OFF, 0x0 ,SC_PAD_WAKEUP_OFF);/* IOMUXD_M40_I2C0_SDA register modification value */
+ if (SC_ERR_NONE != err)
Will you please verify my configuration proper or not.
I need clarification -> M4 core0 UART will run or not in M4 core1.
BSP: L4.14.98 + Android 9 Automotive + MCU SDK
for that case except iomux settings one should consider proper resource allocation as described on
>I have to use the Cortex-M4 Core0 uart resource to Cortex-M4 Core1 for debug console.
may be suggested to assign Core0 uart resource to Core1 partition, use flexcan example from suggested link.
Thank you @igorpadykov for the reply,
/* set as movable */
sc_rm_set_resource_movable(ipc, SC_P_M40_I2C0_SDA, SC_P_M40_I2C0_SDA, SC_TRUE);
SCFW to M4_1
Partition 0 --> SCFW (M40_I2C0_SDA)
Partition 4 --> M4_1
Is it the right way ?