Hello,
I am trying to use the CC2541 I2C clock and data lines as GPIO output. It is not working and don't know where the problem is. Configuration looks straight forward. Could someone confirm this is correct and this is all that is needed to configure?
12CCFG = 0; // disable I2C module
I2CWC = 0X80; // configure as GPIO. SDA, SCL output enable, no pull-ups
I2CIO bit 0 set or clear for SDA output high/low
I2CIO bit 1 set or clear fpr SCL output high/low