cancel
Showing results for 
Search instead for 
Did you mean: 

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?

MSchl.2105
Associate II
 
1 REPLY 1
MSchl.2105
Associate II

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.