Other Parts Discussed in Thread: CC2541, CC2640
Hi,
I have your CC2541 Sensortag wired as a I2C slave to my system with our custom firmware ( stack 1.4.0).
BLE is advertising correctly but upon connecting to the BLE module the I2C SCL gets weakly pulled low ( down to 0.8V ). Please note that the logic 0 driven by the CC2541 when the device is answering a read request (outside this lock up situation) is much lower ( around 0.1 V)
If i disconnect the phone from the bluetooth device the SCL line goes back to the nominal value.
Reported below is the I2C status during the problem; I don't see anything unusual register wise.
To manually exit this issue I have to set the OVR =1, enable pull up for both SCL and SDA, enable output, setting SCLD, SDAD to 1, setting ENS1 =0.
At this point the I2C bus recovers.
To have IC starting to work again on the CC2541 acting as a slave device I have to set back OVR =0, and ENS1 =1.
This sounds like some sort of CC2541 internal supply issue, I need insight on how to address it.
Thanks
Paolo