Detect fifo status in firmware | Cypress Semiconductor
Detect fifo status in firmware
Is there a way to detect if data is in an endpoint buffer without through the FX3's cpu. I have an application that sends data to the GPIF port and then over USB 3 to a PC using IN Endpoint 2. The DMA channel is setup to transfer the data automatically. I want to detect if the endpoint buffer has data, that is, it is no longer empty. I need to detect this within the firmware so using external flags will not help. Does anybody know of a way to do this?