7 years, 2 months ago.

Hexiwear I2C on pins PTB1, PTB0 is still broken

Someone 1 year ago asked about the I2C0 on the K64F of the hexiwear, which has the HTU21D and TSL2561 sensors attached to it. A mbed developer posted that a fix would be published in a day, and the mbed os 5.1.4 does have this line: "HEXIWEAR: Update I2C pin mapping, Add support to create KDS projects."

Still, I find the I2C0 to still not work: it is instanced without errors, but the moment I try to write anything to it the program ends up waiting for all the flags in the I2C channel to be turned off, which never happens.

Any idea what could still be wrong?

Has anyone managed to make it work?

posted by Fabien Pierre 16 Aug 2018
Be the first to answer this question.