cancel
Showing results for 
Search instead for 
Did you mean: 

ST I2C driver problem

interruptcom
Associate
Posted on May 07, 2009 at 12:28

ST I2C driver problem

2 REPLIES 2
interruptcom
Associate
Posted on May 17, 2011 at 13:11

hi,

I'm tested i2c driver library of ST in polling and interrupt mode, and see if slave NACKed the transmission not complete and cpu stoped on while loops.

also some events checked in wrong states. I'm testing i2c on at24c256 and adt7467 with problem on both of them. can anyone help me? :(

budde2
Associate II
Posted on May 17, 2011 at 13:11

We had quite a lot of problems with the I2C core in master and in slave mode. The I2C core seems to have several problems, which causes illegal states.

I would strongly recommend to use a combination of IRQ and DMA, like used in the latest versions of the examples.