Closed andresovela closed 7 months ago
@andresovela, thanks for the report. Added @DavidJurajdaNXP to help check the improvement.
Hi @andresovela, thank you for comment. At this point we are no longer planning to extend the FreeRTOS API by new functionality. Drivers are currently in maintenance mode only, where we concentrate only on correction of critical issues.
Is your enhancement proposal related to a problem? Please describe. The API
fsl_lpspi_freertos
component does not allow the user to provide a completion callback. Such APIs already exist for thefsl_lpspi
andfsl_lpspi_edma
componentsSee:
LPSPI_MasterTransferCreateHandle()
infsl_lpspi.h
LPSPI_MasterTransferCreateHandleEDMA()
infsl_lpspi_edma.h
Describe the solution you'd like A similar API for
fsl_lpspi_freertos
that allows the user to provide a completion callback.Describe alternatives you've considered
Additional context I need this API to do some other work in the same FreeRTOS task, rather than blocking the task until the mutex is released by the SPI driver.