USB GPIO Alternate function
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-03-25 5:59 PM
Posted on March 26, 2013 at 01:59
I am using STM32L152 evaluation board. I realized that the USB HID module does not configure the USB D+ D- line as GPIO Alternate function. I wonder that what is the usage of GPIO Alternate function for USB?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-26 1:55 AM
STM32 products usually distinguish pin functions between "alternate" (require Alternate Function Register programming apart from peripheral configuration) and "additional" (peripheral configuration suffices).
STM32L152 probably has these pins as Additional and not Alternate. This can vary between different MCUs. Read each MCU datasheet for detailed information.
