Part Number: TMS320F28379D
Hi, my customer is using F28379D controlcard to communicate with laptop through USB.
He used UARTASSIST to send 32bytes data to MCU every 1ms. After he sent 10928 bytes, he only received 10545 bytes.
He uses following functions.
RxLengthFromHost = USBBufferRead((tUSBBuffer *)&g_sRxBuffer, (uint8_t *)&USBRxBuf, USB_RX_LENGTH);
USBBufferWrite((tUSBBuffer *)&g_sTxBuffer,(uint8_t *)&USBRxBuf, RxLengthFromHost);
He is not familiar with RxHandler, it should be called when data is received or called at a constant frequency? If it should be called when data is received, how many bytes of data? Are there any limit of frequency for the host to send data? How many data can be sent by the host at a time to avoid the buffer overflow? I'm not sure why the received data byte number is smaller than the bytes sent, what caused the overflow?
Thanks.