Skip to main content
MSchl.2105
Associate II
July 25, 2021
Question

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 u

  • July 25, 2021
  • 1 reply
  • 751 views

..

This topic has been closed for replies.

1 reply

MSchl.2105
Associate II
July 25, 2021

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.