Custom Board using STM32Duino | SerialUSB + PB0
Posted: Tue Aug 29, 2023 4:33 pm
Hello,
I have a custom board with STM32F405 using PlatformIO with STM32Duino core (not maple).
I have several pin conflicts. I need to use PB0, PB5, PB1, PA5 as analog inputs. However, I have a SerialUSB (USBC) which is setting them up as USB_OTG_HS. Which doesn't let me read those pins as analog inputs.
How can I get those pins working correctly? I would appreciate any ideas or help.
I have a custom board with STM32F405 using PlatformIO with STM32Duino core (not maple).
I have several pin conflicts. I need to use PB0, PB5, PB1, PA5 as analog inputs. However, I have a SerialUSB (USBC) which is setting them up as USB_OTG_HS. Which doesn't let me read those pins as analog inputs.
How can I get those pins working correctly? I would appreciate any ideas or help.