Saturday, December 16th 2017, 7:42pm UTC+1

You are not logged in.

  • Login
  • Register

willworknow

Beginner

Date of registration: Sep 8th 2014

Posts: 2

1

Wednesday, December 6th 2017, 6:59pm

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

Hi,


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?
https://www.ebay.com/itm/2-8-TFT-LCD-Dis…32/201950756171

Thanks

SEGGER - Schoenen

Super Moderator

Date of registration: Aug 13th 2015

Posts: 443

2

Thursday, December 7th 2017, 10:09am

Hi,

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.

Regards
Sven
SEGGER - Schoenen has attached the following file:
  • LCDConf.zip (2.46 kB - 7 times downloaded - Last download: Dec 14th 2017, 12:43am)