Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

eeprom AT24c1024 -problem with value more than 127 of a byte

Status
Not open for further replies.

sri45

Junior Member level 2
Joined
Jun 12, 2006
Messages
22
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
Hyderabad
Activity points
1,401
eeprom

Hi,

I have a problem handling in eeprom AT24c1024

While handling a vlaue less than 127 of a byte
There is no problem in handling reading and writing.

While handling a value more than 127 of a byte
The response while reading eeprom is FF.

Can some one suggest me what could be the problem..

Thank you...
 

Re: eeprom

may be the variable you are using is char
so by default it is signed char(-128 to +127)

so change it to unsigned char(0 to 255)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top