Hi,
I want to create a 1ms periodic task. Could you suggest me the best way in ESP32 to do it. Please share if you have any sample code for the same. Thanks
Regards,
Shalini
Search found 3 matches
- Tue Dec 12, 2017 9:49 am
- Forum: General Discussion
- Topic: vTaskDelayUntil hangs
- Replies: 11
- Views: 17897
- Mon Dec 11, 2017 11:32 am
- Forum: General Discussion
- Topic: vTaskDelayUntil hangs
- Replies: 11
- Views: 17897
Re: vTaskDelayUntil hangs
Hi,
Thanks for your reply. I have only single task in my code, still i cannot achieve 1ms loop with this RTOs function. If I am not wrong this run at xtensa timer 0. So we cannot set the timer to 1ms and achieve this?
Thanks,
Shalini
Thanks for your reply. I have only single task in my code, still i cannot achieve 1ms loop with this RTOs function. If I am not wrong this run at xtensa timer 0. So we cannot set the timer to 1ms and achieve this?
Thanks,
Shalini
- Fri Dec 08, 2017 8:30 am
- Forum: General Discussion
- Topic: vTaskDelayUntil hangs
- Replies: 11
- Views: 17897
Re: vTaskDelayUntil hangs
Hi, I am facing issue with setting the loop time as 1ms. I am using vtaskdelayUntil function. I have changed configTICK_RATE_HZ from 100 to 1000 to make the tick rate as 1000Hz. Also changed it on menuconfig. Still my task runs at 12ms loop. Please help me understand the reason. And what can i do to...