Hello
how to do the SPI on s32k148 if you have sample code can you please share it
For LPSPI you may find example code in S32 Design Studio.
For QuadSPI there is an application note:
https://www.nxp.com/docs/en/application-note/AN12193.pdf
SPi can be also emulated with using of FlexIO:
https://www.nxp.com/docs/en/application-note/AN12174.pdf