Skip to main content
FB1
Associate II
October 27, 2023
Solved

LINKEDLIST: incomplete generated code

  • October 27, 2023
  • 2 replies
  • 2023 views

When code for LINKEDLIST for STM32U575 will be generated (linked_list.c) with STM32CubeMX 6.9.2 several lines are missing. In the attached ioc file (which is only for illustrating the effect) the commands for e.g. setting DMA_DEST_DATAWIDTH_BYTE are missing before HAL_DMAEx_List_BuildNode(&pNodeConfig, &ByteCopy); on line 151 is called.

This topic has been closed for replies.
Best answer by Souhaib MAZHOUD

Hello @FB1 

First let me thank you for your detailed explanation.

Issue is reported internally to our team (Internal ticket number:165108) and this will be fixed as soon as possible.

Thx

Souhaib

2 replies

Souhaib MAZHOUDBest answer
Technical Moderator
October 27, 2023

Hello @FB1 

First let me thank you for your detailed explanation.

Issue is reported internally to our team (Internal ticket number:165108) and this will be fixed as soon as possible.

Thx

Souhaib

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.
Andrei Chichak
Lead
December 19, 2023

Is there an interim solution to this issue?

I'm encountering it as well and have posted a query here:

https://community.st.com/t5/stm32cubeide-mcus/gpdma-spi-tx-rx-circular-mode-on-stm32h5-possible-incorrect/td-p/621118

Thanks,

Andrei

FB1
FB1Author
Associate II
December 19, 2023

Hi Andrei,

It works when in "LINKEDLIST Mode and Configuration" all entries are sorted according "Data Width", beginning with "Byte" then "Half Word" and so forth. There are small buttons "Move down" and "Move up" at the bottom.

Unfortunately it is not yet solved in MX 6.10.0 so this work-around, found by trial-and-error, is necessary. 

Regards