2023-01-24 02:32 AM
I am trying to transmit/receive data via Virtual COM port in the STM32L5xx using the USB CDC libraries. I understand that the entry to the CDC_Receive_FS() would give me an entire packet of data that I enter on the serial terminal.
I would like to know if there is a way to just read a single character upon entry to the CDC_Receive_FS() and read the data in successive callbacks?
Any leads on this would be really of help.
Thanks,
Janani
2023-01-24 02:45 AM
No. Receive does not receive; it enables the packet reception, and the packet may be anything from 0 to endpoint size (usually = 64) bytes.