# Timing Problem when using Event Groups and Timers

**URL:** <https://forums.freertos.org/t/timing-problem-when-using-event-groups-and-timers/15296>\
**Category:** Kernel\
**Created:** [June 21, 2022, 7:25am UTC](https://forums.freertos.org/t/timing-problem-when-using-event-groups-and-timers/15296 "2022-06-21T07:25:38Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [June 23, 2022, 10:09am UTC](https://forums.freertos.org/t/timing-problem-when-using-event-groups-and-timers/15296/12 "2022-06-23T10:09:35Z")

</div>

I tried the code you shared on a Cortex-M7 after making the following modifications:

- `100` seemed a small stack size for a task . So I increased every task’s stack size to 1K.
- I removed the calls to ` Delay_1ms()` from your tasks.

I ran it with tick rate of 1000Hz and 2000Hz and I see not event dropped. Here is the file I used: [app\_main.c](https://forums.freertos.org/uploads/short-url/eRw5rKFK8Z3xh05L6QY6oqumfWw.c) (5.3 KB)

Thanks.

---

_[View the full topic](https://forums.freertos.org/t/timing-problem-when-using-event-groups-and-timers/15296)._
