-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Urgent
-
MCAL
-
MCAL-30352
-
-
-
MCUSW_J7_11.00.00
-
Description:
From the changes done in SPI in SDK 9.2 to SDK 10.0 , while using AUTOSAR OS the SPI DMA Rx interrupt is not received . If we use udma_chdisable API in SPI DMA Tx ISR handler and Rx ISR handler able to receive more interrupts but fails on different data lengths and different sequences.
Whereas in baremetal we never face this issue for different data lengths, AUTOSAR OS expects to clean the channel after every transaction by using udma_chdisable after transfer is completed.
Resolution:
Fix order as dmaRx->dmaTx.
Remove redundant calls in Spi_DmaTransferStart/Restart
clear respective intr in Tx/Rx IS
Root Cause:
SPI DMA Tx/Rx ordering was incorrect in original implementation