2022-04-29 12:12 AM
My Firmware Package name and version: STM32Cube FW_F1 v1.8.4
Bug detail:
After code generates, the code order is:In this order, receiving message of the usart will get some bugs, eg: only can receive the last byte...
I let `the MX_DMA_Init();` become the first one solve the problem, but when I genearted code next time, this order will appear again...
Solved! Go to Solution.
2022-05-06 01:43 AM
Hi @晓栋 �?� ,
This is a known issue that should be fixed for new generated projects (from scratch) using STM32CubeMX 6.5.0.
In case you are importig an old project, please refer to this content MX_DMA_Init order in the main.c file generated by STM32CubeMX, How to fix?
-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.
2022-04-29 12:14 AM
Hope this bug can be fixed:beaming_face_with_smiling_eyes:
2022-05-06 01:43 AM
Hi @晓栋 �?� ,
This is a known issue that should be fixed for new generated projects (from scratch) using STM32CubeMX 6.5.0.
In case you are importig an old project, please refer to this content MX_DMA_Init order in the main.c file generated by STM32CubeMX, How to fix?
-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.
2022-05-25 08:41 AM
Thanks for your replay!!:smiling_face_with_smiling_eyes: I have fixed this problem.