2023-12-11 12:54 AM
Hi guys. Help solve this problem.
I am working with STM32H745 and ThreadX. In my project, an external event generates an interrupt on EXTI10.
The tx_event_flags_set() function is executed from the HAL_GPIO_EXTI_Callback() interrupt handler to start a process that must perform certain actions. According to ThreadX recommendations, custom interrupt handlers from which RTOS functions are called are assigned the smallest interrupts. But when I assign EXTI10 Preemption priority=15, the program is unstable. And when I set Preemption priority=0 everything works fine. What could be the problem?
Solved! Go to Solution.
2023-12-12 04:46 AM
Hello @matlaber74 and welcome to the Community :),
Could you please refer to these FAQs to check your configuration:
- Part 1: How to create a ThreadX low power project from scratch
- Part 2: How to create a ThreadX low power project from scratch
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-12-12 04:46 AM
Hello @matlaber74 and welcome to the Community :),
Could you please refer to these FAQs to check your configuration:
- Part 1: How to create a ThreadX low power project from scratch
- Part 2: How to create a ThreadX low power project from scratch
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.