Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeRTOS and ILI9341 #9

Open
srknngundogdu opened this issue Jul 25, 2024 · 2 comments
Open

FreeRTOS and ILI9341 #9

srknngundogdu opened this issue Jul 25, 2024 · 2 comments

Comments

@srknngundogdu
Copy link

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?

@tiwag
Copy link

tiwag commented Jul 25, 2024 via email

@srknngundogdu
Copy link
Author

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 */
}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants