2020-07-16 03:36 AM
I followed the step on the following video without the configuration of SD card. (I don't need it)
https://www.youtube.com/watch?v=4f-leBIJkRY
Whenever transmitting 10 characters, the program broke bown on 11-th character as below:
printf("12345678901234567890\r\n");
--------------------------------------------------------
1234567890
So how should I modify the code to "printf" correctly?
I tried the code on NUCLEO-F746ZG, it did very well.
2020-07-16 04:35 AM
Do you use Keil uVision?
2020-07-16 04:45 AM
Don't see data loss here, plumbing is pretty simple, need to furnish a character output function.
Not aware of any 10 character limitations, you'll need to chase it to ground using usual debugging techniques.
2020-07-16 06:00 PM
STM32CubeIDE
2020-07-16 06:26 PM
Okay, I will use debugger to find out the source of the problem.
2020-07-16 07:43 PM
My problem is solved.
When create a new stm32 project on STM32CubeIDE, and ask user whether initialize all peripherals with their default mode? Click "No".