-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
MCAL
-
MCAL-26974
-
MCUSW_J7_10.00.00
-
MCUSW_J7_11.00.00
-
Description:
In the current Implementaion of Mcal Spi, Udma_init() and Udma_paraminit() are called from driver but it has to be called from application .
It has to be similar to Spi_init() which has been called from application.
Based on current implementation, udma can only be used by SPI due to its initialisation in MCAL SPI driver and is unavailable to other application tasks to run DMA.
User faces the trouble to use parallel application tasks which use DMA along with SPI as the driver handle is in SPI driver and cannot be accessed by other application tasks.
Resolution:
Moved Udma init in app rather than in spi_dma