Hello,
Regarding the FreeRTOS tick rate, I found that "configTICK_RATE_HZ" is set to 200.
Is it possible to change the value up to 1000Hz so I can measure with sampling frequency of 1000Hz?
I attached the part of the code related to this.
---------------------------------------------------------------------------------------------------------------------------------------
#define ADC_SAMPLE_FREQ 1000U
#define mainQUEUE_SEND_PERIOD_MS (1000/(ADC_SAMPLE_FREQ*portTICK_PERIOD_MS))
#define mainSOFTWARE_TIMER_PERIOD_MS (1000 / portTICK_PERIOD_MS)
#define mainQUEUE_LENGTH (1)
xExampleSoftwareTimer = xTimerCreate("LEDTimer", mainSOFTWARE_TIMER_PERIOD_MS, pdTRUE, (void *)0, vExampleTimerCallback);
xTimerStart(xExampleSoftwareTimer, 0);
static void vExampleTimerCallback(TimerHandle_t xTimer){
ulCountOfTimerCallbackExecutions++;
}
vTaskDelayUntil(&xLastWakeTime, mainQUEUE_SEND_PERIOD_MS);
------------------------------------------------------------------------------------------------------------------------------------------
Thank you for your help.
Regards,