DA1468x

DA14681低功耗电流测试和官方资料显示误差的问题请教

Mon, 2017-01-09 03:20--index219

请问下我使用DA14681的sdk:v1.0.6.968的ble_adv工程, 配置如下:
pm_set_sleep_mode(pm_mode_extended_sleep);
广播间隔是代码默认 687.5ms。
现象:
1. da14681启动到8秒的时间电流检测显示2ma左右。
2.8s之后进入extended sleep后电流显示600ua左右。
请问下:
现象1的工作电流2ma正常么?
现象2的电流我在官方文档"AN-B-037 DA1468x Power measurements_v1.3.pdf"
中显示在广播间隔1000ms时平均电流在20.3713ua,那我实际测试是600ua左右,
请问下问题在哪里?

p.s 硬件条件是DA14681最小系统,没有其他芯片在工作。

DA14681降低主频使用的问题请教

Sat, 2017-01-07 08:18--index219

请问下我使用DA14681的sdk:v1.0.6.968的pxp工程,系统默认时钟配置如下:

cm_sys_clk_init(sysclk_XTAL16M);
cm_apb_set_clock_divider(apb_div1);
cm_ahb_set_clock_divider(ahb_div1);
cm_lp_clk_init();
... ...
/* Set system clock */
cm_sys_clk_set(sysclk_XTAL16M);

DA14681 pro board works well with debugger, but halted when run alone

Fri, 2017-01-06 13:17--Neil.duan

Hi, Dialog,
I build a app based on px reporter, add a timer to read data from I2C bus through adapter when connected to a central device.
the most strange thing was, it worked well when in jlink jtag mode, but halted after connected and send several packets of data when work alone. I used attach function and found it ended in the loop of hw_hard_fault.c.
What would be the reason?
Thanks a lot.
Regards.
Duan

程序运行一段时间后进入__asm("BKPT #0\n");死循环了。

Wed, 2017-01-04 03:30--gwjgwgshxd

技术支持你好!
现在遇到个问题,程序运行一段时间后就进入下面的程序中一直死循环。
if (REG_GETF(CRG_TOP, SYS_STAT_REG, DBG_IS_ACTIVE)) {
__asm("BKPT #0\n");
}
应该是进入了不可屏蔽中断,但是之前程序都可以正常运行没有改动过其他地方啊。应该是从看门狗hw_watchdog_handle_int中断进入的死循环。我从新下载没有改动过的pxp_reporter工程到板子上,问题依然存在。

DA14680的I2C只发送设备地址而没有继续发送数据问题

Tue, 2017-01-03 05:12--gwjgwgshxd

技术支持你好!
我现在遇到一个这样的问题:我在自己画了一块板子,我按照手册上的步骤对I2C总线进行了配置,但是每次发送数据的时候都只发送了地址后面的数据从来没有被发送到总线上。另外对总线时钟进行100KHz和400KHz的配置都能生效。请问是什么原因导致的数据不能被发送?谢谢!

Device loses connection

Mon, 2017-01-02 14:37--Firefox2005

Hello,

I am developing an application based on ble_perihperal. I implemented a custom service which should control a stepper motor after a write command.
This is already working however if the code I wrote is running to long the Device which is send the write command gets disconnected. So I guess I have to implement a seperate TASK?
I tried to create one with OS_TASK_CREATE(..) but I can not create more then one task.

Pages

订阅RSS - DA1468x