cancel
Showing results for 
Search instead for 
Did you mean: 

2DAddressing

dlagyals
Associate II

https://rristm.github.io/tomas_materials_v2/RRISTM/stm32u5_workshop/master/5_gpdma_handson_2d_address_mx.md/3

I followed this document, but the UART value is coming out as garbage. The data is being output as 8-bit, but the variable used to store it is 32-bit, so I think that's causing the issue. How can I solve this

1 REPLY 1
KDJEM.1
ST Employee

Hello @dlagyals;

 

Why do you use "(uint32_t)&(USART1->TDR)" as a destination address in YourNodeName2 instead of "&(USART1->TDR)" like as the Github example?

Could you please try to change the destination address in YourNodeName2 to "&(USART1->TDR)"

KDJEM1_0-1744814717007.png

The link‑transfer consists of a series of 32-bit single reads: up to six single reads for channel with linear‑addressing mode and up to eight single reads for channel with 2D addressing mode.

I hope this help you.

Thank you.

Kaouthar

 

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.