Question
VBUS fireworks ( STM32F407 drawing 50ma over PA9 )
Posted on August 18, 2015 at 14:50
Hi all,
in another Thread it is mentioned and confirmed that bootloader v2.0 will configure the stm32f105/7 devices usart1 in a way that vbus detection pin pa9 will draw about 45ma. (/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM32F105%20PA9OTG_FS_VBUS%20Issues&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=1763
)I am working with a STM32F407 and experiencing more or less the same, but not just using the bootloader but whenever i configure the usb to monitor pa9. I tried this with 2 different projects, same behaviour. Finally i tried the discovery board, same here with the provided codeexamples. demonstration demo: ~85ma, Audio usb playback demo:~130ma, after cutting the VBUS/PA9 line: ~90ma. Since on 2 of my STM32F407 PA9 is now internally shorted to VCC this seems to be a rather serious issue (with 25 max allowed sinking current for io pins ).Can anyone confirm this error? Is there any workaround ( i could configure the pin as input and monitor it myself, but would be nice to use the hardware and not mess around with the usb code ) null