The chip I use is S32K148, and the SDK is RTM4.0.1 version. in the exmple of flexio_spi_s32k148 i found that the transfer and receiver are both spi1,in another words,spi1 not master but slaver.Is this a bug? This is my first puzzle.
Now i change slaver as spi2,as the instruction of flexio_spi_s32k148.
FLEXIO_SPI_DRV_SlaveInit(INST_FLEXIO_SPI1, &flexio_spi2_SlaveConfig0, &flexIOSPIState_Slave); but the result is wrong.This is my secend puzzle.
Thanks!
Hello @SONGTAOSI,
If I do not connect wires following "Hardware Wiring" then slaveBuffer.rxBuffer and masterBuffer.rxBuffer still receive data normally - "LED GREEN lighted". => Maybe this is an issue.
After changing the example code to "flexio_spi2_SlaveConfig0" as you said and connect wires following "Hardware Wiring" then I saw that example also runs normally - "LED GREEN lighted".
I created a ticket ASDK-41425 , the development team will help me analyze this ticket.
Best regards,
Dan