Here are my notes so far. Any comments or issues please let me know. I think I am on the right track.
Here are my notes so far. Any comments or issues please let me know. I think I am on the right track.
Why do you want to connect a tiny additional memory to your PI ?
There is no reason why it couldn't work - it just seems a bit odd.
MK
I have to confess, I was thinking the same
If the memory would have been powered from a different power supply I would have thought it was used as a (pseudo) non volatile memory. But I see it is powered from the 3.3V rail as the rest of the RPi board.
The big question is why do you need an external SRAM of 32KB when you have 256 or 512MB in the rest of the system. If it would have been an RTC chip, this would have made more sense, but 23K256 ...
Help me, but what is RTC chip?
Also need to understand how to get CS to stay HI and go down. Maybe an inverter chip? which one?
Thanks,
Clem
Hi Clem,
RTC is the acronym for the real-time clock. Raspberry Pi doesn't have one. Normal PCs have a variant of this chip on their motherboard and it is powered from a small Lithium battery or a rechargeable.
Ok!
I have learned that I should use pins 24/26 as CE0/CE1 instead of pin15(GPIO 22) because this alleviates me writing extra code. I plan on using Python SPIDEV from GitHub...
Thanks for Elektor Academy - Hardware Hacking the RPi pointing this out. Excellent if you want the details
Question: What to do with HOLD pin? I need it to stayhHigh. Also how to make the CS pin be high but go low when transmitting?
Thanks,
Clem
Hi Clem,
Use a pull-up resistor (10K should be just fine) with the HOLD pin.
The CS handling is done by the driver.
I found an example here involving MCP3008. This chip uses an active low chip select as well as the 23K256. Good luck!