How can I light a LED to indicate USB DFU data activity?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-07-27 9:36 AM
Using STM32CubeMX to make a DFU bootloader, I want to light a LED whenever USB packets are exchanged, to indicate that a DFU binary is being transferred.
...but I can't find the right callback to place my HAL_GPIO_WritePin (which makes the LED light up.) What is the callback to use?
Labels:
- Labels:
-
Bootloader
-
USB
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-07-28 2:28 PM
I'm thinking that maybe the NOE pin (labeled USB_NOE and activated in Connectivity/USB-Device) may play a role to indicate USB data activity.
The problem is that this NOE functionality is very poorly documented, there are no code samples anywhere.
