- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
as the title!what i mean is that i what to use a timer at 2ms to do ADC receive , but i can not find how to achieve it ! is there anyone can help me ?
also i have find that someone say the timer can not set below 3.5ms , is that ture ?
thanks
Solved! Go to Solution.
- Tags:
- timer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
螃蟹三号 您好,
從 Re: BCM20737S Timer Module 抄過來的,
> to interrupt every 30microseconds? Will that affect the workings of the bluetooth stack?
This will most likely trip the watchdog. Bluetooth tasks are the highest priority tasks in the system and any application activity under about every 3.5mS will interfere with BT activity.
這就是說,在3.5毫秒以內的定時器會影響到藍芽的功能。
希望這有幫助!
謝謝,
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The highest resolution (soft) application timer is the 12.5mS fine timer.
Recall that callbacks will be invoked in interrupt context and you are expected to return in under 100uS or you risk serious performance issues with the BLE connection.
There is more information here in this thread: Re: BCM20737S Timer Module and several others.
Go here: WICED Smart Forums and select the "Timers" category to do more research.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would take a look at arvinds's response in the BCM20737S Timer Module first and then take a look at FineTimer
-Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for your help . i have also try what you say .but when i set the timer at 2ms,the system while go wrong , and also can not be connect anymore ! may be 2ms is too fast for our BLE system !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The highest resolution (soft) application timer is the 12.5mS fine timer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
螃蟹三号 您好,
從 Re: BCM20737S Timer Module 抄過來的,
> to interrupt every 30microseconds? Will that affect the workings of the bluetooth stack?
This will most likely trip the watchdog. Bluetooth tasks are the highest priority tasks in the system and any application activity under about every 3.5mS will interfere with BT activity.
這就是說,在3.5毫秒以內的定時器會影響到藍芽的功能。
希望這有幫助!
謝謝,
Kevin