Does CCS have an I2C routine specicfically written to access the EEPROM memory on 12CE518's? Has anybody tried the standard I2C routines for this job with any success? I'm getting ready to port the Microchip ASM code into a C function, and don't want to reinvent the wheel here.
Not asked: WHAT was microchip smoking when they decided to access internal EEPROM memory with an I2C routine???
-- Lawrence
___________________________
This message was ported from CCS's old forum
Original Post ID: 1089
Charlie U Guest
Re: Special I2C routine for 12CE518 internal EEPROM
Posted: Tue Nov 13, 2001 3:46 pm
:=Does CCS have an I2C routine specicfically written to access the EEPROM memory on 12CE518's? Has anybody tried the standard I2C routines for this job with any success? I'm getting ready to port the Microchip ASM code into a C function, and don't want to reinvent the wheel here.
I suppose the answer is yes. There are pre-defined I2C functions that are used to read and write I2C. These are the main reason I started using this compiler. There is an example file, CE51x.c, in the Drivers subdirectory that shows how to use the I2C functions to access the EEPROM in the CE51X parts. It is essentially a driver include file. Just include this file and use the functions to access the EEPROM.
:=
:=
:=Not asked: WHAT was microchip smoking when they decided to access internal EEPROM memory with an I2C routine???
:=
:=-- Lawrence
... and then giving us only .5k or 1k to access it with!?! ;-)
___________________________
This message was ported from CCS's old forum
Original Post ID: 1090
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum