Hi Daniel Martynek,
I'm designing a PCB using S32K146 and need use RTC in my application. S32K has internal RTC module, so I don't have to use any external I2C RTC module, just place the external oscillator.(that is my understanding).
I understood (correct me if I wrong) that I have to connect a 32.768kHz oscillator at S32K RTC_CLKIN pin.
Like Bharadwaaj RA mentioned above, I didn't find the Vbat pin in S32K to place a backup battery. Should I connect all S32K power pins to a CR2032 3V-battery (for example) to preserve RTC timer in case of external power failure? Like bellow...

Ext_power is from the onboard 12V/5V DC-DC converter.
CR2032 is 3V.
In the scenario where there is no Ext_power, the RTC timer will be preserved by the CR2032 battery.
Thank you for your help and feel free for the proper corrections.
Regards.
Ueliton