Thursday, April 19th 2018, 9:26pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



Date of registration: Sep 8th 2014

Posts: 2


Wednesday, December 6th 2017, 6:59pm

How to use STM3210C-EVAL board with CubeMX generated code integrating (ST) emWin


I am using an STM3210C-EVAL board with the supplied LCD/touch demo code. Can someone either help me or direct me to a doc with specifics on porting that to a CubeMX design? I’m not sure why they use different drivers.

And then, interfacing with a ILI9341 and touch controller with this LCD?…32/201950756171


SEGGER - Schoenen

Super Moderator

Date of registration: Aug 13th 2015

Posts: 561


Thursday, December 7th 2017, 10:09am


You can use the project which comes with the stm32CubeF1 package. All you have to do is to set up the GUIDRV_FlexColor driver a bit different and call a initialization fitting to the ILI9341.

To set up the driver you can use the attached LCDConf.c as a reference. It already uses the correct FelxColorFunc (GUIDRV_FLEXCOLOR_F66709). You have to set the function pointer for communication and choose the proper mode (e.g. GUIDRV_FLEXCOLOR_M16C1B8).

EDIT: Forgot the attachement.

SEGGER - Schoenen has attached the following file:
  • (2.46 kB - 40 times downloaded - Last download: Today, 3:04pm)