On the IMXRT1171, when trying to use multiple slaves with LPSPI EDMA, the SDK doesn't work correctly. The wrong callback is called and the wrong user data is passed.
This is due to a bug in LPSPI_MasterTransferCreateHandleEDMA, where it uses internal static state (s_lpspiMasterEdmaPrivateHandle[]) to keep track of the lpspi_master_edma_handle but only includes one per SPI bus instance. If you have multiple slaves with separate lpspi_master_edma_handles, callbacks, and PCSes on the same SPI bus, that state will end up being overwritten with the last one you configure, causing all receive/send completions to call the incorrect callback.