Hello!!
I have problem witch initiation USART in STM32 microcontroler. I use standard KEIL configuration file to setup USART. After configuration (I stop program witch while(1) function) but I receive in Windows Terminal one unexpected sign. I can't eliminate this problem...
Hello Mark Anders,
I can not explain what causes this extra character during UART initialisation but you can eleminate it if you add a little for-next loop before enabling the UART.
for (i = 0; i < 800; i++); USART1->CR1 |= USART_CR1_UE;
Best Regards, Martin Guenther
It is not at all unusual for any system to generate the odd "glitch" on startups - with a serial connection, that may well show up as an odd character...