Replies: 2 comments 1 reply
-
|
After some searching I see that disconnection event is handle from GINTSTS register GINTSTS_DISCINT bit.
On the code searching for GINTSTS_DISCINT there is a comment code on device interrupt handler.
on void hcd_int_handler(uint8_t rhport, bool in_isr) I dont see any interrupt handle about disconnection event. on static void handle_hprt_irq(uint8_t rhport, bool in_isr) from stm32u575 reference manual , about this bit, it looks like that does rise interrupt for disconnection:
|
Beta Was this translation helpful? Give feedback.
-
|
I will check if I can find the dev board, USB on-the-go full-speed (OTG_FS) USB on-the-go high-speed (OTG_HS) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I work using stm32u575 as a host for CDC devices , the problem I came across is that disconnection callback never called.
How tiny usb handle disconnection ? where in the code I must code.
Also I want to inform that I dont se vbus sense. Is this critical for disconnection ?
Beta Was this translation helpful? Give feedback.
All reactions