Friday, May 25th 2018, 1:12pm UTC+2

You are not logged in.

  • Login
  • Register



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


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 - 56 times downloaded - Last download: May 22nd 2018, 8:18pm)