Thanks @VaneB.
we're using the S32K142 in a safety-related application, and the safety manual states:
[SM_078] Before executing any safety function, a high quality clock (low noise, low likelihood for glitches) based on an external clock source shall be configured as the system clock of the S32K14x and S32K14xW.
So based on that assumption, we've opted for the external oscillator as input for the SPLL, which we're using also on other non-safety products to ensure sufficient clock stability and accuracy. So your recommendation seems to contradict the assumption in the safety manual.
Coming back to my question: The controller provides error flags to indicate a loss of clock (LOC) or loss of lock (LOL). There's nowhere a description, how these flags are actually computed. For my analysis I think I need more details to be able to assess if a drift of the external clock-source is picked up by these flags or not. And if yes, which extend of drift would be detectable. Could you please provide additional details on these error flags to allow me to complete my analysis.
Thank you, Matthias
PS: I posted my question in this non-safety product forum, because I feel the general functionality of the "loss-of-lock" detection should be independent of the safety classification of the application.
\\// Matthias