Complete procedure to implement USB on STM32F107 chip - detailed and working ! Please.
Hello,
I am using STM32CubeIDE to implement an application under FreeRTOS on a STM32F107 chip installed on an Olimex board.
I also need a USB communication with a PC computer to exchange commands and data between our software on both sides (application specific)
- I installed (validated) the USB module via STM32CubeIDE Middelware.
- In "Connectivity" for "USB_OTG_FS" selected "Device_Only"
- In "Middleware - USB_Device", signal "Class For FS IP", I selected "Custom Human Interface Device Class (HID)"
- That's it
Then, I downloaded the whole thing (including FreeRTOS and a small LED blinking app) into the chip but it does not work :
- The PC does not beep when connecting the STM32F107 chip card via USB
- The LED is not blinking
So I still have no proof that something is running or if the CPU is stalled ?
I have an ST-Link cable. Is it possible to check what is running or not through debug ? If yes, how ?
Please note, the cable, the connection and the chip work since I use this channel to download the program (successfully)
Question:
- What exact procedure should I follow to install this USB functionality?
- Isn't it necessary to install/configure/start something in FreeRTOS for the USB to work?
- ...
Thanks for your help.
--
Mde / Belgium
