Part Number: CC1312R
I have an issue with the I2C communication between a custom board and an external sensor (SHT21). Runnint TI-RTOS. The communication works flawless running on 400KHz. When lowered to 100KHz TI-RTOS reports that the communication failed even tho I can see on a oscilloscope that the data was sent and the sensor responded with acks. The strange thing is that if I step through the code in I2CCC26XX_transfer() once, the communication starts working and continues to work, running free, until next reset.
Could it be some kind of timing issue in the driver? Didn't find any similar thread, so I still believe the problem is on "my" side. The pullups are totally 1.8 KOhm, which to me feels little low. I see that the microcontroller is unable to drive SDA and SCL to 0V, bottoms out at around 500mV but the SHT21 is able to get it down to zero volts so the CC1312 should see the ack (which it does on 400KHz).
I will try to change the pullups, in the meantime maybe someone has some insights?
Setup:
CCS Version: 9.2.0.00013
Simplelink CC13x2_CC26x2_sdk_3_10_00_53
GCC 7.2.1
TI-RTOS
ti/drivers/I2C.h
/Henrik