Parallel library for Due External Memory Bus/Static Memory Controller

Thanks :slight_smile: If you add the addresses to the library I'll check it with a SRAM.

I managed to attach to the pin for port C 27 without soldering 8) You need an IC pigtail clip like this:

http://www.coolcomponents.co.uk/catalog/hook-with-pigtail-p-805.html

Straighten the ends a little with sharp-nose pliers and cut a little off the plastic sheath, and cover the outsides of the ends with an etch-resist pen to insulate from the adjacent pins. Use this sketch to help you get the right pin.

// Address A6 / Port C 27 test by stimmer

// Port C 27 is above the right edge of the SPI connector
// it is the 7th pin from the bottom right end of the SAM3X

// Output on port C 27 is high impedance for
// 1 second, followed by 5 short HIGH/LOW pulses

// Output on Port C 26 (to the left of C27) is HIGH whilst C27 is Hi-Z
// and Hi-Z whilst C27 is blinking

// Output on Port C 28 (to the right of C27) is HIGH for 0.5 sec then 
// LOW for 0.5 sec whilst C27 is Hi-Z, and Hi-Z whilst C27 is blinking

// Using this you can tell if you have the right pin, and if you are
// accidentally touching one of the adjacent pins.

void setup() {                
}

void loop() {
  pinMode(3,OUTPUT);     
  pinMode(4,OUTPUT);

  PIOC->PIO_PER = 1<<27;  
  PIOC->PIO_ODR = 1<<27;
  digitalWrite(3, HIGH);  
  digitalWrite(4, HIGH);   
  delay(500);             
  digitalWrite(3, LOW);  
  delay(500);             
  digitalWrite(4, LOW);   
  pinMode(3,INPUT);     
  pinMode(4,INPUT);
  PIOC->PIO_OER = 1<<27;
  for(int i=0;i<5;i++){
    PIOC->PIO_SODR = 1<<27;
    delay(100);
    PIOC->PIO_CODR = 1<<27;
    delay(100);
  }

}

A9 is the north side of the RX led and can be attached with an unmodified pigtail clip.