AnsweredAssumed Answered

STM32F303 USB Cube CDC app

Question asked by k.kvresto on Jul 28, 2016
Latest reply on Jul 30, 2016 by k.kvresto

Some re-edit required:


I have used STM32cubeMX to create a USB CDC application for the NUCLEO-F303RE board. I can connect to the host PC as a CDC, so thats fine.

I now want to find in the source code where is the code that initialises the microcontroller IO ports to configure them for USB alternate function, for example a statement like:

GPIO_InitStruct.Pin = GPIO_PIN_12;”, and

GPIO_InitStruct.Alternate = GPIO_AF14_USB;”.

I also want to find where in the code is the source that sets up the serial port, usually COM1 to function as the other CDC input port.  I would like to experiment and get very familiar with this application.

Can some please help me find this code.

Thanks for help