UART Transfer Complete ISR vs DMA Transfer Complete ISR for putting message to FreeRTOS MessageQueue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-29 8:00 AM
Hello everyone,
I would like to ask for some guidance on which Interrupt i should use for FreeRTOS message queue to help synchronize my state machine.
I am using UART to transmit data to device, and i would like to know if i have finished transmitting. Should I use DMA Transfer Complete or UART Transfer Complete?
Thanks!
Solved! Go to Solution.
- Labels:
-
DMA
-
FreeRTOS
-
UART-USART
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-29 8:03 AM
TC on the USART indicates all the bits are over the wire, whereas TC on the DMA indicates all memory moved from that buffer into the pending shift register and buffers on the USART side.
TC on DMA will signal prior to data traversing the wire.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-29 8:03 AM
TC on the USART indicates all the bits are over the wire, whereas TC on the DMA indicates all memory moved from that buffer into the pending shift register and buffers on the USART side.
TC on DMA will signal prior to data traversing the wire.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-29 8:04 AM
Thanks for your swift response!
