Microprocessor and Memory Basics

Writing data to memory

The process of writing data to memory is usually referred to as storing data to memory from the processor. All three of the system buses are involved in this process.

    • 1. Set the address (of the memory location) on the address bus.
    • 2. Set the read/write wire of the control bus low (i.e. request a write operation).
    • 3. Set the address valid control wire high.
    • 4. This address valid signal, together with the value on the address bus will activate the chip select wire on the appropriate memory chip.
    • 5. Place the value to be stored onto the data bus.
    • 6. The value on the data bus is then written into the correct memory location.
    • 7. The read/write wire is now set high, while the address valid and chip select wires can now all be set low.

Both the memory write and the memory read timing diagrams are generic examples. Each processor architecture varies in terms of the signal wire names and the exact timings when signals change.