2022-07-14 08:19 AM
The ADC and SPI use the DMA, but the CubeIDE initialize the DMA at last ant the SPI initialization fails. See screenshot.
CubeMX Version 6.6.1
Please fix this mistake. Attachment, the Screenshot.
The second problem: I cannot chage the "Rank" order from initialization.
The correct rank will be:
Other controllers like STM32G484 is the CubeMX code generation correct.
Solved! Go to Solution.
2022-07-15 01:28 AM
Hello @Markus Müller ,
You can solve this issue by applying the workaround described in the following thread MX_DMA_Init order in the main.c file generated by STM32CubeMX, How to fix?
I couldn't reproduce the issue from my side, could you please help me with a detailed scenario so that I can I report it ?
Thanks,
Sara.
2022-07-15 01:36 AM
If you create a project for the H753IIK, activate some peripherals first, e.g. ADC1, SPI1, SPI2, TIM1, TIM2, and then after that add a DMA channel for ADC1, for example, DMA is added to the Generated Function Calls at the bottom and cannot be moved.
If the DMA channel is inserted right at the beginning, the function call is also in the right place.
Regards
/Peter
2022-07-15 01:38 AM
2022-07-15 06:19 AM
Hello @Markus Müller ,
Issue confirmed from my side, it seems that the DMA init order is not set correctly in H7 devices.
Please check the workaround proposed in this thread MX_DMA_Init order in the main.c file generated by STM32CubeMX, How to fix?
I submitted an internal ticket, I will keep you posted.
Internal ticket number: 131855 (This is an internal tracking number and is not accessible or usable by customers).
If your issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)
Sara.
2022-11-28 06:43 AM
Hello @Markus Müller ,
This issue is fixed in STM32CubeMX latest release.
V6.7.0 is now available under this Link.
Thanks for your contribution :smiling_face_with_smiling_eyes:
Sara.