2023-11-23 01:21 AM
I created a button widget with stem win library. The button click is detected but button release is not happening. I tried using some demo programs there it is working. I have attached a basic program which shows when a button is pressed and released. I am testing this on STM32F429 discovery board.
Solved! Go to Solution.
2023-11-23 02:58 AM
I got the solution from another link:https://community.st.com/t5/stm32-mcus-touch-gfx-and-gui/stemwin-button-not-getting-wm-notification-released-message/td-p/448740.
what I did is replaced a function which I added in attached file.
Replace the function in main program
2023-11-23 01:58 AM
Hello @goutham,
You should enable clock for CRC module: __HAL_RCC_CRC_CLK_ENABLE();
The CRC must be enabled before calling GUI_Init, if not STemWin will be not function.
This is mentioned in the "GUI initialization" section of AN4323: "Note that before initializing the GUI, the CRC module (in RCC peripheral clock enable register) should be enabled".
Hope this helped you!
Imen
2023-11-23 02:58 AM
I got the solution from another link:https://community.st.com/t5/stm32-mcus-touch-gfx-and-gui/stemwin-button-not-getting-wm-notification-released-message/td-p/448740.
what I did is replaced a function which I added in attached file.
Replace the function in main program
2023-11-23 03:00 AM
It was already enabled in main program