I'm struggling to get SPI working on the S32K148EVB-Q176 eval board.
Matlab R2020a, Mode-Based Design Toolbox 4.2.4
I have an external SPI peripheral that I'm attempting to communicate with using SPI1.
I have modified the SPI Master example to match the pinout and configuration of the S32K148EVB-Q176 and have added a couple additional GPIO LED blink blocks from other examples to ensure that the model is executing as intended.
The blue LED (constant blinking) and red LED (toggle based in interrupt from button) are both working correctly (so the model is executing and interrupts are working), but the green LED (SPI transfer END interrupt) never comes on. I don't see any level changes on any of the clock, data, or chip select pins on an oscilloscope. CS is held high, CLK is held low, MOSI (PTA27) is held high, MISO (PTA29) is low. If I remove the SPI blocks from the model, all of these pins remain low during execution.
So it seems as though the SPI1 instance is being initialized successfully, but data transfers are not occurring.
I'm not sure what I might be missing. Any assistance in getting the data transfers to occur would be appreciated. Model is attached.

