Hello,
The SW is present on the S32K39x web site under Software tab:
https://www.nxp.com/products/S32K39-37-36

I contains both AUTOSAR and nonAUTOSAR drivers, along with example SW:
Once you install RTD drivers you will see examples in your S32DS or EB tresos:

Regarding HSE there are examples and drivers, but you will find those in your NXP SW account if you have access.
Go to NXP.com -> My NXP account ->Apps and services ->

If don't, please read the FAQ first:
https://www.nxp.com/support/support/secure-access-rights/secure-access-rights-faqs:SEC-ACCESS-FAQS
Best regards,
Peter