Skip to main content
Joerg Wagner
Senior III
February 1, 2019
Question

CubeMX 5.0.1 + STemWin on STM32F769-DISCO

  • February 1, 2019
  • 8 replies
  • 1374 views

Hello, does anyone have an *.ioc file or give me the right settings to create a project with CubeMX without using BSP files.

Everything is in CubeMX, so integrating BSP files is not needed anymore.

I'm struggling with the display settings, concerning LTDC.

Current result is wrong orientation and some trash on the screen.

Thank you.

This topic has been closed for replies.

8 replies

Noppe.Jack
Senior
February 1, 2019

Hi Joerg,

I used the following resources to configure my board. I suspect they will help give you a deeper understanding of config required (and the 'why'). I still use BSP for the touch sensing (legacy), but this helped me getting LTDC display to display properly after I ported from an F4 discovery board.

  1. [https://www.st.com/content/ccc/resource/technical/document/application_note/group0/25/ca/f9/b4/ae/fc/4e/1e/DM00287603/files/DM00287603.pdf/jcr:content/translations/en.DM00287603.pdf]
  2. [https://touchgfx.zendesk.com/hc/en-us/articles/360020001492-Getting-Started-with-CubeMX-and-TouchGFX]
  3. [https://touchgfx.zendesk.com/hc/en-us/articles/360019884752]

PS. I'm sorry if the links don't display correctly. I couldn't find instructions for how to post URL's in this forum.

Joerg Wagner
Senior III
February 1, 2019

Hi, I already know the Zendesk article. Actually my screen is rotated and has trash at the bottom.

I tried many different settings without success. STemWin does not recognize the wrong orientation

and ignores LCD_SWAP_XY or GUI_SetOrientation().

Noppe.Jack
Senior
February 1, 2019

Did you see this post in the community? (one of the ST employees posted an IOC file)

[https://community.st.com/s/question/0D50X00009XkWPsSAN/stm32cubemx-stemwin]

Joerg Wagner
Senior III
February 1, 2019

The goal is to have the values for the SM32F769-DISCO.

Display text is on the screen, but the content is rotated.

Noppe.Jack
Senior
February 1, 2019

Hi Joerg,

I am sorry that I cannot be more specific, but I don't have one of those boards to test with. That said, AN4861 (the first link on my first reply to you) has lots of specific configuration information for that board (for example, pages 39, 48, 86, etc.)

Best of luck,

Joerg Wagner
Senior III
February 1, 2019

Thank you, probably someone else can help.

Joerg Wagner
Senior III
February 3, 2019

I found myself the solution. CubeMX generates a code line, where the orientation is hardcoded.

victagayun
Senior III
April 30, 2021

Hi, do you happen to have the IOC file and share it?