Hello Gaston,
The FlexIO SPI driver doesn't support CPOL=1 (idle high), but as mentioned in the KL27P64M48SF2RM, you can manually change the pin polarity of the timer used for SCK generation to support this:

In FLEXIO_SPI_MasterInit():
timerConfig.triggerSelect = FLEXIO_TIMER_TRIGGER_SEL_SHIFTnSTAT(base->shifterIndex[0]);
timerConfig.triggerPolarity = kFLEXIO_TimerTriggerPolarityActiveLow;
timerConfig.triggerSource = kFLEXIO_TimerTriggerSourceInternal;
timerConfig.pinConfig = kFLEXIO_PinConfigOutput;
timerConfig.pinSelect = base->SCKPinIndex;
timerConfig.pinPolarity = kFLEXIO_PinActiveLow;
About the CS pin, you can manually change the pin muxing to GPIO instead of the FlexIO so you can manually control it.
Regards,
Gerardo