- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have configured the UART in SOPC Builder with RTS/CTS,
but I don't want to use it in software. If I have no cable attached (CTS high), program hangs. How can I clear the device flag "ALT_AVALON_UART_FC" by software ??? static void alt_avalon_uart_txirq (alt_avalon_uart_dev* dev, alt_u32 status) { /* Transfer data if there is some ready to be transfered */ if (dev->tx_start != dev->tx_end) { /* * If the device is using flow control (i.e. RTS/CTS), then the * transmitter is required to throttle if CTS is high. */ // !!!TF // if (!(dev->flags & ALT_AVALON_UART_FC) || // (status & ALTERA_AVALON_UART_STATUS_CTS_MSK)) if(1) thanksLink Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page