Anonymous
Not applicable
Jan 26, 2016
02:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 26, 2016
02:55 AM
Hello
I used cyusb3014+kintex 7 and released stream_in(fpga to PC).
I want turn on led when run stream (read data from cyusb3014 by streamer) and turn of when system in idle state.
I use slavefifosync project in Eclipse, How I can determine the transmission is in progress or not?
1 Reply
Anonymous
Not applicable
Jan 28, 2016
01:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 28, 2016
01:16 PM
Hi,
You can change your DMA Channel from AUTO to AUTO_SIGNAL in the CyU3PDmaChannelCreate API. Now you will get DMA Callbacks whenever a new buffer arrives i.e when data streaming starts. Now you can turn on the LED. When there is no callbacks triggered for quite some time, you can assume that the transfer has stopped and Turn off the LED.
Please refer the example project USBBulkLoopAutoSignal on how to handle a auto signal channel.
Regards,
-Madhu