Skip to main content
VJani.11
Associate
October 4, 2023
Question

COMP 2 INPM some Pins are not working as expected

  • October 4, 2023
  • 1 reply
  • 950 views

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

 

This topic has been closed for replies.

1 reply

Technical Moderator
October 5, 2023

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 "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL