466576266
Member level 1
- Joined
- Mar 22, 2010
- Messages
- 36
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- ShangHai,China
- Activity points
- 1,541
Dear all,
i meet with a problem recently, and i need your help.
I'm trying to read and write from the 24AA01 using the I2C .
my design is this: first, i write a data 0x88 into the 24AA01(address 0x02).then, i want to read the data(0x88) from the 24AA01. theoritically, i will get athe data 0x88. but what i get is 0xFF. and whatever i change the data , i can only get the data 0xFF. i donnt know what's wrong with my code, maybe something wrong with the hardware.
the picture and the c code are attached.
so, i need your help.thank you.
[/img][/code]
i meet with a problem recently, and i need your help.
I'm trying to read and write from the 24AA01 using the I2C .
my design is this: first, i write a data 0x88 into the 24AA01(address 0x02).then, i want to read the data(0x88) from the 24AA01. theoritically, i will get athe data 0x88. but what i get is 0xFF. and whatever i change the data , i can only get the data 0xFF. i donnt know what's wrong with my code, maybe something wrong with the hardware.
the picture and the c code are attached.
so, i need your help.thank you.
[/img][/code]