nxp-mcuxpresso / mcux-sdk

MCUXpresso SDK
BSD 3-Clause "New" or "Revised" License
323 stars 142 forks source link

LPSPI RTOS driver needs a completion callback #51

Closed andresovela closed 7 months ago

andresovela commented 2 years ago

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 the fsl_lpspi and fsl_lpspi_edma components

See:

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.

mcuxsusan commented 2 years ago

@andresovela, thanks for the report. Added @DavidJurajdaNXP to help check the improvement.

DavidJurajdaNXP commented 7 months ago

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.