Pages: 1 [2]   Go Down
Author Topic: Any ideas how can one program this SRAM?  (Read 1578 times)
0 Members and 1 Guest are viewing this topic.
London
Offline Offline
Sr. Member
****
Karma: 1
Posts: 269
Arduino has it all
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the details.

- Is the port same as a pin?
- If port is same as a pin, how can I use one port on Due to set 4 ports on SRAM?
Logged

London
Offline Offline
Sr. Member
****
Karma: 1
Posts: 269
Arduino has it all
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

OK, I found some stuff that maybe useful for both 8-bit and 32-bit Arduinos:

   http://tronixstuff.com/2011/10/22/tutorial-arduino-port-manipulation/
   http://forum.arduino.cc/index.php?topic=203047.0
   http://forum.pjrc.com/threads/17532-Tutorial-on-digital-I-O-ATMega-PIN-PORT-DDR-D-B-registers-vs-ARM-GPIO_PDIR-_PDOR
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27425
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Take a look at the Due schematic.
The processor appears to have three 32-bit ports.
Not all pins on all ports are available to you as a user.
You will have to decide which you want to use for address creation, which for data manipulation, which pins to use for control signals.
Pick the pins with software manipulation of bytes in mind for address & data.
Keep contiguous bits where you can so you're not stuck doing a lot of manipiulation to send out an address or read in a databyte.
I've not used a Due before, I'm just going by what makes sense to me as hardware designer try to make the software as easy as possible.

* arduino-Due-schematic.pdf (67.22 KB - downloaded 9 times.)
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Sr. Member
****
Karma: 11
Posts: 358
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That is one thing I never understood about boards made by the arduino team. They never seem to break out all the pins and yet charge lots of money for the boards. I am sure they can break out more pins and still make a big profit. Also according to the datasheet http://www.atmel.com/Images/doc11057.pdf Right on the first page you will notice
Quote
Static Memory Controller (SMC):
SRAM, NOR, NAND support. NAND Flash
controller with 4-kbyte RAM buffer and ECC
The SAM3X8E family of parts has for External Bus Interface
Quote
16-bit data,
8 chip selects,
23-bit address
« Last Edit: June 30, 2014, 10:17:43 am by Mr_arduino » Logged

Rapa Nui
Offline Offline
Edison Member
*
Karma: 60
Posts: 2086
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What about this:
http://forum.arduino.cc/index.php?topic=220918.0
8MBytes, 11 wires only, compatible with EMB-SMC bus, existing driver for DUE interface with 4.3MBytes/sec - see the topic.
You can connect several modules in various configurations.
It has got an autoincrement, so you set the initial address and then just write/read the data..
« Last Edit: July 05, 2014, 06:45:55 pm by pito » Logged

Pages: 1 [2]   Go Up
Jump to: