cancel
Showing results for 
Search instead for 
Did you mean: 

I2C2 SMBus commands on STM32F030CC

karlis
Associate II
Posted on January 26, 2016 at 22:12

Hello everyone.

I was trying to use STM32F030CC  to communicate with device which uses SMBus, through I2C2(which does not support SMBus).

It acknowledges my first write command but afterwards that I2C2 is Busy and hungs.

I noticed that I can't edit I2C2 TIMEOUTR register with I2C_TimeoutAConfig and I2C_TimeoutBConfig, which are SMBUS management functions. 

Also I2C2 gets busy and hungs after 

http://www.cs.indiana.edu/~bhimebau/f3lib/html/group__I2C__Group3.html&sharpgac01ac1f4eb453b830a8efb3f83649a0d

 command, which is SMBUS management function too.

Can someone please confirm my concern that I2C2 can't be used with SMBus in any way? 

#stm32f030cc #smbus
1 REPLY 1
Radosław
Senior
Posted on January 26, 2016 at 22:20

Look to reference manual I2C2 don't have SMBUS functionality