Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] 2 ATmega128 sharing one external SRAM?

2005-03-26 by David Kelly

On Mar 20, 2005, at 8:10 AM, Philipp Adelt wrote:

> Dual ported RAM is way too expensive and hard to get (considering that
> 128Kx8 can be had in under $1 a pop) and so focus is on stuff like
> 628128-70. This is a 128Kx8 SRAM available in SOP-32 with seperate data
> and memory bus pins, /OE and /WE. The data bus is bidirectional and 
> only
> driven during read operations (== /OE low).

How fast must each CPU access the shared RAM? Not video speeds, I 
presume?

Then why not consider a serial RAM? Put it on the SPI bus on each CPU. 
Then if you can't accept only one AVR as master the other as slave you 
only have to deal with a voting scheme to determine which AVR gets 
master status.

Would be interested in why you think you need two CPUs rather that one 
CPU twice as fast.

--
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.