Hallo,
I want to connect my pic (16f876) to a huge 1024Kx8 Nonvolatile SRAM(Dallas: DS1270y-100), but I really don't know, how i could manage this both on hardware(-> how to wire, ?external devices nedded?) and software(-> I mean my c code).
1 pin for write
1 pin for read
1 pin for cs (not necessary)
8 pins for data
20 pins (2^20 = 1024) for address pins
I think that you do not have so much pins on the pic. So you have to use a extra device (latch).
How much pins are left for the connection to your SRAM?
are you sure that you have enough pin on the PIC16F876. For a direct parallel connection you will need at least 29 pins!!! But the 876 is in an 28 pin package. Perhaps you should use the 877.