Two problems porting TouchGFX to CoreH743I - missing LTDC_IRQHander() and a HardFault during HAL_Init().
- July 4, 2020
- 8 replies
- 1836 views
Hi,
I'm trying to port TouchGFX to the CoreH743I board and I'm following the instructions on how to do that. In part 3 on bringing up the framebuffer I'm running into two problems:
The internal CubeMX in CubeIDE is not generating the LTDC_IRQHander() function in stm32h7xx_It.c, so I can't really time my frame rate.
The other problem is a hard fault being generated when HAL_Init() tries to call NVIC_SetPriorityGrouping(PriorityGroup) by calling NVIC_SetPriorityGrouping(PriorityGroup);
The debugger makes it past the assert but then hard faults on the call to NVIC_SetPriorityGrouping(). It does not allow me to step into that function - it immediately goes to the HardFault_IRQ handler.
EDIT: it would help if I attached the .ioc file... so here it is.
Any ideas?
Thanks
