Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

SRAM addressing /writing

Status
Not open for further replies.

patroclus

New Member
csaba911 posted this schematic some time ago.

It addresses the RAM chip and WE using counters. The problem is, when counter is at zero (cleared), WE is enabled. then it gets disabled, and then it changes to address 1 and enables WE again at the same time.

Doesn't the address need to be stable before actually pulling WE down??
Does this circuit really work anyway??

thanks. :)
 

Attachments

  • adc_sram_444.gif
    adc_sram_444.gif
    8.1 KB · Views: 424
SRAM has a setup time and a recovery time. The setup time is how long after WE and the address are asserted you have to wait for the data to be writen. Recovery time is how long you have to wait after a write to begin another transfer. Same idea for reads. It shouldn't matter if you assert WR at the same time as the address as long as you wait the required time. I've seen some SRAMs that let you reduce the setup time if you assert the address beforehand but it shouldn't matter if you wait the right amount of time. The Data is writen or read on the rising edge of the strobe.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top