I am developing an application based on PIC24 where am trying to interface ADC sensors, UART and some GPIOs. The problem is when I am going to implement each one of these in different tasks. I know that the scheduler does the task swap in and out process based on the priority of the tasks and the time for execution is based on configCPU_CLOCK_HZ value which in turn depends on the frequency at which the controller is running. I modified the sample code in which the default value of configTICK_RATE_HZ was set to 1000 i.e 100 ms. But 100 ms is too much value for my project.
So what is the criteria to decide the value of configTICK_RATE_HZ for a particular application?
Thanks in advance….