2024-04-29 10:35 AM - last edited on 2024-04-29 10:37 AM by Peter BENSCH
Hello,
I am a beginner in STM32 and Touchgfx. I am having a touchgfx application which has multiple screens. The main screen in touchgfx should update the live data received from Uart Rx. When a button in main screen is clicked, it should navigate to other screens. I am using an interrupt callback to receive the Uart data. The problem I am facing right now is, the Uart Rx is working fine through interrupt callback, and the data is being updated in mainscreen. But when the button is clicked, nothing happens. I suspect it's due to interrupt is being serviced often. Unfortunately my Uart DMA receive doesn't work and I am able to receive data only through interrupt callback. Can someone Hed some light on my issue?
Thanks and Regards
Solved! Go to Solution.
2024-04-30 01:06 AM
Hello There,
I was able to fix the issue. I was focusing on the Rx callback and didnt realize I was using a blocking call for Tx. I figured it out and now I am able to receive the UART data aswell as I could use the touch screen in UI.
Regards
2024-04-30 01:06 AM
Hello There,
I was able to fix the issue. I was focusing on the Rx callback and didnt realize I was using a blocking call for Tx. I figured it out and now I am able to receive the UART data aswell as I could use the touch screen in UI.
Regards