Reply by Paul Burke December 19, 20032003-12-19
Aliasger wrote:

> hi > > anyone has a good site where i can find interfacing the serial EEPROM > with my microcontroller? > > the hardware wiring is pretty simple, but i'm also looking as to how > the MC is going to access the 24C04 in terms of software. > >
All these serial things go the same general way: wiggle the clock, set a data bit and maybe a direction bit too, wiggle the clock again, either read or write the bit, shift the data across. The order in which you do this changes from one to another, as do commands and addressing schemes. Microchip will certainly have examples for the PIC, which is fine if you are using the PIC, but even examples in C that are not specific to your controller won't help much, as it's all about port access. I'd recommend reading the comms protocol closely, and converting it to pseudo code, then turning this into the actual portwiggling for your uC. I've probably got a C example from some years ago (somewhere), but I haven't used these for a long time, and IIRC it was specific to the 80C196. Paul Burke
Reply by TheDoc December 19, 20032003-12-19
"Aliasger" <aliasger_18@hotmail.com> wrote in message
news:d0817e19.0312181017.7cfdaf90@posting.google.com...
> hi > > anyone has a good site where i can find interfacing the serial EEPROM > with my microcontroller? > > the hardware wiring is pretty simple, but i'm also looking as to how > the MC is going to access the 24C04 in terms of software. > > any suggestions? > > - A
Atmel has notes and assembler examples on their site
Reply by Mike Turco December 18, 20032003-12-18
"Aliasger" <aliasger_18@hotmail.com> wrote in message
news:d0817e19.0312181017.7cfdaf90@posting.google.com...
> hi > > anyone has a good site where i can find interfacing the serial EEPROM > with my microcontroller? > > the hardware wiring is pretty simple, but i'm also looking as to how > the MC is going to access the 24C04 in terms of software. > > any suggestions? > > - A
Get a data sheet from the manuafacturer.
Reply by CBarn24050 December 18, 20032003-12-18
try microchips site
Reply by Aliasger December 18, 20032003-12-18
hi 

anyone has a good site where i can find interfacing the serial EEPROM
with my microcontroller?

the hardware wiring is pretty simple, but i'm also looking as to how
the MC is going to access the 24C04 in terms of software.

any suggestions?

- A