Skip to main content
sheng simeng
Associate
May 27, 2018
Question

how Stm32 USB module recognize reset packet

  • May 27, 2018
  • 3 replies
  • 885 views
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
This topic has been closed for replies.

3 replies

Pavel A.
May 28, 2018
Posted on May 28, 2018 at 14:09

Your code should get callback HAL_PCD_ResetCallback

(usually in usbd_conf.c)

-- pa

sheng simeng
Associate
May 29, 2018
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

Pavel A.
May 29, 2018
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