AnsweredAssumed Answered

How to enable LTDC Line Interrupt in STM32F769

Question asked by Jith cr on May 24, 2017
Latest reply on Jun 7, 2017 by Imen D

Hi,

 

We are testing a parallel RGB LCD through LTDC controller in our custom board.

We are able to display different colours in the LCD.

So we are concluding the Pin configuration as well as timing configurations are fine.

 

We have enabled the LTDC global interrupt and Line position in LCD configuration part as below

 

HAL_NVIC_SetPriority(LTDC_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(LTDC_IRQn);

HAL_LTDC_ProgramLineEvent(&hltdc,0);

 

But we found that LTDC_IRQHandler is not getting called by toggling a LED. The LED toggling is already tested in the  main program.

Can you please comment that whether above mentioned configuration is sufficient to enable the LTDC global interrupt. Are we missing any configuration for enabling the LTDC global interrupt ?

PS:

Definition for LTDC_IRQHandler() is done in the stm32f7xx_it.c file as mentioned below

void LTDC_IRQHandler(void)
{
   BSP_LED_Toggle(LED5);
   HAL_LTDC_IRQHandler(&hltdc);
 }
Thank in advance

Outcomes