cancel
Showing results for 
Search instead for 
Did you mean: 

ST emwin library issue

MRedd.3
Associate II

We are using the emWIN library to display the images, but we are having problems. The initial screens 2 are displaying, but when you enter a specific screen, the display module does not respond.

We can't figure out what's wrong because it's structing the display.

Is this a memory problem with the controller 2MB flash 320 kb ram?

2 REPLIES 2
Imen.D
ST Employee

Hello @MRedd.3​ ,

Could you please precise which board are you using ?

Are you enabled clock for CRC module ?

The display issue may be caused by one of the following:

 - Stack size is too low.

 - Wrong initialization of the display controller.

 - Wrong configuration of the display interface. 

Pease note that STemWIN requires quite a lot of RAM to just run itself. Actual RAM required for STemWIN depends on number of widget, fonts, features, etc.

I advise you this AN4323 "Getting started with STemWin Library" Application note may be helpful.

You can refer to one of the many STemWin examples under STM32CubeXX package and get inspired from them:

Example: STM32Cube_FW_F4_VX.X.X\Projects\STM324x9I_EVAL\Applications\STemWin, it can be very useful.

Hope my answer helped you!

When your question is answered, please close this topic by choosing Select as Best.

Imen

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

>>Is this a memory problem with the controller 2MB flash 320 kb ram?

Debug on the probability that it is not.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..