Hi,
Q1) When sending a packet to the host with USBDCDCPacketWrite(), what method is there to send a packet of 64 bytes or more?
The F2838x USB Library USER'S GUIDE has the following description.
---------------------------------------------------------------------------------------------------
The maximum value for ui32Length is 64 bytes (the maximum USB packet size for the bulk endpoints
in use by CDC). Attempts to send more data than this will result in a return code of 0 indicating
that the data cannot be sent.
---------------------------------------------------------------------------------------------------
I would like to know if there is a method other than splitting the packet and sending it.
Q2) I would like to know how to clear the receive buffer sent by the host. Currently, it is cleared by USBBufferInit(). Is this method correct?
Best regards,
Sasaki