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.

PIC18LF8720 I2C Communication with 24c512?

Status
Not open for further replies.

qwertyuiop415263

Full Member level 4
Joined
Mar 26, 2010
Messages
231
Helped
50
Reputation
102
Reaction score
39
Trophy points
1,308
Location
Pakistan
Activity points
2,414
I have successfully used MPLAB C-18 library to store data in 24cxx devices.
My question is how to modify the C-18 library to work for 24c512 EEPROM as it reqiures 16-bit address.
 

you just have provide two byte WORD ADDRESS instead of one byte which u used to do in 24CXX
& your device address doesn't contain page address...
 

In 24cxx devices we provide 1 byte address while i have to provide 2 byte address. Now how to provide 2byte address? I am using C-18 library function " EEByteWrite"
 

C18 ids 8 bit device... it doesnt matter....
just perform two write cycles....
8 bit each... if you folllow datasheet of 24C512 u can easily understand dat...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top