cancel
Showing results for 
Search instead for 
Did you mean: 

[SOLVED] STM32F469I-Disco and TouchGfx 4.20.0. I bought STM32F469IDisco. Version MB1189-F469NIH6-B08-A222300689. When I try start new project with TouchGFX, result is black screen.

SPrik
Associate II

I tried both "Run Target" from TouchGFX Designer, and Cube IDE (Cube MX) compile / debug result is black screen. Compile, debug and run is without errors.

36 REPLIES 36
EXUE.2
ST Employee

Ebby is right that the board has a new screen on it with a new NT35510MH lcd driver but the same old FT6336G touch controller. but I am not sure if the new LCD has implemented in your STM32F469-DISC board. the driver for old OTM8009A and new NT35510 is different, can you check which LCD is applied in your board?

  1. new LCD NT35510: FPC-400B25025V1

0693W00000WIL93QAH.png 2. old LCD OTM8009A: FRD397B2509V20693W00000WIL9DQAX.png

SPrik
Associate II

LCD originaly mounted on delivered 469i-Disco Board:

BL40220-005-A

400050W8 BBJBBC

FRD400B25025-A-CTK

BBJDJG

(Flex PCB)

FPC-400B25025V2

New LCD - (working LCD)

BL40200-001-A

400013W8 BAJAE

FRD337B250009-0-CTK

BAJBBB (I am not sure - there is thick layer of glue)

the originally LCD FRD400B25025-A-CTK is NT35510 driver, so you should used NT35510 driver in code.

SPrik
Associate II

Thanks for answer,

I tried replace driver OTM8009A by new driver NT35510.

Display is black.

Try change parameters (community.st link)

STM32F469I-DISCO NEW LCD Driver Missing NT35510

  1. PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_LTDC;
  2. PeriphClkInitStruct.PLLSAI.PLLSAIN = 144; //384
  3. PeriphClkInitStruct.PLLSAI.PLLSAIR = 2; //7
  4. PeriphClkInitStruct.PLLSAIDivR = RCC_PLLSAIDIVR_2;//RCC_PLLSAIDIVR_2
  5. HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct);

But still is black.

Final debug screen:

0693W00000WIZPKQA5.jpg 

Hi Sprik, can you download attached "STM32F469I-DISCO_tst_V2.9.4.hex" file to your board firstly to check if the display is OK?

This .hex file is OK in my STM32F469I-DISCO board with NT35510 LCD.

SPrik
Associate II

Hi,

Thanks for file.

Board is OK - LCD and others peripherals working.

//Nice picture on 800x480//

I tried make new project.

  1. Start TouchGFX and make new proj. (Select board, Place some buttons on canvas, ...)
  2. Generate code - (simulator working)
  3. Open *.ioc file - CubeMX and generate code
  4. Open CubeIDE
  5. From Drivers/BSP/ Components delete link to OTM8009a/OTM8009a.c
  6. Make new link to NT35510/35510.c
  7. In project files replace all otm8009a by NT35510
  8. Build project => no errors
  9. Debug project. LCD is black.

I don't familiar with your compile tool environment, and I guess maybe the 35510.c is not matching the new NT35510 LCD? you can try the replace 35510.c and 35510.h by below files

SPrik
Associate II

Hi, EXUE_2,

I replaced nt35510.c and nt35510.h files - no change - black screen.

My SW:

STM32CubeIDE - 1.10.1

STM32CubeMX - 6.6.1

TouchGFX - 4.20.0

Could you send me any simple working demo based on TouchGFX + CubeIDE + (CubeMX) ? Source code, I will try compile it.

Thanks.

Hi SPrik, I only have one demo project based IAR, if you want to get it, please give me your email.

SPrik
Associate II

Thanks for offer.

Is it TouchGFX based app?