DA14580

DA9063 won't reset after watchdog timeout

Tue, 2018-10-09 09:14--pinkpr

Hello,

I am currently developing BSP for a custom iMX6-based board.
I am trying to enable the DA9063 Watchdog feature.
The timeout works OK, but when it's meant to reset, the iMX just stops. All PMIC voltages seem to remain the same, and the iMX won't reboot until I manually write 1 in the SHUTDOWN bit (bit 1) of register CONTROL_F (0x13).

Also, the exact same behaviour is reproducible by writing 1 in SHUTDOWN bit while the iMX is alive. Then I have to re-write 1 in the SHUTDOWN bit, otherwise the iMX won't reset.

da14580低功耗IO保持问题

Mon, 2018-10-08 09:27--WaltWang

Hi Dialog,

我们在做一款监护手环类的产品,需要14580做蓝牙主端,同时控制GSM通信模块的电源
软件上我们设置了app_default_sleep_mode = ARCH_EXT_SLEEP_ON,有时需要拉高 GSM的电源控制IO 并保持,但是测试发现IO口的电平在进入低功耗之后变低电平了
于是我在periph_init函数里面添加了恢复IO状态的代码,但是仍旧有10微秒的IO下降沿,这样我的受控的GSM系统会短暂断电导致异常
想请问下有没有什么办法能在低功耗状态下保持住IO的状态?
还是我这种场景就不能使用sleep模式了?

谢谢
Best Wishes
Walt

自定义服务的属性读写问题

Mon, 2018-10-08 02:34--liyang

您好,很久没来论坛了。从14年到现在一直用DA14580在做产品。之前用的SDK3所以一直都没什么问题。
现在公司的新产品打算用SDK5,我参考“Dialog SDK 5.0.3培训材料2自定义协议“文件并使用了SDK5.0.4下的ble_app_all_in_one这个项目来进行试验。
添加新的特征值之后,运行起来的设备能被手机上的工具软件扫描并且能和手机上的工具软件进行连接。
我发现当我用手机上的蓝牙工具对自定义的特征进行写入数据时,并没有回调对应的gattc_write_cmd_ind_handler(...)函数,我记得在SDK3上是会回调
gattc_write_cmd_ind_handler(...)的。请问ble_app_all_in_one这个项目能实现对特征值进行操作吗?写入数据是会调用哪个回调函数?

about Initialize RW

Fri, 2018-10-05 05:27--diogenes

Hi, Dialog,

Now I'm running the ble_app_all_in_one project in DA1458x_SDK sample and I found a problem.
A function rwip_init(error); is written in system_init() located in arch_system.c.
During debug, it faulted at the rwip_init(error);.
当我看到entity of the function, it exists under the condition #if (!BLE_HOST_PRESENT).
So I think before at the rwip_init(error) calling #if (!BLE_HOST_PRESENT) is also needed.
Actually after inserted #if (!BLE_HOST_PRESENT) before at the rwip_init(error), debug proceeded.
Am I right?

add UART into DA1458x_SDK project

Thu, 2018-10-04 09:59--diogenes

Hi Dialog,

Now I'm struggling to add UART2 communication into ble_app_all_in_one project in DA1458x_SDK sample project.
UART2 communication with uart2_async project in same DA1458x_SDK sample project works fine.
But by adding the uart2_async function into the ble_app_all_in_one project, UART2 communication doesn't work normally.
As UART2 functions, I just only same uart2_async functions.
Following abnormal phenomena occur.

Just run by debugger, character beta in Greek appears in console.

Pages

Subscribe to RSS - DA14580