hi !!! I am having problem with reading and writing data to FRAM using the I2C bus. I am using FM24CL16 connected to MSP430F1610. I have tried using the sample application code of EEPROM+I2C on the same ( i changed the address of FRAM) , but im unable to read and write. The problem is that I2CDRB register doesnt get updated with the new value. Can someone please tell me how to go about ? Thanks in advance for any help Regards Swetha
Readin and writing to FRAM on the I2C Bus ?
Started by ●September 10, 2005
Reply by ●September 10, 20052005-09-10
hi,
did you wached the line of the i2c bus (a scope or logic analyzer)
if you do not have such equipment use a software i2c master (easier to debug)
and 2 multimeters, one for each line. run stepping through the code and see if
there is a problem.
if it is working then you have a speed related problem or a flow in the code
when using the hardware on the chip. to check if there is a speed related
problem use a scope or try running the i2c at low speeds.
avram
swetha_34 <swetha.mani@swet...> wrote:
>hi !!!
>
>I am having problem with reading and writing data to FRAM >using the I2C
>bus. I am using FM24CL16 connected to MSP430F1610. I have >tried using
>the sample application code of EEPROM+I2C on the same ( i >changed
the
>address of FRAM) , but im unable to read and write. The >problem is that
>I2CDRB register doesnt get updated with the new value.
>
>Can someone please tell me how to go about ?
>
>Thanks in advance for any help
>
>Regards
>Swetha
>
__________________________________________________