cancel
Showing results for 
Search instead for 
Did you mean: 

HPDMA with UART large data transfer

Einstein_rookie_version
Associate III

NUCLEO-N6 :

I was using UART to transfer a more than 100KB image to the in_buffer in the AXIRAM, so, the HAL_receive itself can not receive so much once, and I wrote a loop function it, to receive it seperately, with every timne 64KB max.

And the aligment of the data some how get wrong, do you have idea how I can use DMA of the N6 to directly transfer a more than 64KB data to the AXIRAM5 directly with only one time HALDMA beginning? the size is uint16, so max 64KB, I heard I might can use LLI of the HPDMA to do this, but I haven't learnd any thing about that, in university 64KB is far from enough, so have no experience on how to do that with LLI, do you have any documentations regarding that ?

or do you have example for receiving a 224*224*3 data through UART and DMA directly to AXIRAM with address 0x342E0000?

thanks a lot

1 ACCEPTED SOLUTION

Accepted Solutions
Dor_RH
ST Employee

Hello @Einstein_rookie_version,

I recommend checking out this post: Sending a large amount of data around 1024 bytes using UART at 1mbps baud

For guidance, you can refer to DMA projects available in the STM32CubeN6.

I hope my answer has helped you. When your question is answered, please select this topic as the solution that answered you, as it will help others find that answer faster.

Thanks for your contribution.

Dor_RH

View solution in original post

1 REPLY 1
Dor_RH
ST Employee

Hello @Einstein_rookie_version,

I recommend checking out this post: Sending a large amount of data around 1024 bytes using UART at 1mbps baud

For guidance, you can refer to DMA projects available in the STM32CubeN6.

I hope my answer has helped you. When your question is answered, please select this topic as the solution that answered you, as it will help others find that answer faster.

Thanks for your contribution.

Dor_RH