external memory interface to use different peripherals on Arduino Mega

frank26080115:

bubulindo:
What I was referring to is that writing to an external address is simpler and faster than communicating by I2C or SPI. And this board can do this.

Ok so what are you trying to communicate with?

The Wiznet chip is a good example, you could place parallel ADs, alphanumeric LCDs, memory...

I'm not trying to communicate, I don't even own a Mega board. But that it would be a nice thing to have, it would...

Graynomad:
All you need to access up to 64k external RAM is a 74xx373 latch. Add a few IO lines and you can access as much RAM as you like in pages.

Whether or not the C compiler handles this I'm not sure. At ASM level IIRC any access above normal RAM is trapped by hardware and sent to the external.


Rob

I believe the C compiler works if you specify a pointer to the desired location.