Hi,
Is there any reason why the TXINT interrupt for SPI4 is disabled in HALCoGen for the TMS570LS1224_FreeRTOS configuration?
In the file spi.c, the following code is disabling them,
/** - enable interrupts */
spiREG4->INT0 = (spiREG4->INT0 & 0xFFFF0000U)
| (uint32)((uint32)0U << 9U) /* TXINT */
| (uint32)((uint32)%%SPI4:SPI4_RXINTENA%%U << 8U) /* RXINT */
| (uint32)((uint32)%%SPI4:SPI4_OVRNINTENA%%U << 6U) /* OVRNINT */
| (uint32)((uint32)%%SPI4:SPI4_BITERRENA%%U << 4U) /* BITERR */
| (uint32)((uint32)%%SPI4:SPI4_DEYSNCENA%%U << 3U) /* DESYNC */
| (uint32)((uint32)%%SPI4:SPI4_PARERRENA%%U << 2U) /* PARERR */
| (uint32)((uint32)%%SPI4:SPI4_TIMEOUTENA%%U << 1U) /* TIMEOUT */
| (uint32)((uint32)%%SPI4:SPI4_DLENERRENA%%U << 0U); /* DLENERR */
Unfortunately I am using them for my application. So I have reworked HALCoGen configuration files and sources in order to be able to do it.
Regards,
Eddy