Pages: [1]   Go Down
Author Topic: Connect SRAM 23LCV1024 via SPI  (Read 131 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 1
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I try to upgrade the arduino Mega 2560's SRAM from 8 kB to 128 kB.
The first is to conntect the 23LCV1024 with the arduino.
Here you can find a datasheet of the extern SRAM: http://ww1.microchip.com/downloads/en/DeviceDoc/25156A.pdf
According to the shematic of an arduino mega 2560 (http://elmicro.com/files/arduino/arduino-mega2560_r3-schematic.pdf)
I connected the following pins (http://arduino.cc/de/Reference/SPI):

2560-Pin     23LCV1024-Pin    Function
53                        CS (1)             Chip Select Pin
50                       SO (2)             Serial Output
Ground              VSS (4)            Ground
51                         SI (5)             Serial Input
52                       SCK (6)           Serial Clock
nC                      VBat (7)          BackupSupply Input
5V                       Vcc (smiley-cool            Power supply

Furthermore I tested with the standard libraries SPI.h and SPIRAM.h. But I there is output.

Does someone know how to connect the SRAM? Which clock-frequency should I use? And how can I read/write the SRAM?

Thankyou
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I try to upgrade the arduino Mega 2560's SRAM from 8 kB to 128 kB.
The first is to conntect the 23LCV1024 with the arduino.
Here you can find a datasheet of the extern SRAM: http://ww1.microchip.com/downloads/en/DeviceDoc/25156A.pdf
According to the shematic of an arduino mega 2560 (http://elmicro.com/files/arduino/arduino-mega2560_r3-schematic.pdf)
I connected the following pins (http://arduino.cc/de/Reference/SPI):

2560-Pin     23LCV1024-Pin    Function
53                        CS (1)             Chip Select Pin
50                       SO (2)             Serial Output
Ground              VSS (4)            Ground
51                         SI (5)             Serial Input
52                       SCK (6)           Serial Clock
nC                      VBat (7)          BackupSupply Input
5V                       Vcc (8)            Power supply

Furthermore I tested with the standard libraries SPI.h and SPIRAM.h. But I there is output.

Does someone know how to connect the SRAM? Which clock-frequency should I use? And how can I read/write the SRAM?

Thankyou
Logged

Pages: [1]   Go Up
Jump to: