AnsweredAssumed Answered

STM32 HAL CDC example

Question asked by Lukasz Przenioslo on Nov 25, 2015
Latest reply on Nov 25, 2015 by Lukasz Przenioslo
Hello there,
I am trying to use usb device cdc protocol for my device. I have sucessfully generated code with CubeMX and the COM port is visible on my connected PC. The problem is, I cannot find any examples on how to send/ receive data using that virtual com port. I have searched in the examples but I think the only show usb-> serial adapter, the data is automatically forwarded to uart port. I was wondering how Can I receive data in interrupts, DMA and etc. I cannot find send/ receive functions in the code... I would really apreciate all help.

Outcomes