2023-03-07 03:19 AM
Hi ervyone,
I have a Nucleo-u575zi-q board. I started to program with this board and applied some examples within the STM32U5 Workshop.
Unfortunetly, I could not overcome to run the GPDMA 2D addressing example.
In the 2D addressing example, I configred two queues in the linkedlist. First queue is transfer the ADC samples to the buffer (data), and second queue is transfer the data to the other buffer (data2) with the 2D adressing.
My buffers (data and data2) have 10*4 sizes (uint32_t data[10]; uint32_t data2[10];).
When I configured the second queue in the , buffers have same contents because 2D adressing is not run.
When I configured the second queue in the , again 2D adressing is not run
, and mcu is locked.
linked_list.c file is in the attached.
I couldn't find where I made a mistake because the codes for the GPDMA 2D addressing example were not found in the workshop.
Best regards...
Said Mahmut ÇINAR
2023-03-17 01:47 AM
Hello Said @[smcinar] ,
Thanks for your question.
Each time the current transfer ends the GPDMA automatically reload the next transfer parameters, and starts it. (without CPU intervention)
Also, I have two questions for you :
Remark: on both screenshot it's written YourNodeName2.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-03-21 01:56 AM
2023-03-22 05:24 AM
Hello Said @smcinar,
Unfortunately, your zip file didn't work on my side due to missing documents.
But, you will find attached a rather similar project.
Also, you can find the explanation about how to use the GPDMA here.
Does it answer your question?
Regards,
Pierre
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.