This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RDK - using i2c from application

Guru 20755 points


Hi,

I'm using DM814x with RDK 4.2 and need to configure external video device which is connected to i2c-1 

(bus 1). I thought of using i2c_rdwr utility (/dvrrdk/dvr_rdk/mcfw/src_linux/utils/i2c_rdwr/ ) , but I see that it is configured in source code to work with bus #3:

#if defined(TI_814X_BUILD) || defined(TI_8107_BUILD)
#define I2C_DEFAULT_INST_ID (3)
#endif

#ifdef TI_816X_BUILD
#define I2C_DEFAULT_INST_ID (2)
#endif

Should I change it ic code ? If yes - won't it change behaviour of other devices which are already using this utility in RDK ?

Thanks,

Ran