雷竞技电竞平台Dialog半导体客户支持- DA14681中断禁用 https://support.dialog-semiconductor.com/resource-keywords/da14681-interrupts-disabled 中断被禁用的最大时间 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/max-time-when-interrupts-are-disabled < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >什么是最长时间的中断是禁用的在BLE堆栈中?

I am using DA14681 dev kit (PRO) and using pxp_reporter example。我修改了示例,添加了一个hw_timer0,在计时器ISR中,我只是切换了一个I/O行,并查看O -scope上的周期。定时器被配置为每500微秒中断一次,但我在o形示波器上看到了200微秒的抖动。但是,当我禁用pxp_reporter任务(注释掉该任务的创建)时,抖动会减少(约20微秒)。

这是我的定时器配置代码。让我知道定时器是否配置正确。

hw_timer0_init(NULL);
hw_timer0_set_clock_source(HW_TIMER0_CLK_SRC_FAST);
hw_timer0_set_clock_div (HW_TIMER0_FAST_CLK_DIV_2); 2000);
hw_timer0_set_on_reload(200);
hw_timer0_register_int(timer0_interrupt_cb);
hw_timer0_enable();

Device: 
2017年5月15日星期一16:52:08 +0000 kvenkatraman 35652年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/max-time-when-interrupts-are-disabled#comments