STM8S003F3U outputs behaving weirdly during BOR.
I have been working on a battery powered application and am experiencing some strange behavior when the batteries are dying. The LED array is being driven by a PWM signal on PD4 through a FET. When the +4V power line goes down to 2.6xx V, all of the LEDs are turning on. The voltage measured at PD4 (Q1 gate) is measured as 0.003V, but I am seeing around 1.3xx V on the drain of Q1. I thought perhaps the pull-up resistors were driving the low battery led and the transistor, but I shouldn't be seeing 0.003 V on the gate of the transistor if that is the case and the FET should not be on.
Anyone have any insight as to what is going on.
