- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would need to implement an emulation of hw flow control (rts/dtr) with USBUART (USBFS) module of CY8C3866LTI.
I see the fonction USBUART_GetLineControl() to "read" the emulated "pins", but I cannot find out how to "write" pins by software to let the PC know, for instance, that the PSoC "uart" device is currently unavailable to receive more data.
How can I "write" to those emulated pins with the PSoC ?
Solved! Go to Solution.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
USBUART doesn't have feature to edit RTS/DTR using API .The host can set it anytime by using a SET_CONTROL_LINE request and returns it to the user code using the USBUART_GetLineControl() API. You can make use of USBFS_DisableOutEP() API which disables the specified USB endpoint to NAK OUT transfers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
USBUART doesn't have feature to edit RTS/DTR using API .The host can set it anytime by using a SET_CONTROL_LINE request and returns it to the user code using the USBUART_GetLineControl() API. You can make use of USBFS_DisableOutEP() API which disables the specified USB endpoint to NAK OUT transfers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I use or make a SET_CONTROL_LINE request ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SET_CONTROL_LINE request can be made by host not by PSoC.