DMA_UART_Tx transfer Status Check

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
psoc_student
Level 3
Level 3
50 sign-ins 25 sign-ins 10 replies posted

Hello, I have question about DMA_UART_Tx, I'm using Psoc6 WIFI-BT Pioneer Kit.

Is there an API or register to determine the status of DMA_UART_Tx?

This is to send it again after the transfer is over.

 

regard. Psoc_Student

0 Likes
1 Solution
AlenAn14
Moderator
Moderator
Moderator
500 replies posted 100 solutions authored 250 replies posted

Hi @psoc_student ,

You can use the API  Cy_DMA_Channel_GetStatus() and check if the transmission is complete or not for the Tx channel. The same one is used in the interrupt ISR of the DMA as well ( where you can also keep a flag to monitor for transmission completion)

Hope this helps.

Warm Regards
Alen

View solution in original post

0 Likes
2 Replies
AlenAn14
Moderator
Moderator
Moderator
500 replies posted 100 solutions authored 250 replies posted

Hi @psoc_student ,

You can use the API  Cy_DMA_Channel_GetStatus() and check if the transmission is complete or not for the Tx channel. The same one is used in the interrupt ISR of the DMA as well ( where you can also keep a flag to monitor for transmission completion)

Hope this helps.

Warm Regards
Alen

0 Likes
victor2022
Level 2
Level 2
10 questions asked 5 replies posted 10 sign-ins

Hi @psoc_student,

   do you have compiling errors of core_http_config.h: no such file or directory? thanks.

0 Likes