CY3014 stop working after a while

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lich_4062331
Level 1
Level 1
10 replies posted 5 replies posted First reply posted

Hi eyeryone:

     i am working with cy3014 Some time,with default driver and AN65974. In AN65974, I have added iic controller to achieve my peripheral equipment control. I use the (control center) and (streamer) for testing.after a while of testing,it has been stopped. i did not know what have  happened,but i have a way to solve this problem,

     (1)Send command to FPGA to stop generating data,

     (2)reset x81.

     after this,i can work normally again。

     Please give me some thoughts on this phenomenon,thank you!

0 Likes
1 Solution

Hello,

If Watermark value of 2 is used in the firmware (16-bit data bus), then the FPGA must be able to write 2 data words after the assertion of Flag-B. After 5 cycles of assertion of Flag B, Flag A needs to be asserted (pulled low by the FX3 firmware). Is this condition is being met?

I see that the SLWR and Flag A is de-asserted. Please make sure that the entire DMA buffer is filled, i.e. SLWR is being asserted till 2 more data words are written after the assertion of Flag B. If this is not satisfied, then the DMA buffer is not filled and not committed to the USB side. This may be the cause for the issue.

Please refer to the Figure 13. in AN65974 for the waveform.

You can use a logic analyzer to probe the signals on the GPIF side and check if the SLWR is asserted only after completely filling the DMA buffer, else there will be no buffer committed to the USB side.

To check if the issue is from the firmware, you can continuously assert (pulled low) the SLCS, SLWR signal on the GPIF side, and stream IN the data using the streamer application.

If possible, can you please connect a Serial device to the UART lines of the FX3 to get the debug prints?

Thanks,

Yatheesh

View solution in original post

15 Replies