Hi, I have been working with the tm4c129 in order to create a data acquisition device, using 8 channels of the ADC0 and USB 2.0 HS (ULPI). The data acquisition (DAQ) must send the data to my PC without any cuts, but I am having a problem with that. I have configurate de ADC to work with 30 KHz of sampling frequency per channel ( as I said I am using 8 channels) and the USB is working with an ULPI device in order to obtain more speed, but it seens to not be enough.
Please watch the figure an you will understand what is the problem:
To obtain the data from the TM4c129 I am just sending at the begining a command to start the analog to digital conversion, the ADC data goes through a DMA channel directly to the USB transmitter buffer "g_pui8USBTxBuffer" then the data is sended to the PC, the command of the begining is not sended again, the DMA channel fills the USB buffer and continue with the sendings, the packet size contains 2000 values from the ADC, so that means 250 values from each channel.
What I would like to know is a way to find out wich of the devices (PC or MCU) is generating this problem, in other words, wich of them is the slower, I know that a PC is obviusly a faster devide, but maybe is a code problem, because, maybe is not very optimized (I am using the commands from the USB bulk device example from TIVA ware). Also, does anyone knows any other way for data acqsitioning?? is really bulk trasmition the fastest way??
Thanks
