flickering STM32 touch screen
Posted: Sun Mar 01, 2026 7:20 pm
Hello
I have flowcode 8 and trying to program an STM32F449I - discovery mcu with touchcreen
I have selected the board in flowcode8 and try to print a number. If the number printing is within a loop then the screen flickers and the printing is distorted. If I add 1 second delay then at each printing the screen flickers and the number is being dragged along the X axis and then stabilizes until the next printing. The only way not to have this issue is to have 5 seconds delay which off course messes up the whole routine. At first I though that this was cause by the "clear display" but I get the same fault even without that. My code will be used to take a value ( by a touch update or via external input) and continuously update my text box or any other indicator I would add.
I read that this might be cause because the MCU uses the same buffer to read data and then print. Would be there any workaround via the flowcode settings and components?
I will attach my code. It is not the intended final one but a test one to check the MCU's capabilities and flowcode's bugs.
I have flowcode 8 and trying to program an STM32F449I - discovery mcu with touchcreen
I have selected the board in flowcode8 and try to print a number. If the number printing is within a loop then the screen flickers and the printing is distorted. If I add 1 second delay then at each printing the screen flickers and the number is being dragged along the X axis and then stabilizes until the next printing. The only way not to have this issue is to have 5 seconds delay which off course messes up the whole routine. At first I though that this was cause by the "clear display" but I get the same fault even without that. My code will be used to take a value ( by a touch update or via external input) and continuously update my text box or any other indicator I would add.
I read that this might be cause because the MCU uses the same buffer to read data and then print. Would be there any workaround via the flowcode settings and components?
I will attach my code. It is not the intended final one but a test one to check the MCU's capabilities and flowcode's bugs.