2018-06-21 11:42 PM
Hi,
It seems to me that there is an error in the stm32f7xx_hal_ltdc.h file from STM32Cube_FW_F7_V1.7.0
macro:
#define __HAL_LTDC_GET_IT_SOURCE (__ HANDLE__, __INTERRUPT__) ((__HANDLE __) -> Instance-> ISR & (__INTERRUPT__))
should test the IER register, not the ISR register.
Look at the file stm32f7xx_hal_ltdc.c, the interrupt service function:
void HAL_LTDC_IRQHandler (LTDC_HandleTypeDef * hltdc)
{
/ * Transfer Error Interrupt management *************************************** /
if (__ HAL_LTDC_GET_FLAG (hltdc, LTDC_FLAG_TE)! = RESET)
{
if (__ HAL_LTDC_GET_IT_SOURCE (hltdc, LTDC_IT_TE)! = RESET)
{
Here, the ISR register is checked twice, and the IER and ISR should.
What do you think about it?Regards
Grzegorz
2018-06-22 06:51 AM
Hello
Kania.Grzegorz.002
,Thank you for bringing this issue to our attention.
This is raisedinternally for fix in the coming release of STM32CubeF7 firmware package.
With Regards,
Imen.