cancel
Showing results for 
Search instead for 
Did you mean: 

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

JSupc.1
Associate II

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

7 REPLIES 7

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 Venmo
Up vote any posts that you find helpful, it shows what's working..

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 Venmo
Up vote any posts that you find helpful, it shows what's working..

This is the actual part https://fridalcd.en.alibaba.com/product/60667332566-800855113/1_54_inch_FRD154BP2902_full_viewing_angle_with_capacitive_touch.html

1.54 inch FRD154BP2902 full viewing angle used for smart watches

Features

No Item Specification Remark

1 Display Mode Normally Black

2 Screen Size 1.54inch

3 Resolution 240XRGBX240

4 Color Number 262K

5 Color Arrangement TFT Active matrix

6 Driver IC ST7789H2

7 Back Light White LED*3

8 Viewing Direction ALL o'clock

9 Interface MCU 8 & 16 Bit interface

10 Surface Treatment UV Cut

11 with capacitive touch panel

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
JSupc.1
Associate II

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
Lead

Hello @JSupc.1​,

I will check and get back to you.

Chahinez.

ChahinezC
Lead

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.

STM32Cube_FW_F4_V1.25.2\Drivers\BSP\Components\ls016b8uy\ls016b8uy.c

Another similar clone of the ST7789 type controller

https://cdn-shop.adafruit.com/datasheets/HX8357-D_DS_April2012.pdf

https://www.mikrocontroller.net/wikifiles/2/29/Datasheet_LDS176.pdf

https://cdn.hackaday.io/files/1660347103598656/RM68120_LCD.pdf

https://www.displayfuture.com/Display/datasheet/controller/ST7687S.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..