Skip to main content
Graduate
September 30, 2023
Question

Simple LCD app desired for STM32H747i-DISCO and CubeIDE

  • September 30, 2023
  • 2 replies
  • 1651 views

I just need to draw some lines and add letters to the MB1166 board's LCD.

The closest application that I've found is targeted for Eclipse, and it's going to be very involved to get it working.

I'm trying to get CubeIDE's TouchGFX application running, but's way too big and complex for what I need.

Help locating a simple CubeIDE LCD driver/application for the H747i-DISCO boards would be greatly appreciated.

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    September 30, 2023

    Hello @BobWalance,

    You can start from LCD_DSI examples within STM32CubeIDE, which are available with STM32CubeH7 package: 

    STM32CubeH7/Projects/STM32H747I-DISCO/Examples/LCD_DSI at master · STMicroelectronics/STM32CubeH7 · GitHub

    More details about LCD configuration provided in:

    • UM2411 User manual Discovery kit with STM32H747XI MCU

    Hope this helpful for you!

    Imen

    Graduate
    September 30, 2023

    Yes @Imen.D , this is the "Eclipse" application that I mentioned. However, I cannot get it configured properly:

    -- I double-click on the '.project' file and STM32CubeIDE starts up and displays this folder in Project Explorer. However, it is not recognized as a proper project (there is no blue IDE logo to the left of LCD_DSI_CmdMode_SingleBuffer).

    I can't compile any of the code as is outlined in the 'readme.txt' file. This is where I run into problems with CubeIDE. I'm not sure if I'm supposed to "import" this, and if so how to do the import.

    Can you give any tips as to how to proceed?

    Thanks for your help on this.

     

    Graduate II
    September 30, 2023

    Simple line and text drawing primitives

    STM32Cube_FW_H7_V1.9.1\Drivers\BSP\STM32H747I-DISCO\stm32h747i_discovery_lcd.c

    STM32Cube_FW_H7_V1.9.1\Projects\STM32H747I-DISCO\Examples\JPEG\JPEG_DecodingUsingFs_Polling\CM7\Src\main.c

     

    Graduate
    September 30, 2023

    Wow @Tesla DeLorean ! This might be just what I was looking for.

    I was able to locate both of those files.

    Thanks!