Hello NXP Team,
I used MPC5777C_MCAL4_3_RTM_1_0_2 version of MCAL for SPI configuration to implement SPI+DMA asynchronous send function, but after configuration, when calling setup_EB and spi_AsyncTransmit interface to send 4-byte data in 100ms cycle, It is found that spi has been in Pending state and can not be sent successfully. Do you have the project of MPC5777C_MCAL4_3_RTM_1_0_2 version MCAL using DMA to realize SPI asynchronous sending for reference?
Screenshot of the MCAL configuration is as follows:
Sorry the problem is solved after the DMA channel polling arbitration is modified, and if the priority arbitration is used, the priority of AUX is higher than the priority of TX, and the priority of RX is lower than the priority of TX, SPI can be sent normally.