Hello,
You can look at the flash_partitioning_S32K116 example located in the S32DS File -> New -> S32DS Project from Example.
Also, document AN11983 Using the S32K1xx EEPROM Functionality can be useful
https://www.nxp.com/docs/en/application-note/AN11983.pdf
I hope it helps.
Best regards,
Diana