Bit-bang FTDI USB-to-serial converters to drive SPI devices

DSC_0023

Scott W Harden writes , “The FT232 USB-to-serial converter is one of the most commonly-used methods of adding USB functionality to small projects, but recently I found that these chips are capable of sending more than just serial signals. With some creative programming, individual output pins can be big-banged to emulate a clock, data, and chip select line to control SPI devices.
This post shares some of the techniques I use to bit-bang SPI with FTDI devices, and some of perks (and quirks) of using FTDI chips to bit-bang data from a USB port. ”

See the full post on Scott Harden’s blog .

Check out the video after the break

 

Join the Conversation

3 Comments

  1. A bit sad that you are using a knock off Saleae device unless you are not using Saleae software.

  2. Also interesting to note that arduino’s use the DTR signal to reset the device. I found this out because repetier was able to do this with a marlin firmware on Arduino 2560. Not all usb to serial chips have this signal as an output pin though. I wanted to send gcode through my own program in c#.

Leave a comment

Leave a Reply to Ralph Doncaster Cancel reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.