Hello,
I am configuring a FlexIO-emulated SPI Master on an S32K324 to communicate with an external SPI slave device. Due to trace routing on our custom board, the physical lines targeting this device are wired to the chip's default FlexSPI0 pins. Therefore, I must use the emulated Flexio_Spi driver stack.
this is my setup
BUS_FLEXSPI0_UP_SBC_CS PTD8 fxio_d11
BUS_FLEXSPI0_UP_SBC_CLK PTD9 fxio_d0
BUS_FLEXSPI0_UP_SBC_MOSI PTD15 fxio_d10
BUS_FLEXSPI0_UP_SBC_MISO PTD22 fxio_d27
My Environment:
IDE:S32 Design Studio for S32 Platform (Version: 3.5, Build id: 240726 Update 13)
CPU : S32K324
SDK: Real-Time Drivers (RTD) Version 4.0.0 (Production Release)
Is there an official NXP application note or guide that illustrates the end-to-end integration stack specifically for RTD 4.0.0? I need a reference that covers everything from assigning the pins in the tool, mapping the shifters/timers, up to initializing the driver in the main application code.
Hello @Kazarian ,
There is no dedicated application note, to my knowledge, that describes the full end-to-end integration of FlexIO-emulated SPI specifically for S32K324 with RTD 4.0.0 and with this exact pin assignment.
The closest official reference is the example project included in the S32K3 RTD package. Please check the RTD example similar to Lpspi_Flexio_Ip_Transfer_S32K344.
Pins configuration
FlexIO SPI configuration
Best regards,
Pavel