2023-10-04 02:14 AM
Hi,
I am using comp2 for our project ( STM32WB5MM )were we use INP Plus and INP Min Pins for the comperator,
for INP plus I Use the PB4 and For INP Min i want to use the Pin PB3 or PB7 but unfortunately I am not getting interrupt at disered voltage, but if I just change INP Min Pin to PA4 everything works properly and i don't understand why its working for only PA4 pin and not for others...
2023-10-05 09:01 AM
Hello @VJani.11
According to the datasheet, after resetting, these pins are configured as JTAG/SW debug alternate functions, and the internal pull-up on PA15, PA13 and PB4 pins and the internal pull-down on PA14 pin are activated.
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.