Coder Social home page Coder Social logo

wawa1474 / arduinodueparallel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from delsauce/arduinodueparallel

0.0 1.0 0.0 140 KB

Library to enable the External Memory Bus/Static Memory Controller on the Arduino Due board.

C++ 51.69% C 48.31%

arduinodueparallel's Introduction

ArduinoDueParallel

Library to enable the External Memory Bus/Static Memory Controller on the Arduino Due board. It's more of an external memory interface than a true parallel port.

The DUE board pins out the data bus on the extended digital headers along with the control signals NCS1 and NWR. Some of the address signals are connected to the PWM pins (A0-A5), but a full address bus is unavailable. There is also conflict between the SS1 pin for SPI and the NRD signal used for the parallel bus. In short the hardware wasn't designed for use with external parallel memories.

The library does allow connection to some of the lower resolution LCD controllers that used index addressing and can speed up read/write times considerably.

To use this library, place the files in a folder under the libraries directory in your sketches folder.

See the examples folder for more usage.

PINOUT

Address Bus:

A0 PC21 PWM9 A1 PC22 PWM8 A2 PC23 PWM7 A3 PC24 PWM6 A4 PC25 PWM5 A5 PC26 PWM4 A6 PC27 N/C A7 PC28 PWM3 A8 PC29 PWM10 A9 PC30 RX LED A10 PD0 PIN 25 A11 PD1 PIN 26 A12 PD2 PIN 27 A13 PD3 PIN 28 A14 PD4 TXD0 A15 PD5 RXD0 A16 PD6 PIN 29 A17 PD7 PWM11 A18 PA25 MISO A19 PA26 MOSI A20 PA27 SPCK A21 PD8 PWM12 A22 PD9 PIN 30

Here is the data bus:

D0 PC2 PIN 34 D1 PC3 PIN 35 D2 PC4 PIN 36 D3 PC5 PIN 37 D4 PC6 PIN 38 D5 PC7 PIN 39 D6 PC8 PIN 40 D7 PC9 PIN 41 D8 PC10 N/C D9 PC11 N/C D10 PC12 PIN 51 D11 PC13 PIN 50 D12 PC14 PIN 49 D13 PC15 PIN 48 D14 PC16 PIN 47 D15 PC17 PIN 46

And the control signals:

NRD PA29 SS1/PWM4 (also tied to PC26 on PCB, which is A5) NWE PC18 PIN 45 NCS0 PA6 AD4 NCS1 PA7 PIN 31 NCS2 PB24 N/C NCS3 PB27 PWM13

arduinodueparallel's People

Contributors

delsauce avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.