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 using Psoc6 Pioneer Kit and I'm using  the

"SCB_UART_Transmit_and_Recieve_using_DMA" example to implement DMA.

In the example, the buffer size is set to 1, and it is sent as soon as it receives 1 Byte.

I want to collect several Bytes and receive them at once, not one at a time.

Additionally, I would like to send an array with multiple bytes at once through DMA.

Is there a way?

 

Thankyou for your reply.

0 Likes
1 Solution
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @psoc_student 

 

You can take a look at this thread - https://community.infineon.com/t5/PSoC-6/PSOC6-DMA-block-selection-for-SPI/m-p/285427 - where DMA is implemented for multi-byte transfer using an SPI block. The same can be implemented for UART as well. 

 

Best regards, 
Hari

View solution in original post

0 Likes
1 Reply
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @psoc_student 

 

You can take a look at this thread - https://community.infineon.com/t5/PSoC-6/PSOC6-DMA-block-selection-for-SPI/m-p/285427 - where DMA is implemented for multi-byte transfer using an SPI block. The same can be implemented for UART as well. 

 

Best regards, 
Hari

0 Likes