Open shredder2003 opened 6 years ago
Do you observe the LED GPIO 13 blink when you try to send or receive the data?
I see procedure "Toggle_Leds" in your main.c file. I suggest its your user code (not autogenerated by Cube MX code). All user code must be between special comments, in your case between
/ USER CODE BEGIN 4 /
/ USER CODE END 4 /
So, therefore all user code written not inside special comments, Cube MX discard this code, so now regenerated project does not contain user code. See comparison of your src and autogenerated main.c: https://www.diffnow.com/?report=ov23s