Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I am trying to program a slave fifo sync firmware with a FPGA.
I am observing my flags on my oscilloscope.
1st Problem: with cypress control center, when I try to transfer a file out using cypress control center.
I can see that bulk out transfer successful but no flag changes.
2nd problem. when I send data using Tranfer data out in control center we normally generate only zeroes. and I can see the zeroes recieved correctly in my FPGA. But when I send some hexadecimal (Data to send(Hex)). I recieve in FPGA only 0xFFFFFFFF all the time..(FLAGS WORK PROPERLY IN THIS CASE WHEN DATA TRANSFER OUT IS USED)
I am trying to send the file given by cypress in slave fifo application in loopback application named "Text.txt"
DMA BUFFER SIZE at usb 3.0 superspeed is 1024 bytes and my DMA manual channel size is set to 16384 bytes
I am using data file out to send this file and normally data transfer out button.
I dont change the bytes to transfer when I am sending a file.
Apart from that my new observations are
I cannot send(or see a flag) if and only if my buffer size is 1024 bytes or a multiple of it.
Looks wierd but cant understand why. Even if I transfer one byte of data I can see my flag going high but not with 1024 bytes or any multiple of it even I see a flag if I transfer 1023 or 1025 bytes also.