dmitrystu / libusb_stm32

Lightweight USB device Stack for STM32 microcontrollers
Apache License 2.0
713 stars 163 forks source link

STM32F303xC AF for PA11 and PA12 #71

Closed aam335 closed 3 years ago

aam335 commented 3 years ago

Same problem as STM32F373xC. Possibly all "C" has same "feature".

dmitrystu commented 3 years ago

Fortunately, this is documented right, at least in the DocID026415 Rev 5 (F303D/E Datasheet) and DS9118 Rev 14 (F303B/C Datasheet). But in the DocID022691 Rev 7 (F373xx Datasheet) the USB pins defined as Additional Function for the PA11 and PA12, but in fact, it's an Alternate function 14. I have found this by tracing the internal bootloader.