RX Uart data buffering with DMA

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

cross mob
Anonymous
Not applicable

Hi,

   

I'm using CYBLE-012011-00 PRoC module and I want to use DMA for buffering from Uart incoming data.

   

​I don't find DMA component. Does not exist DMA component in PRoC devices ? 

   

Has somebody any example for buffering a RxUart data stream ?

   

Thank you,

   

Asier.

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You do not need to use DMA for buffering UART: transmission speed is comparably slow and data usually not so much. I would suggest you to increase the Rx buffer size to 200 or more bytes and use the GetRxBufferSize() API to check how many bytes have been received interrupt driven.

   

 

   

Bob

View solution in original post

0 Likes
2 Replies
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted
        I don't believe that proc has DMA available   
0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You do not need to use DMA for buffering UART: transmission speed is comparably slow and data usually not so much. I would suggest you to increase the Rx buffer size to 200 or more bytes and use the GetRxBufferSize() API to check how many bytes have been received interrupt driven.

   

 

   

Bob

0 Likes