Teensy Audio Shield Serial Ram - chip compatibility question

Status
Not open for further replies.
Thanks for the detailed explanation @Blackaddr
I'll be ordering some of the IS62WVS5128GBLL-45NLI and I'll report here after installed
 
Be aware the 45 MHz parts have a dummy cycle between the address and the data. The 20Mhz parts don't have that
 
Great. IS62WVS5128GBLL arrived here and soldered on teensy audio

Now I'm trying to update effect_delay_ext.cpp, it is the only effect which uses external RAM.
I'm reading the datasheet and from what I've seen the only difference from the other chips is the dummy cycle. can it be solved like this?
SPI.transfer(0xff);

Code:
		addr *= 2;
		SPI.beginTransaction(SPISETTING);
		digitalWriteFast(SPIRAM_CS_PIN, LOW);
		SPI.transfer16((0x03 << 8) | (addr >> 16));
		SPI.transfer16(addr & 0xFFFF);

		if (memory_type == AUDIO_MEMORY_IS62WVS5128GBLL) {
			SPI.transfer(0xff);
		}

		while (count) {
			*data++ = (int16_t)(SPI.transfer16(0));
			count--;
		}
		digitalWriteFast(SPIRAM_CS_PIN, HIGH);
		SPI.endTransaction();


I still have doubt in operation mode. if I have to write something to the chip before start using it.
like Write Mode Register or something.

Thank you!
 
Status
Not open for further replies.
Back
Top