This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB Device. Transmission stops after some values.

Hello, I am trying to use the USB middleware from Keil. But I have the problem that the transmission stopps after some values.

I send an ASCII code from the host to my device ( STM32F769I-Eval). After this request, the device sends 2048 float values. But after after 85 values the transmission stops.

                for(int k = 0;  k<2048; k++)
                {
                        sprintf((char*)outString,"%i\t%f\n", k, values[k]);
                        USBD_CDC_ACM_WriteData(0U,outString,strlen((char*)outString));
                }

This is the code what I use for the transmission. Are in the middleware any function which limits the numbers I can send after a request from the host? Or how can I solve my problem?

Kind Regards
Alex