Filter data and send to uart using DMA

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hello,

I want to filter  data which is stored in an array and send filtered data to uart.  The data transfer between UART and filter is done with the help of DMA,whose DMA request is generated from filter itlsef. Similarly array is transferred to filter input by another DMA,whose DMA request is generated from firmware.

The problem now is i am not getting anything on UART. How to debug this issue?

I have attached my project below.

Thanks in advance.

0 Likes
1 Solution
Anonymous
Not applicable

Thank you.

I got to know. The problem was with Union definition.

Is there anyway to find out the time taken by DMA it self to transfer data between two places?

Thanks in advance

View solution in original post

0 Likes
3 Replies
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received
0 Likes
Anonymous
Not applicable

Thank you.

I got to know. The problem was with Union definition.

Is there anyway to find out the time taken by DMA it self to transfer data between two places?

Thanks in advance

0 Likes
Anonymous
Not applicable

How do i select the burst count for 4 bytes of transfer from SRAM to UART TX Buffer. Since the spoke size of Uart is 16 and of SRAM is 32, so to send 4 bytes, do i need to set up burst count as 8?

Am i correct? I am confused.

Thank you.

0 Likes