I want to use i2c0 in vision_app mcu2_0 project.
I add code like this:
Y:\ti-processor-sdk-rtos-j721e-evm-08_01_00_11\vision_apps\utils\misc\src\app_pinmux.c
static pinmuxPerCfg_t gI2c0PinCfg[] =
{
/* MyI2C0 -> I2C0_SCL -> AC5 */
{
PIN_I2C0_SCL, PIN_MODE(0) | \
((PIN_PULL_DIRECTION | PIN_INPUT_ENABLE) & (~PIN_PULL_DISABLE))
},
/* MyI2C0 -> I2C0_SDA -> AA5 */
{
PIN_I2C0_SDA, PIN_MODE(0) | \
((PIN_PULL_DIRECTION | PIN_INPUT_ENABLE) & (~PIN_PULL_DISABLE))
},
{PINMUX_END}
};
static pinmuxModuleCfg_t gDispPinCfg[] =
{
{0, TRUE, gVout0PinCfg},
{1, TRUE, gI2c1PinCfg},
{0, TRUE, gI2c0PinCfg},
{PINMUX_END}
, I has add code in k3-j721e-vision-apps.dts ,
&main_i2c0 { status = "disabled"; };
'make linux-dtbs', and copy k3-j721e-vision-apps.dtbo to SD card.
But in linux , i can still use i2c0, and mcu2_0 project cann't use i2c0.
Does anything missing?