- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am working with CY7c68013 to stream 8 channel 16-bit ADC data from FPGA. I have confugure endpoint 6 as bulkin 512 bytes and correctly entered the packet size in descriptor and fifo auto length registeres. On PC side i am using labVIEW to stream data using cyusb.dll. i have configured bulkin endpoint max packet size to 512 and using a for loop to read multiole 512 byte packets instead of 1 large packet. I am using usbmonitor software to analyze packets and i can see 512 bytes being transferred against requested number of samples.
Let me explain, i have 8 16bit ADC so in a 512 byte packet i am receiving 32 samples per channel simultanrously. So, lets say for 1000 samples per channel i run a for loop for about 62 times and acquire 62 packets (512 bytes each). Every thing is working fine as far as i keep the samples below 3000 after that a see disontinuity in my waveform which is about last 128 samples. I tried changing the max packet size to 1024 and double buffering and 512 with quad buffering but this issue persists unless i reduce the number of samples. And this discontinuity is consistent with all of the channels exactly occouring at the same point. I am struggling with this problem for a week now. Any help would be highly appreciated. Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
same thread: https://community.infineon.com/t5/USB-low-full-high-speed/Data-Not-Synced-In-the-Beginning-CY7c68013...
Please follow the above-mentioned thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
same thread: https://community.infineon.com/t5/USB-low-full-high-speed/Data-Not-Synced-In-the-Beginning-CY7c68013...
Please follow the above-mentioned thread.