The function FLEXIO_UART_TransferAbortReceiveEDMA in fsl_flexio_uart_edma.c is causing confusion.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The function FLEXIO_UART_TransferAbortReceiveEDMA in fsl_flexio_uart_edma.c is causing confusion.

485 Views
phantomgz
Contributor III

Hi.

I am using a Timer for FLEXIO_UART receiver idle detection, when the idle condition ocurre, I call FLEXIO_UART_TransferAbortReceiveEDMA() to terminate the DMA receive, but FLEXIO_UART_TransferAbortReceiveEDMA() just call EDMA_StopTransfer() to suspend the DMA receiving, but EDMA_StopTransfer() not clear all DMA status, I have to make another call to EDMA_AbortTransfer() to clear DMA. 

I think the SDK should provide a proper DMA function, one for STOP, another for ABORT.

Working SDK is SDK_2_14_1_MIMXRT1060-EVKC

phantomgz_0-1701403781788.png

 

Cai.

0 Kudos
Reply
1 Reply

450 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
I hope you are well.

I appreciate your feedback, I will redirect this to the corresponding team to have it considered for further SDK revisions.

Best regards,
Omar

0 Kudos
Reply