problem using OTG_FS_VBUS pin like gpio output
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-07-16 12:57 AM
Posted on July 16, 2014 at 09:57
Hi,
I�m using pin A9(OTG_FS_VBUS) like GPIO and I have configured it like output. The problem is that when cpu boots it sets pin to high level, after cpu executes my gpio init routine and the pin works well and I set it to low level. The problem is gpio attach a relay and when cpu starts the init pulse produces a non desiderable conmutation. I think the problem is the alternate function of the pin for usb, but I don't know how can I deactivate it to avoid the init high pulse. I have tried to pull down externally and left it floating too, but in both cases the pins goes high at start.The cpu boot from flash memory(BOOT1 =X, BOOT0 = 0) and the cpu is a STM32F205RF. Thanks. #usb-pin-vbus #usb-otg-fs #stm32
Labels:
- Labels:
-
USB
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-08-06 3:42 AM
Posted on August 06, 2014 at 12:42
Hi,
Don't think there is an activated alternate function but may be there is a pull-up for this pin. Check your schematic. -Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
