cancel
Showing results for 
Search instead for 
Did you mean: 

stm32H753II problem with LTDC

Posted on April 27, 2018 at 06:40

Hello.

I'm trying to run TFT 480x272 RGB.

SDRAM works, PLL3 is started, but as soon as I add to the project the LTDC program goes into the software error.

In the examples of the CubeMX, everything is written without using it.

Who can tell the reason.

An error in CubeMX?

2 REPLIES 2
Posted on April 27, 2018 at 15:54

At this point in the HAL library, the code drops.

HAL_StatusTypeDef HAL_LTDC_Init(LTDC_HandleTypeDef *hltdc)

{

.................................................

hltdc->Instance->GCR &= ~(LTDC_GCR_HSPOL | LTDC_GCR_VSPOL | LTDC_GCR_DEPOL | LTDC_GCR_PCPOL);

..............................................................................

}

Posted on April 30, 2018 at 01:01

Today I created the project anew.

Surprisingly, it all worked.