cancel
Showing results for 
Search instead for 
Did you mean: 

COMP 2 INPM some Pins are not working as expected

VJani.11
Associate

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...

 

1 REPLY 1
FBL
ST Employee

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.

FBelaid_0-1696424959783.png

 

 

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.