- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Per your responses here: Hardware Timer (hw_timer.h) usage
I tried to implement the usage of the hw_timer using the functions:
hw_timer_register_timer_expired_callback, hw_timer_start to initialize and the function
bleappevt_serialize within the callback function. Unfortunately the callback function is never called. I checked that with a cntr increment (I passed it via the data context pointer of the serialize function).
Do I have to initialize the event system or do I have to enable a hw_timer interrupt. I would appreciate any help
Thanks
Daniel
Solved! Go to Solution.
- Labels:
-
Timers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Daniel,
1. The hardware timer doesn't work well (It will expire much longer) when sleep is enabled.
2. You must disable sleep.
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Daniel,
1. The hardware timer doesn't work well (It will expire much longer) when sleep is enabled.
2. You must disable sleep.
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
perfect, I disabled the sleep and *wham* it was working. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks JT.
Many thanks for the feedback that this now works Daniel.
Regards
Dave