I am working on FreeRtos Version 7.6. My application is Solar inverter based on STM32f3 CortexM4f3 Controller. Kernel tick is 1ms.
I have created 4 tasks:
- Task for Battery Charging Using Solar
- Task for Inverter Control
- Task for HMI(LCD and Keypad)
- Task for Serial Communication. Wait for Que to receive data from USART interrupt.
Here i have kept the Task1, 2 and 4 at lowest priority (2), and Task 3 is at highest Priority(3) but there is a task delay of 4 Seconds so that other task get chance to run.
Now i am facing the issue the task are not synchronised and not working properly. I need to Synchnorize them. I need help in uderstanding the the different and best option for synchronizing the task.