Hi,
finally I got it - thanks for report. There are two very same header defines for spi_pal and pwm_pal and - #define PAL_mapping_H
When PAL_mapping_H is defined by pwm_pal - spi_pal_mapping is disabled and vice versa. I'll create ticket for SDK team.
The SPI functions in pwm_pal is known issue. It is fixed in S32SDK_S32K14x_BETA_1.9.0
As workaround change In spi_pal_mapping.h file PAL_mapping_H define to:
#ifndef SPI_PAL_mapping_H
#define SPI_PAL_mapping_H
Don't forget that by re-generating PE code will be the change rewritten by Processor Expert. The #define issue is also fixed in S32SDK_S32K14x_BETA_1.9.0
Hope it helps.
Jiri