I’ve spent the better part of 2 days attempting to get SPI 23K256 RAM chips to communicate with an arduino. I’ve tried 3 arduino boards (168, 328 & uno), two 23K256 chips, wired them with and without voltage dividers and logic level shifters.
I’ve tried several SPI and SPISRAM libraries found on the internet.
I’ve also read countless reports of others having similar issues and come to the conclusion these chips hate me. I view anyone claiming they've made this work skeptically.
At this point I'm contemplating sacrificing animals to the God of Peripheral Interfaces. For the sake of stray neighborhood cats, any advice would be appreciated.
I powered the chips off the arduino 3v3 pin and ran CS, SI and SCK thru a spark fun Logic Level Shifter (and also ran them thru an adafruit nxp0108 breakout board). I tired using 1k8/3k3 R voltage dividers too and with and without a pullup on CS. I get data out of the chip, but its gibberish. Thx.
BTW, you might be interested to know there is now an SPI SRAM chip with
larger store size, which runs at 5V or 3.3V, and comes in DIP8 besides SOIC8.
I'm using this chip, and it's much more convenient than SOIC8 and 3.3V.
Although this may not be a factor, the other thing is, if you use a pin other
than Arduino D10 for CS, you still have to set D10 = output, else the SPI
peripheral will revert to slave mode.
Is that a "feature" a bug or just a gotcha? would seem to me to be more valuable If the cs pin could be set rather than accommodated for. This topic has raised it's head many times under different seeming subjects only for this to be the "Fix"..