A live write of the countdown value is not staged until the next period. NXP says a new T takes immediate effect and that the update is asynchronous to the timer clock. Writing it while TE remains enabled can corrupt the counter load for that first interval. The stored value is still correct and can reload normally on subsequent periods. This explains why one interval can be wrong without the external crystal having changed frequency.
Follow the recommended stop, write and restart sequence, and handle any prior timer event according to the application. Disabling the interrupt output alone does not stop counting. Even a correctly restarted timer has a documented phase uncertainty. At a 64 Hz timer source and T=64, Table 36 allows 64 to 65 source cycles for the first interval, nominally 1 to 1.015625 seconds. Later intervals are nominally one second. That supported range is not the undefined interval caused by a live update.
Capture the write, TE state and several following events using the same reference. A read of Timer_value returns the current count rather than the original preload, so retain the bus write separately. Validate first and later intervals individually instead of blaming the 32.768 kHz crystal for a firmware update race.
Related selection guide: MERLIN Crystal Timing: Qualifying PCF8563 Wake-Up: Match the Timer Flag, Output Mode and MCU Pin Pulse | Crystal & Oscillator Handbook
Resource link: https://www.mecxtal.com.cn/en/handbook/pcf8563-wake-pulse.html
