Sunday, March 18th 2018, 10:25pm UTC+1

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: 512


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 - 29 times downloaded - Last download: Mar 9th 2018, 7:46am)