I am testing SPI communication on S32K314.
It was confirmed that the correct data was output through Lpspi_Ip_SyncTransmit.
status = Lpspi_Ip_SyncTransmit(&SLAVE_EXTERNAL_DEVICE, pTxData, pRxData, length, 1000);
if( LPSPI_IP_STATUS_SUCCESS == status ) {
retval = true;
}
However, even if Interrupt is set, the Finish interrupt does not occur.
status = Lpspi_Ip_Init( &Lpspi_Ip_PhyUnitConfig_SpiPhyUnit_0_Instance_0 );
if( status != LPSPI_IP_STATUS_SUCCESS ) {
}
IntCtrl_Ip_InstallHandler(LPSPI0_IRQn, Lpspi_Ip_LPSPI_0_IRQHandler, NULL_PTR);
IntCtrl_Ip_EnableIrq(LPSPI0_IRQn);
Lpspi_Ip_UpdateTransferMode(SLAVE_EXTERNAL_DEVICE.Instance, LPSPI_IP_INTERRUPT);
So, we are trying to communicate through Lpspi_Ip_AsyncTransmit.
However, correct data is not output through Lpspi_Ip_AsyncTransmit.

Values 0x01, 0x02 ~ 0x20 are being transmitted as test values, but it appears that only the first 3 bytes are transmitted as correct values, and the rest are transmitted as garbage values.

If there is anything you can help me with, please do so.