my spi set as follows:
/* Initialize each Spi hardware units using*/
Lpspi_Ip_Init(&Lpspi_Ip_PhyUnitConfig_SpiPhyUnit_0_Instance_0_VS_0);
/* Update Framesize */
Lpspi_Ip_UpdateFrameSize(&MASTER_EXTERNAL_DEVICE, 8U);
/* Update Transfered Bit order */
Lpspi_Ip_UpdateLsb(&MASTER_EXTERNAL_DEVICE, FALSE);
/* Update Transfer Mode */
Lpspi_Ip_UpdateTransferMode(MASTER_EXTERNAL_DEVICE.Instance, LPSPI_IP_INTERRUPT);
/* Master starts transfer, synchronous method is used */
Lpspi_Ip_SyncTransmit(&MASTER_EXTERNAL_DEVICE, TxMasterBuffer, RxMasterBuffer, NUMBER_OF_BYTES, TIMEOUT);
it work for SyncTransmit,but i want change to AsyncTransmit,i just change function "Lpspi_Ip_SyncTransmit(&MASTER_EXTERNAL_DEVICE, TxMasterBuffer, RxMasterBuffer, NUMBER_OF_BYTES, TIMEOUT);" to "Lpspi_Ip_AsyncTransmit(&MASTER_EXTERNAL_DEVICE, TxMasterBuffer, RxMasterBuffer, NUMBER_OF_BYTES, (Lpspi_Ip_CallbackType)spi_callback);" . i think it should work, but it not work. what can i do ?