Difference between revisions of "Dragino SPI"
From Wiki for Dragino Project
(→Introduction) |
(→Introduction) |
||
Line 2: | Line 2: | ||
The Dragino MS12 has a SPI interface from Ar2317 which is already used for the Serial Flash. We use the GPIOs to simulate a second SPI interface and communicate with other SPI devices. | The Dragino MS12 has a SPI interface from Ar2317 which is already used for the Serial Flash. We use the GPIOs to simulate a second SPI interface and communicate with other SPI devices. | ||
− | + | GPIO defination while simulated as SPI interface: | |
GPIO0 <---> Reset | GPIO0 <---> Reset | ||
GPIO1 <---> MOSI | GPIO1 <---> MOSI |
Revision as of 03:36, 19 September 2011
Introduction
The Dragino MS12 has a SPI interface from Ar2317 which is already used for the Serial Flash. We use the GPIOs to simulate a second SPI interface and communicate with other SPI devices.
GPIO defination while simulated as SPI interface: GPIO0 <---> Reset GPIO1 <---> MOSI GPIO2 <---> MISO GPIO3 <---> SCK
Send message to Arduino via SPI
example codes are available for download in http://www.dragino.com/downloads/examples/spi_incoming/