- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
I have read the CYW20735 reference document: 002-14881_CYW20735B1_Single-Chip_Bluetooth_Transceiver_for_Wireless_Input_Devices.pdf
but I don't find about the hardware timer of CWY20735 .the document only introduce the clock source choice of the timer, who can provide me some docunments about hardware timer introduction
Solved! Go to Solution.
- Tags:
- cyw20735
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi mawu_4270096,
WICED_TIMER_INSTANCE_SIZE_IN_WORDS 14
doesn't mean that you can use upto 14 software timers. As given in comments, number of timers depends on the memory available to the application to define the timers. Adding more number of timers will increase your CPU usage and application memory will be used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think if some application which are drived by the timer will be delayed when the system have many tasks to perform.
the better way to solve this problem is to start a additional hardware timer that is configured as interrupt mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have read the wiced_timer.h in the wiced studio SDK, below is a snip of the wiced_timer.h:
/**
* Defines the wiced timer instance size
*/
#define WICED_TIMER_INSTANCE_SIZE_IN_WORDS 14
/*
* Defines the wiced timer structure. Application has to define the timers that it
* requires. Timer module doesn't use any dynamic memory and the number of timers
* depends on the memory available to the application to define the timers
*/
typedef struct
{
uint32_t reserved[WICED_TIMER_INSTANCE_SIZE_IN_WORDS];
}wiced_timer_t;
if we can use up to 14 software timers,and if the every software timer is managered by the it own thread or process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi mawu_4270096,
WICED_TIMER_INSTANCE_SIZE_IN_WORDS 14
doesn't mean that you can use upto 14 software timers. As given in comments, number of timers depends on the memory available to the application to define the timers. Adding more number of timers will increase your CPU usage and application memory will be used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you. I have understood