Hallo drew
Sieh dir mal dieses Tutorial an http://www.diller-technologies.de/stm32.html#i2c

Gruss