cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Discovery Board

jfelix
Associate II
Posted on January 03, 2011 at 09:49

Hi,

I'm trying to write a driver for i2c communication for the Stm8L discovery board.

After the Start (Master mode) is generated if I try to send an adress nothing happens and the i2c clock is hung at low level.

I an using  high speed internal clock and i2c at 100kHz.

Does anybody has an idea?

Many thanks,

Felix

1 REPLY 1
Stm32User
Associate II
Posted on January 28, 2011 at 23:16

HI felix 

Please post some code. 

Be aware on the STM8Lxxx peripherals you need to enable the clock before anything will work!