Skip to main content
JSupc.1
Associate II
July 30, 2021
Question

Which LCD controller is on the ST32412G-DISCOVERY ? Is it the ST7789H2? or the LS016B8UY?

  • July 30, 2021
  • 4 replies
  • 2464 views

Hello,

In the STM32CubeF4 project (https://github.com/STMicroelectronics/STM32CubeF4), the comment on line 42 of /Drivers/BSP/STM32412G-Discovery/stm32412g_discovery_lcd.c says that "This driver supports the LS016B8UY LCD". Then, on lines 153 to 192, the program checks for ST7789H2 and for LS016B8UY, but there is no comment concerning the ST7789H2.

Then the User Manual of the Discovery kit with STM32F412ZG MCU says (page 26) that "The display is a 1.54-inch, 240x240 pixels TFT color LCD" but the LS016B8UY seems to be a 180x180 display. So as the ST7789H2 seems to be a 240x240 display, I would rather think that the ST32412G-DISCOVERY uses the ST7789H2... but this does not match the comment.

Can you please shed some light on this?

Thank you very much in advance.

Best regards,

-- Jacques

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
July 31, 2021

Probably both at some point, what's on yours, probably going to have to look/inspect

https://community.st.com/s/question/0D50X00009XkYJ0/where-to-find-more-information-on-stm32f412gdisco-display-and-touch-module

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
July 31, 2021

Also used on L496 DISCO

1.54 inch FRD154BP2902-CTP

Lean toward SS7789H2, should be some ID registers you can read/check

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
JSupc.1
JSupc.1Author
Associate II
July 31, 2021

Thank you very much for your quick and detailed reply. Do you think it is worthwhile to make a pull request to also add information about the ST7789H2 in the comment ?

I would suggest replacing the following lines :

/*
1. How To use this driver:
--------------------------
 - This driver is used to drive indirectly an LCD TFT.
 - This driver supports the LS016B8UY LCD.
 - The LS016B8UY component driver MUST be included with this driver.
*/

by

/*
1. How To use this driver:
--------------------------
 - This driver is used to drive indirectly an LCD TFT.
 - This driver supports the ST7789H2 and LS016B8UY LCD.
 - The ST7789H2 and LS016B8UY component drivers MUST be included with this driver.
*/

ChahinezC
Associate II
August 6, 2021

Hello @JSupc.1​,

I will check and get back to you.

Chahinez.

ChahinezC
Associate II
August 6, 2021

Hello @JSupc.1​,

The current driver is ST7789H2 adapted for RGB 240 x 240 resolution. The code has been updated to manage both old and current versions of drivers but the LCD display references are often changing unfortunately, that's why firmware are updated considering old and new material.

So, your suggest is valid. I have already reported it internally.

Thank you for your contribution.

Chahinez.