Hello,
Absolutely, let's break down what's happening with your KM35 microcontroller and its VBAT supply, and address your concerns about potential damage.
Understanding the VBAT Pin and Supercapacitor Setup
VBAT Pin: This pin is designed to provide a backup power supply to the Real-Time Clock (RTC) and potentially other low-power functions within the microcontroller, ensuring that the time and certain settings are preserved even when the main VDD supply is off.
Supercapacitor (3mF): This acts as a temporary energy storage device. When VDD is present, the supercapacitor is charged through the 10K resistor. When VDD is removed, the supercapacitor discharges slowly, providing power to the VBAT pin.
10K Resistor (R549): This resistor limits the charging current to the supercapacitor, preventing damage to the VDD supply or the supercapacitor itself.
The Problem: VBAT Falling Below 1.71V
You've correctly identified the critical point: when VBAT falls below 1.71V. This is because the microcontroller's datasheet specifies the operating requirements for VBAT.
What Happens When VBAT < 1.71V?
Loss of RTC Functionality: The most immediate consequence is that the RTC will likely stop operating reliably. The timekeeping accuracy will be compromised, and any data stored in the RTC's backup registers may be lost.
Undefined Behavior: When a microcontroller operates outside its specified operating range, its behavior becomes unpredictable. The microcontroller may still function to some extent, but there's no guarantee that it will operate correctly.
Potential for Latch-Up: Latch-up is a phenomenon where parasitic transistors within the CMOS structure of the microcontroller turn on, creating a low-impedance path between VDD and ground. This can lead to excessive current flow and potentially permanent damage.
While modern microcontrollers have latch-up protection circuitry, operating outside the specified voltage ranges increases the risk.
Possible Damage: While not guaranteed, prolonged operation below the minimum VBAT voltage can stress the internal circuitry of the microcontroller, potentially leading to long-term degradation or even permanent damage.
Best Regards