cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F429 StemWin

kadir ustun1
Senior
Posted on May 15, 2018 at 12:48

Hello everyone,

I try to use WM_MOTION_SetMovement function at STemWin, and I use external interrupt, but when ı use external interrupt code is not work. please help me.

this code :

WM_MOTION_SetMovement(hMotion, GUI_COORD_X, 500, 100);

GUI_Delay(500);

// _Delay(500 *2);

WM_DeleteWindow(hMotion);

WM_DeleteWindow(hDraw);
15 REPLIES 15
Imen.D
ST Employee
Posted on May 15, 2018 at 15:13

Hello

_st_n.kadir

,

It may be related to your

external interrupt configuration.

Have you enabled the CRC modulebefore initializing the GUI?

Please, provide more details on your code and configuration, this will help users to answer you.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on May 15, 2018 at 15:23

Thank you for answered. I try STM32F429 example for GUI. just ı added a button interrupt.

Posted on May 17, 2018 at 10:42

Hello Imen,

I try examples of ST in STM32Cube_FW_F4_V1.19.0. I operated STemWin_SampleDemo example. I want to control with interrupt to motion pprocess. But when I use interrupt, this example works wrong.

Posted on May 17, 2018 at 11:17

Hi

_st_n.kadir

,

I recommend you to debug your project and try to identify where is it sticking.

When debugging, are there any error flag set?

With Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on May 17, 2018 at 11:31

Actualy project is work but there is delay, and it is not fluent

Posted on May 18, 2018 at 10:47

Hello Imen,

I want to a rect in STemWin. This rect is not change never. it is not affected GUI_Delay. How can I do ?

Posted on May 24, 2018 at 08:03

Hello Imen,

This project is  not work true. Please could you help me ? When ı use CAN_Receive interrup or another interru

this functions (WM_DeleteWindow(hMotion);WM_DeleteWindow(hDraw);)  are not work. what can I do  for this ?

Posted on June 01, 2018 at 14:50

Hello, 

Have you tried to use GUI_Exec()?

Would it possible to share your code to help you more.

With Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on June 01, 2018 at 21:52

Function GUI_Exec() is used to update the window.