The flexio_spi_master_interrupt_dspi_slave example shows how to use flexio spi master driver in interrupt way:
In this example, a flexio simulated master connect to a dspi slave .