|
![]() USB
![]() Admins - Please Read
|
| next newest topic | next oldest topic |
| Author | Topic: Admins - Please Read |
|
jones9268 New Member |
I posted the message below and I didn't get a satifactory answer yet. I want to use the RTS and DTR lines as general purpose output lines that I can use to reprogram my device. When the CP2102 is first connected to a PC these lines are logic 1. When the VCP is opened, they fall to logic 0. Is there a way to avoid having them go to logic 0. The USBExpress literature seems to indicate that there is through the SI_HELD_INACTIVE option Thank You, Chris Jones ------------------------------ I would like to use the modem control signals of the CP2102, RTS and DTR, to reprogram the flash memory of my device. The USB Express development kit has a function SI_SetFlowControl that allows the control lines to be held in active with the value "SI_HELD_INACTIVE". Does this capabilities exist in the VCP driver?
IP: Logged |
|
DavidM Administrator |
Hi Chris, This is the default behavior of a real com port. There is currently no way to disable this feature in the VCP driver. David IP: Logged |
|
hacker New Member |
The default behaviour of these pins is set by the DCB Flags and the SetCommState Windows API. Set the flags to 0x80000000, call SetCommState and then Open to initialize DTR and RTS low on open. IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() |
|
Have you seen our MCU Knowledge Base?