AnsweredAssumed Answered

AFR settings for USB pins using CubeMX

Question asked by p.ben on Nov 10, 2014
Latest reply on Jan 7, 2015 by dziengeleski.seth
I am using the CubeMX interface to setup MSC class USB device software for my STM32L1 device.
I notice that as part of USB initialization nowhere in the code are the GPIO AFR settings corresponding to USB DM and USB DP pins (PA11 & PA12) being set. Isn't this an issue?
The reset value for the AFR registers are listed in the datasheet as 0, which certainly isn't associating these pins with USB.

Thanks
Ben

Outcomes