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.

CC2642R: CC2642 I2C drive strengh and library rebuild

Part Number: CC2642R
Other Parts Discussed in Thread: CC2640, SYSCONFIG

Similar to Ed Hepler's post on the CC2640, I am in need of better drive on the I2C port pins. Unfortunately the I2C_open() function sets them to minimum drive.  I have modified the driver code, but since the CC2642 has the drivers in ROM I am unsure of how to move just this one driver to Flash.

in I2CCC26XX.c:

static int I2CCC26XX_initIO(I2C_Handle handle, void *pinCfg) {
I2CCC26XX_Object *object;
I2CCC26XX_HWAttrsV1 const *hwAttrs;
I2CCC26XX_I2CPinCfg i2cPins;

|

|

/* Configure I2C pins SDA and SCL*/
i2cPinTable[i++] = i2cPins.pinSDA | PIN_INPUT_EN | PIN_OPENDRAIN | PIN_DRVSTR_MAX;
i2cPinTable[i++] = i2cPins.pinSCL | PIN_INPUT_EN | PIN_OPENDRAIN | PIN_DRVSTR_MAX;
i2cPinTable[i++] = PIN_TERMINATE;
/* Allocate pins*/
object->hPin = PIN_open(&object->pinState, i2cPinTable);

Thanks.