[En-Nut-Discussion] STM32 I2C

Achim achim_muc1971 at gmx.de
Thu May 21 17:26:03 CEST 2015


Hi,

 

what´s the actual strategy with I2C on STM32F1? I´m not sure if to take twi
or i2cbus_v2?

 

I´ve tried: NutRegisterTwiBus(&twiBus, 0); / NutTwiMasterTranceive(&twiBus,
TMP100_I2C_DEV_ADDR, &reg_index, 1, &data, 2, TIMEOUT_I2C); but it crashes
often.

 

What´s the recommended procedure for init / transaction?

Currently I´m using nut 5.2.2, but if recommended I can also upgrade to
5.2.4

 

Thanks!

 

Achim



More information about the En-Nut-Discussion mailing list