2021-10-22 04:22 AM
STM32CubeIDE 7.0
Nucleo F401RE
I configured the board for USART2 DMA operations as in the UART_Hyperterminal_DMA example. The generated code called MX_USART2_UART_Init followed by MX_DMA_Init but this ordering does not work. The calls to set the DMA CR did not have any effect leaving the DMA configured improperly. Switching the order of the Init calls fixed the problem.
I am attaching the configuration file that generated the incorrect code.
2021-10-22 04:23 AM
2021-10-25 04:47 AM
Hi @MScha.8 ,
Unfortunately this is a known regression issue faced when generating code with STM32CubeMX 6.3.0.
We wait for new release of the tool to fix it (@Khouloud OTHMAN to confirm about this).
Internal ticket number: 112040 (This is an internal tracking number and is not accessible or usable by customers).
-Amel
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.