Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ksachdeva/ftdi
GoLang bindings for FTDI MPSSE library (D2XX)
https://github.com/ksachdeva/ftdi
bindings cgo embedded-systems ftdi ftdi-232h ftdi-chip golang spi
Last synced: 5 days ago
JSON representation
GoLang bindings for FTDI MPSSE library (D2XX)
- Host: GitHub
- URL: https://github.com/ksachdeva/ftdi
- Owner: ksachdeva
- License: apache-2.0
- Created: 2018-01-25T17:50:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-27T00:10:10.000Z (almost 7 years ago)
- Last Synced: 2024-06-20T10:45:07.403Z (5 months ago)
- Topics: bindings, cgo, embedded-systems, ftdi, ftdi-232h, ftdi-chip, golang, spi
- Language: C
- Homepage:
- Size: 43.9 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## FTDI MPSSE
## Example - Arduino as a SPI Slave
There is a very simple SPI master program [hello_arduino.go](spi/example/hello_arduino.go) in the example directory that illustrates how to use the API.
Also included is the Sketch [hello_sketch.ino](spi/example/hello_sketch.ino) for Arduino. The sketch is quite simple; all it does is that it waits for a message with '\n' as the
last character to arrive and if it sees it then it sends it over the serial line.### Hardware used to test the implementation
adaFruit FT232H breakout board
https://learn.adafruit.com/adafruit-ft232h-breakout#### Wiring
| Signal| Arduino Pin | FT232H Pin |
| ------| ------------| ---------- |
| Clock | 13 | D0 |
| MISO | 12 | D2 |
| MOSI | 11 | D1 |
| CS | 10 | D3 |