FTDI bit-bang mode with Processing on OS X (possibly D2XX)
in
Integration and Hardware
•
2 years ago
Hello,
I am wondering if anyone has gotten FTDI's bit-bang mode to work in Processing on OS X. I'm thinking probably with FTDI's D2XX drivers, but anything else that works would be fine too!
In case anyone is unfamiliar with this; FTDI has a mode where you can use any of their recent USB->Serial chips to access the pins directly over USB. One of the higher-end chips is the FT4232;
FTDI makes a driver/library for this mode called D2XX and they have Mac, Linux and Windows versions, but they are written in C
They also have 2 different Java implementations, but from what I can tell they seem to be Linux/Windows only;
I found a couple abandoned forum posts that ask similar questions;
This is promising from one of the java implementations for Linux/Windows, but it's too vague for me to figure out so far;
Also this sounds good "FTD2xxj Stub in Java for OS X" but I'm not sure how to use it with Processing, or if it's even the right thing.
Anyways, I'm going to keep playing around with this, but if anyone has any ideas or has gotten it to work, please let me know!
I'm trying to send data to an FPGA from Processing, and it's bogging down using regular serial at 230.4kbps. I'd love to be able to use fast USB2 to communicate with the FTDI chip and then have it send 16 bits in parallel to my FPGA, which then controls a large LED grid.
thanks!
-Skot
1