- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a question about the Timer of CYBT-353027-02 (Chip: CYW20707).
Queries assuming that the APIs of CYW20707 and CYW20706 are the same.
I'm using Modus Tool Box 2.3 / BT SDK 3.1.
Looking at the Community below, the minimum resolution when using the "WICED_MILLI_SECONDS_PERIODIC_TIMER" type was 12.5ms.
I have the following questions:
Q1.
When "WICED_MILLI_SECONDS_PERIODIC_TIMER" is set, is the timeout value of wiced_start_timer set to 12.5ms at the minimum?
In other words, are the values that can be set 12.5 (ms), 25 (ms), 37.5 (ms), 50 (ms) ...?
wiced_result_t wiced_start_timer (wiced_timer_t * p_timer, uint32_t timeout)
Q2.
If Q1 is Yes, if the timeout value of wiced_start_timer is set to 20ms, will it be 12.5ms or 25ms?
Best regards,
Solved! Go to Solution.
- Labels:
-
ModusToolbox Bluetooth SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Yes, you are correct about the timer.
2. It will calculate the number of sys tick by (val*2)/25. So if you set it to 20ms, the actual timer will be 12.5ms. The timeout value is recommended to set as a multiple of 12.5ms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Yes, you are correct about the timer.
2. It will calculate the number of sys tick by (val*2)/25. So if you set it to 20ms, the actual timer will be 12.5ms. The timeout value is recommended to set as a multiple of 12.5ms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way to create a 20ms timer with MODUSTOOLBOX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, it is not possible to have a 20ms timer while the minimum resolution is 12.5ms.
You may use other devices such as CYW20719, CYW20735 or CYW20819.