FreeRTOS and ILI9341
Opened this issue · 2 comments
Hello, first of all, thank you for this effort. I tried to run the project with FreeRTOS, but I didn't get any display output. I worked on it quite a bit, but it didn't work. Does anyone have any ideas?
Hello, thank you for your answers. I solved the problem. After setting up for full mode, the timer callback in 'z_displ_ILI9XXX.h' gives an error because a timer is active when Systick is disabled. The issue is resolved by updating the callback function at the bottom of main.c as follows.
`void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef htim)
{
/ USER CODE BEGIN Callback 0 */
/* USER CODE END Callback 0 /
if (htim->Instance == TIM1) {
HAL_IncTick();
}
/ USER CODE BEGIN Callback 1 /
else if (htim==&TGFX_T){
touchgfxSignalVSync();
}
/ USER CODE END Callback 1 */
}`