Skip to main content
JNova.0
Associate III
March 10, 2021
Question

USART to TouchGFX

  • March 10, 2021
  • 0 replies
  • 531 views

Hi,

I use STM32CubeIDE and TouchGFX.

Sending to "stm32f746 discovery board" using com port text.

When I send different letters, everything is OK.

If I send several identical letters, the result is with the character ?

example:

asdfghjkl -> asdfghjkl

aaaaaaa -> aa? a? a?

Does anyone know where the problem is?

Part of the code:

	if(uartMsgData[0] != 13)
	{
		uartMsgBuf[msgIndex++] = uartMsgData[0];
	}
	else
	{
		msgIndex = 0;
		msgRdyflag = 1;
	}

This topic has been closed for replies.