title: K6x4008 SRAM title_de: K6x4008 SRAM description: Connecting an K6x4008 SRAM to an ATmega2560 description_de: K6x4008 SRAM an ATmega2560 verwenden parent: xyrobot position: 1 comments: true flattr: true github: https://github.com/xythobuz/xyRobot/blob/master/lib/mem.c compat: sram --- [![Photo 1][1]][2] My xyRobot uses a [K6x4008 512K SRAM][3] to store pictures from it's Gameboy Camera. It is accessed via two shift registers, saving some pins. You still need two full byte ports to access the RAM. [![Schematic][4]][5] [Code in the xyRobot GitHub repository][6] [1]: img/ram_small.jpg [2]: img/ram.jpg [3]: http://www.reichelt.de/Drams-Srams/628512-55/3//index.html?ACTION=3&GROUPID=2954&ARTICLE=40088&SHOW=1&START=0&OFFSET=500& [4]: img/ram_small.png [5]: img/ram.png [6]: https://github.com/xythobuz/xyRobot/blob/master/lib/mem.c lang: de [![Photo 1][1]][2] Der [K6x4008 512K SRAM][3] dient meinem xyRobot als Zwischenspeicher für Bilder der Gameboy Kamera. Die Ansteuerung findet relativ pinsparend über zwei Schieberegister (74xx573) statt. Dennoch werden zwei komplette Byteports benötigt. [![Schematic][4]][5] [Dazugehöriger Code im xyRobot GitHub Repository][6] [1]: img/ram_small.jpg [2]: img/ram.jpg [3]: http://www.reichelt.de/Drams-Srams/628512-55/3//index.html?ACTION=3&GROUPID=2954&ARTICLE=40088&SHOW=1&START=0&OFFSET=500& [4]: img/ram_small.png [5]: img/ram.png [6]: https://github.com/xythobuz/xyRobot/blob/master/lib/mem.c