AnsweredAssumed Answered


Question asked by Blubimo on May 18, 2015
Latest reply on May 19, 2015 by Blubimo
Hello everyone,

I'm working on a project where I have to use the USB functionality of the STM32F072CB and I'm not sure how I should use it in the end.
The job of the STM32F0 in my application is to programm another controller (STM32F1) and some other stuff. The programming of the STM32F1 should be done via USB.
Therefore I have to get the data from a PC and programm the other controller.

My question(s) are:
1. What is the best mode to do this? HID or VCP? I'm tending to the VCP variant because I can use any terminal on my PC.
2. I tried this one out a little. I created the source code via the cubemx. The PC recognizes the controller as a com port. My problem is, that I don't want to use the HAL. Simply because I've already written some code for my application and I don't have the time to get into using the HAL.
I've searched for some example for the STM32F0. I found an example for the HID or for STM32F1 VCP but I could find a example for the STM32F0 VCP. Is there any little example I haven't found yet?

It would be nice if you could give me your feedback