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. What is the callback to use?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-07-25 9:38 AM
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-25 9:54 AM
I'm finding methods like EP0_TxSent and USBD_LL_DataInStage, but I'm not finding a simple interrupt or callback to indicate 'a USB data packet was sent or received.'
I want to implement that interrupt and blink my GPIO connected LED inside it.
