Terminal flickering when sending characters through UART
Hello,
I am attempting to create a guitar hero-style game using the B-L4S5I-IOT1A board. I have an array representing the notes to play and wish to update the display every 125ms with a new gameplay frame (a given frame has the next 10 notes the user must play).
Currently, I am overriding the void HAL_TIM_PeriodElapsedCallback() function to print to the screen using UART. I have attached my UART configuration below:

Additionally, I have an array with values from 0 to 7 where the number represents the button configuration to be pressed (ex/ 3 is 011 indicating button 2 and 3 should be pressed at this point in time) and the logic and code I used to create the "gameplay frame" string is shown below:



and I transmit the string as follows:
HAL_UART_Transmit(&huart1, (uint8_t*)bufferFrame, strlen(bufferFrame), HAL_MAX_DELAY);
However, when I observe the output in the terminal, I find that the terminal appears to occasionally flicker (unfortunately it seems I dont have permission to upload video so I cannot show an example of exactly what I mean by flicker). I was wondering if anyone has encountered such a problem or may know of a solution. Thanks!
