Hi,
I am working with the TMS320F28377D and I have connected a USB cable to it. I have used the USB bulk examples and modified the code on the microcontroller as well as the Visual Studio code. I am currently sampling the ADC and transferring the data to the computer. Using an oscilloscope, I am seeing that the sampling rate is very consistent, but the USB data transfer is not. Most times, it is able to transfer the data fast enough (where the data is a 64-byte packet, 64x8-bit, which means 32 16-bit ADC samples), but sometimes the data transfer takes too long and samples are lost. Is there a way to make the USB priority in Visual Studio? Or any changes I can make to the microcontroller code to have the USB transfer be more reliable?
Thank you,
Dyon