libftdi Archives

Subject: libftdi bitbang events?

From: Paul E Ourada <paul@xxxxxxxxxxxxxxxxxxx>
To: "libftdi@xxxxxxxxxxxxxxxxxxxxxxx" <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Feb 2019 20:02:24 +0000
I have a question that I can't seem to find an answer for. I have been working with an FTDI 4232H device in bitbang mode for the last 9 months or so, among other things, on a Raspberry Pi data collection platform. Most of it has been in conjunction with controlling an Exar SP339 transceiver, and a FET to control power to the serial device. Pretty easy stuff. 

Now my employer wants to read the state of a momentary switch, but without having to stand on the device polling it every few milliseconds. I saw that the Rpi python GPIO library has a capability to get an event on the Rpi GPIO lines. 

I know that these are different from the FTDI GPIO lines. But I was wondering if anyone had implemented similar event driven functionality using libftdi? Or alternatively, could point me in a direction to implement such functionality myself? I'd be happy to contribute back to the project, if it can be done. From looking at the device docs, I'm not sure it can.

Thanks in advance,

Paul E Ourada

Principal/Owner

BluSkai Systems, LLC

paul@xxxxxxxxxxxxxxxxxxx

(m) 303-396-2872



Paul E Ourada

Principal/Owner

BluSkai Systems, LLC

paul@xxxxxxxxxxxxxxxxxxx

(m) 303-396-2872



libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx


Current Thread