ferdem
Full Member level 2
Hi friends! Anybody who succeed to make FT232RL work in CBUS bit bang mode?
I have prototyped FT232RL bus powered configuration and installed combined model driver, I can switch between VCP and D2XX driver by using FT_PROG eeprom programmer. In VCP mode uart functions perfectly but I have problems about how to activate CBUS bit bang mode. CBUS bit bang mode requires D2XX commands. Do I need to switch to D2XX driver? If so, will the uart function continue to work or is there a way to use CBUS pins as GPIO while the device is still in VCP mode?
There is a visual C++ example for CBUS bit bang mode in your website. I have set CBUS pins as IO pins. Then, I have swithced to D2XX by using FT_PROG (comport is disappeared from device manager list and I checked the device in Usbview utility so that I make sure that the device is still recognized by the computer) I have downloaded example c++ program mentioned above. I double clicked exe output in release folder of the project, a form is appeared, there is a combobox in the form to list available FT devices, when I click it an error window appears: No FT232R or FT245R devices found. Any idea will be welcome.
Abovementioned application note does not give detailed information about CBUS bit bang mode.
Thank you for your reading this long post, any comment will be wellcome.
I want to use 4 CBUS pins as GPIO pins while I m using the UART function. According to datasheet, it must be possible but how? I emailed to support@ftdi 2 days ago, they have not reply yet. Here is my email:datasheet of FT232 said:The CBUS pins can also be individually configured as GPIO pins, similar to asynchronous bit bang mode.
It is possible to use this mode while the UART interface is being used, thus providing up to 4 general
purpose I/O pins which are available during normal operation. An application note, AN232R-01, available
from FTDI website (FTDI Chip Home Page) describes this feature
I have prototyped FT232RL bus powered configuration and installed combined model driver, I can switch between VCP and D2XX driver by using FT_PROG eeprom programmer. In VCP mode uart functions perfectly but I have problems about how to activate CBUS bit bang mode. CBUS bit bang mode requires D2XX commands. Do I need to switch to D2XX driver? If so, will the uart function continue to work or is there a way to use CBUS pins as GPIO while the device is still in VCP mode?
There is a visual C++ example for CBUS bit bang mode in your website. I have set CBUS pins as IO pins. Then, I have swithced to D2XX by using FT_PROG (comport is disappeared from device manager list and I checked the device in Usbview utility so that I make sure that the device is still recognized by the computer) I have downloaded example c++ program mentioned above. I double clicked exe output in release folder of the project, a form is appeared, there is a combobox in the form to list available FT devices, when I click it an error window appears: No FT232R or FT245R devices found. Any idea will be welcome.
Abovementioned application note does not give detailed information about CBUS bit bang mode.
Thank you for your reading this long post, any comment will be wellcome.