cancel
Showing results for 
Search instead for 
Did you mean: 

RESOLVED -- Problem with I2C_EEPROM example on STM3220G-EVAL board

rgrimes
Associate II
Posted on August 08, 2011 at 22:05

I am trying to run the IC_EEPROM example on the STM3220G-EVAL evaluation board, and I cannot get it to work.  Jumper JP24 is not installed, so I believe it is writable.  When I run the example, the LCD display shows the error message ''Communication ERROR! Try again after resettting the Board'', but of course, that doesn't help.

The program hangs in the first call to sEE_WriteBuffer, immediately after sEE_Init. Looking into that function, I see it is timing out and calling the user callback function that indeed results in the above error message.

The IOE (I/O Expander) works properly, so it doesn't seem to be a problem with the I2C, per se.

Any ideas?

2 REPLIES 2
Nickname12657_O
Associate III
Posted on August 09, 2011 at 15:07

Hi,

JP24 must be installed.

cheers,

STOne-32.

rgrimes
Associate II
Posted on August 09, 2011 at 23:00

Thanks, that did it.  I got caught by a doc bug in the board doc (UM1057), which states (in Table 4):

  The EEPROM is in Write Protection mode when JP24 is fitted.

  Default Setting: Not fitted

I thought that was backwards, and I thought I had tried with the jumper in, but maybe not, because it now works (with JP24 installed, of course!)\

Thanks!