I am assuming you have correctly enabled the clocks and configured GPIO for the USART. If that’s the case, what’s missing seems to be the wait for the TXE flag to clear before sending the next byte.
yes the clock is enabled and the GPIO are well configured.
i tryed also to use the wait procedure (as mentioned in the st lib exemple),but it does not work : the code enter an infinite loop the (TXE flag is never set)
Since you have only the USART stuff set in the while(1) loop, I assume that your program might not be doing much right now ?
Did you check with a debugger that the TxData is correctly initialized ? A problem that I face once was that initial data where not correctly … well, initialized, stuffing my char * with random characters.
Another thing, when you change the “ab” to “bc” for example, does that change what the term is displaying ?