A lot of good ideas above but the newer ST micros don't require the 1.5K ohm external resistor because they have a built in Pull Up implementation, check your micro's reference manual.I am using the STM32G0B1RET and I was having a similar issue. What...