8 years, 4 months ago.

ST emWin

Any possibility to add ST emWin support on Mbed for the Discovery platforms similar to NXP?

Question relating to:

ST
A world leader in providing the semiconductor solutions that make a positive contribution to people’s lives, both today and in the future.

3 Answers

8 years, 4 months ago.

I am going to guess the answer on that is a "no", because of: https://www.segger.com/pricelist-emwin.html

The reason it is available for NXP is because NXP already bought it for all NXP ARM microcontrollers.

ST have this:

http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/PF259225?sc=stemwin

Not sure how it compares to the NXP version, however I have been trying this:

https://github.com/papadkostas/RDA5807M

I have it working in CooCox, can move the graphics around the screen and change things, but want to convert it to Mbed. The RDA5807MemWin.c file has the screen draw commands and as far a I can see this and the emWin\inc files are all that's needed for it to work, apart from linking the drawing commands to the LCD driver . The rest of the code appears to be for system set up that we already have on Mbed now including the LCD and touch driver.

The RDA5807M specific code can be removed, just need to able to define commands to draw the graphics.

posted by Paul Staron 20 Dec 2015
8 years, 3 months ago.

There is a project out there using stemwin with mbed. I have not been able to get the whole project to work but this author's work should show you how to implement it. Hopefully you've figured out how to use stemwin prior to attempting it in mbed :) https://developer.mbed.org/users/NirT/code/F7DISCO_Demo/

This is just an import of the STM's cube demo for the F7's. It won't work with on Mbed and much of this code is now on ST's BSP driver library including all the start up code.

The emWin needs to precompiled for the STM boards and ported over to Mbed, I think a job for the ST guys as this will be rather complex. NXP have done this so maybe ST would like to keep up with the competition.

posted by Paul Staron 21 Dec 2015
8 years, 3 months ago.

I am almost done for STM32F429I-DISCO: https://developer.mbed.org/users/icis4/notebook/projects1/ . Touch screen doesn't work when build with emBiz yet but all other is fine. A program compiled with mbed online compiler doesn't work at all. Freezes at GUI_Init. But if I have a window in a next two weeks, I hope all be done.

/media/uploads/icis4/stemwin1.png

Nice work so far. I am hoping to be able to take some of your knowledge and apply it to the DISCO-F746 https://developer.mbed.org/platforms/ST-Discovery-F746NG/

posted by Bill Bellis 04 Jan 2016

My pleasure: STemWin_HelloWorld - https://developer.mbed.org/users/icis4/code/DISCO_F746NG_STemWin_HelloWorld/

Working with this board is real fun. I planned to got one.

posted by Ivaylo Iltchev 04 Jan 2016