cancel
Showing results for 
Search instead for 
Did you mean: 

stemwin GUI_Init problem

elec_st
Associate III

when call function GUI_Init(); my mcu stm32f103vct6 frezz and stop

why ??

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello @elec_st​ ,

Are you enabled clock for CRC module ?

The CRC module must be enabled before calling GUI_Init, if not STemWin will be not function.

Kind Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

2 REPLIES 2
Imen.D
ST Employee

Hello @elec_st​ ,

Are you enabled clock for CRC module ?

The CRC module must be enabled before calling GUI_Init, if not STemWin will be not function.

Kind Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
elec_st
Associate III

thank you the problem solved by enable crc module

here is my code

RCC_AHBPeriphClockCmd(RCC_AHBPeriph_CRC, ENABLE);
GUI_Init();