Skip to main content
Associate II
September 29, 2023
Question

Configure STM32L152RC LCD

I'm trying to display characters on the onboard lcd in the stm32l152rc. can anyone help me with the process?

    This topic has been closed for replies.

    8 replies

    Issamos
    Super User
    September 29, 2023

    Hello @hazin 

    I suggest you to start your project from this exemple and modify the necessary parts to adapt it to your needs.

    Best regards.

    II

    hazinAuthor
    Associate II
    September 29, 2023

    So how do we open and configure the SW4STM32 files in stm32cube ide?

    Issamos
    Super User
    September 29, 2023

    Hello @hazin 

    You can use this Wiki.

    When your question is answered. Close the topic by choosing a best answer.

    Best regards.

    II

    hazinAuthor
    Associate II
    September 29, 2023

    Sorry to say. Its not helpful

    Issamos
    Super User
    September 29, 2023

    What is exactly your problem. Can you give more details.

    Best regards.

    II

    KDJEM.1
    ST Technical Moderator
    September 29, 2023

    Hello @hazin and welcome to the Community :),

    To start with graphics, I advise you to take a look to this MOOC: Graphics with STM32 - STMicroelectronics.

    Please follow these steps to open this example in STM32CubeIDE, 

    1- Open STM32CubeIDE

    2-Click File-->open projects from file system or Archive

    3-Import project from the repository "...\Repository\STM32Cube_FW_L1_V1.10.4\Projects\32L152CDISCOVERY\Examples\LCD\LCD_SegmentsDrive\SW4STM32\STM32L152C-Discovery"  as shown in the below figure  

    KDJEM1_0-1695998146921.png

    4- Click to convert the project

    KDJEM1_1-1695998210030.png

    5- Choose the device you are using

    KDJEM1_2-1695998281995.png

    6-Click "OK" to convert the project:

    KDJEM1_3-1695998513367.png

    7-Build the project 

    KDJEM1_1-1695997610810.png

    I hope this help you!

    Kaouthar

    To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.