You are here

stream_in state | Cypress Semiconductor

stream_in state

Summary: 1 Reply, Latest post by Madhu Sudhan on 28 Jan 2016 01:16 PM PST
Verified Answers: 0
Last post
Log in to post new comments.
Exigo's picture
16 posts


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?


mady's picture
Cypress Employee
964 posts


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.



Log in to post new comments.