ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Среда
1 мая
1186341 Топик полностью
Aleksey_75 (11.03.2022 15:11, просмотров: 195) ответил Aleksey_75 на Кто поднимал USB на STM32G0x серии подскажите плиз, в упор не вижу пина VBUS (USB detect), как контроль подключения разъема определяли ? через exti?
Для истории оставлю! Насколько понял любой пин можно назначить на VBUS, проверил в кубе. Изначально фраза и DS смутила "When VBUS sensing feature is enabled, PA9 should be left at its default state (floating input), not as alternate function. A typical 200 μA current consumption of the sensing block (current to voltage conversion to determine the different sessions) can be observed on PA9 when the feature is enabled." оказалось что индусы тупо скопировали из прошлых даташитов https://community.st.com/s/question/0D53W0000181P0gSAE/hi-alli-want-to-use-a-stm32g0b1-mcu-in-both-usb-device-modes-selfpowered-as-well-as-buspowered-how-does-the-stm32g0b1-want-to-detect-connection-of-a-host-controller-to-be-able-to-connectdisconnect-the-dppullup