32.768 kHz Crystal Not Starting or Running Slow? Fixes
Why a 32.768 kHz RTC crystal will not start, or loses seconds a day: gain margin, wrong load capacitors and stray, with ST AN2867's formulas.
Why a 32.768 kHz RTC crystal will not start, or loses seconds a day: gain margin, wrong load capacitors and stray, with ST AN2867's formulas.
When a 3.3 V output already reads as HIGH at 5 V, how the BSS138 shifter works, why its 10k pull-ups fail 400 kHz I2C, and when two resistors are enough.
A 10-bit Arduino ADC resolves 4.9 mV but can be 130 mV wrong. Resolution vs accuracy, ENOB = (SINAD − 1.76)/6.02, INL/DNL, and what averaging fixes.
A UART tolerates about 4.6% total mismatch at 16x sampling, 3.9% at 8x. Why 115200 on a 16 MHz Arduino is 2.1% off, and why 14.7456 MHz crystals exist.
Pull-up resistors have a minimum set by sink current and a maximum set by rise time and leakage. Worked I2C example at 400 kHz, plus MCU internal pull-ups.