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

PSoC™ 6 Forum Discussions

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

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 100 solutions authored 250 replies posted 250 sign-ins
Moderator

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 100 solutions authored 250 replies posted 250 sign-ins
Moderator

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 1
First reply posted First question asked Welcome!
Level 1

Hi @psoc_student,

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

0 Likes