The function FLEXIO_UART_TransferAbortReceiveEDMA in fsl_flexio_uart_edma.c is causing confusion.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

The function FLEXIO_UART_TransferAbortReceiveEDMA in fsl_flexio_uart_edma.c is causing confusion.

485件の閲覧回数
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 件の賞賛
返信
1 返信

450件の閲覧回数
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 件の賞賛
返信