cancel
Showing results for 
Search instead for 
Did you mean: 

how Stm32 USB module recognize reset packet

sheng simeng
Associate
Posted on May 27, 2018 at 17:08

hi 

i want to figure out when host send USB_RESET signal to STM32F103, how Stm32 USB module recognize the reset packet?

thanks

#usb_reset
3 REPLIES 3
Pavel A.
Evangelist III
Posted on May 28, 2018 at 14:09

Your code should get callback HAL_PCD_ResetCallback

(usually in usbd_conf.c)

-- pa

Posted on May 29, 2018 at 04:20

thanks for you help.

but, can i use the oscilloscope to capture the reset signal sent by the host? what does it look like?

thanks

Posted on May 29, 2018 at 20:41

Sorry, don't know how it looks on oscilloscope. Use a special USB analyzer, it should show reset events.

- pa