I want to use i2c0 in 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}
};
But, it does not work. Add code like this, right?
Harware is ok, In csirx_capture_test_main.c i can use i2c0 visit the serdes.