Electronic – Reading and writing SRAM

audiosram

I am setting up a audio delay circuit and i want to store the data on SRAM chip.

I am doing it with a 64khz clock and ideally i would like to write a word in every other pulse and read a word every other pulse so i'm reading and writing at 32khz – with a distance between the word addresses of course.

http://www.alliancememory.com/pdf/AS6C2016.pdf
this is the link to the datasheet…

I was wondering if anyone knows a clever way to alternate addresses with 2 different 16 bit binary counters? or maybe there is an easier way in general to fulfill this task?

Also there isn't a clock pin on this chip which is confusing… do i just oscillate the "chip enable" pin?

Best Answer

Alternatively, you could use a FIFO like this one. These are available with enough memory. Also, you can easily have a variable delay. Simply delay the reading for N milliseconds after the write begins, and you have N milliseconds delay.