Tutorial for DA 14861 WEARABLE

了解更多FAQsTutorials

13个职位/0个新职位
Last post
卡萨尔加多
Offline
Last seen:9个月1周前
Joined:2019-09-13 13:30
Tutorial for DA 14861 WEARABLE

Hi,

我想使用DA 14861可穿戴版本。我想问一下是否有这样的教程,//www.xmece.com/亚博电竞菠菜products/connectivity/bluetooth-low-energy/smartbond-da14680-and-da14681, but for the Wearable development kit specifically. Generally, i would lke to ask some hints about experimenting on this dk in terms of software. specifically, the development tools for the wearable, because i see in the site that there are tools such as Smartsnippets Studio and toolbox and it is not very clear to me what is need for this. finally, my experimentation with the dk is to switch off/on sensors or components of the wearable and calculate the energy consumptions. Are there any tutorials for something like this ?

先谢谢你

设备:
PM_Dialog
Offline
Last seen:45 min 55 sec ago
Staff
Joined:2018-02-08 11:03
嗨,克萨加多,

嗨,克萨加多,

谢谢你的在线提问!不幸的是,目前还没有专门针对DA14681可穿戴开发工具包的教程。通常,每个基于DA1468x的项目都可以遵循DA14680/681产品页中的所有可用教程。对于我们的任何参考应用程序设计,我们都没有任何专门的教程。在DA14681可穿戴DK支持页面中,您将找到所需的所有可用文档。

Regarding the tools, you should use the SmartSnippets Studio to build and debug any DA1468x related project. The SmartSnippets Toolbox contains useful tools to assist you with key development activities such as flash programming, power measurement and profiling etc. Please check the user manuals:

关于功耗测量,我建议您首先阅读AN-B-037应用说明。链接如下:

//www.xmece.com/sites/default/files/an-b-037_da1468x_power_measurements_v1.5.pdf

谢谢, PM_Dialog

卡萨尔加多
Offline
Last seen:9个月1周前
Joined:2019-09-13 13:30
我有点困惑。一些

我有点困惑。一些the UM-B-057 elements are not available in the wearable sdk. for example pxp _reporter etc. Isn't important to use the appropriate SDK depending on the DK ? Also, the components are not the same e.g in the wearable version there is no jtag. Is there something more about the wearable version to be more familiar with the wearable programming. I would like to see how to make a program where for e.g every 10 seconds the bluetooth component wakes up etc

谢谢

PM_Dialog
Offline
Last seen:45 min 55 sec ago
Staff
Joined:2018-02-08 11:03
嗨,克萨加多,

嗨,克萨加多,

DA14681可穿戴式开发工具包是基于DA1468x SDK的参考应用程序设计。这个项目应该作为一个参考,它的设计运行专用的开发工具包。pxp\u reporter是SDK附带的一个SDK示例。一般来说,我们会提供一些SDK附带的BLE和non BLE示例。

The DA14681 Wearable DK doesn’t contain JTAG. To do so, you should use an additional board named Communication Interface Board (CIB). Please read section 12.4 Connection with CIB from the user manual. I found a past forum thread that you had created before couple of months and I had provided you some guidelines:

https://support.dialog semiconductor.com/forums/post/dialog smartbond蓝牙低能耗-%E2%80%93硬件设备参考设计/da-14681

关于你最后一个问题,你能请分享more inputs? Do you want to stop advertising and wake up the chip periodically every 10 sec? In which project are you referring to? In the wearable project? Keep in mind that the device will go into sleep mode between advertising or connection intervals.

谢谢, PM_Dialog

卡萨尔加多
Offline
Last seen:9个月1周前
Joined:2019-09-13 13:30
我会尽力解释的

我会尽力解释的better from the beginning. Firstly, i have the wearable DK. In order to use it, first i installed Smartisnippet. Then i imported the wearable SDK. As far here am i right (i mean the above steps are correct?)? Then i try to experiment with the device, specifically to make a program that e.g will enable and disable some modules such as the heart sensor etc. This can be in intervals for example some sensors will wake up every 10 seconds while others in 30 seconds. In this phase i want to learn how to use and program it, and start with very simple things. How should i start?

Thank you very much and sorry if it feels that i am asking very basic questions,

卡萨尔加多
Offline
Last seen:9个月1周前
Joined:2019-09-13 13:30
Are there any recommendations

有什么建议吗?

PM_Dialog
Offline
Last seen:45 min 55 sec ago
Staff
Joined:2018-02-08 11:03
嗨,克萨加多,

嗨,克萨加多,

是的,你说得对。您应该将可穿戴项目导入SmartSnippets Studio。启动自己的应用程序并不是一个直接的实现。如果您检查源代码,您会发现许多库应该被导入。我的建议是与现有的应用程序代码交互,并开始启用/禁用一些外围模块。wrbl\u app\u defs.h头文件包含可穿戴应用程序使用的底层软件模块的定义。另外,请检查wrbl\u prof\u Default.h,其中包含用于操作Default-full特性列表的配置属性。例如,在um-b-076用户手册的12.2.1.9陀螺仪传感器设置部分,您将找到所有陀螺仪传感器配置。您可以将加速计\传感器宏定义为传感器\无,以禁用加速计传感器。一般来说,我强烈建议您不要修改源代码。中描述了几个定义UM-B-076 DA14681可穿戴式开发工具包软件手册for interacting with the all peripheral modules/sensors.

如果您对启动新项目或修改现有项目感兴趣,您应该阅读UM-B-085 DA14681可穿戴开发工具包APIuser manual. This document describes the API specifications of software modules of the application running on the Dialog DA14681 Wearable Development Kit. This manual intends to assist software developers who implement applications using the DA14681 Wearable Development Kit. Keep in mind that Wearable reference application is obsolete, and it is supported as it is provided in our support portal.

谢谢, PM_Dialog

卡萨尔加多
Offline
Last seen:9个月1周前
Joined:2019-09-13 13:30
Thank you for the answer it

谢谢你的回答,非常有帮助。在示例12.2.1.9中,我想问一下,当您在disable中设置它时,您不能更改它,除非您再次编译它,不是吗。我问这个是因为我想让它更有活力。正如我之前说的,我想做10秒钟的事情,陀螺仪在宏中是禁用的,但随后要启用等等。按照你解释的方式,你在begging中预定义了它是否会从begging中启用,这是不能更改的,不是吗?

先谢谢你

PM_Dialog
Offline
Last seen:45 min 55 sec ago
Staff
Joined:2018-02-08 11:03
嗨,克萨加多,

嗨,克萨加多,

宏定义是静态的,因此每次都需要构建源代码。如果您想使它更动态,这取决于您,您应该覆盖许多源代码功能。我不推荐它,因为它不是直截了当的,可穿戴应用程序代码是支持的,因为它是在我们的支持网站上提供的。

如果你有一个传感器相关的项目在你的大学,你也可以进入DA14585物联网多传感器开发工具包。

//www.xmece.com/亚博电竞菠菜products/da14585-iot-multi-sensor-development-kit

谢谢, PM_Dialog

丹尼尔休斯顿
Offline
Last seen:3 months 31 min ago
Joined:2020-10-28 11:58
是的,我有我的大学

是的,我有一个关于DA14585物联网多传感器开发工具包的大学项目。谢谢你的链接//www.xmece.com/亚博电竞菠菜products/da14585-iot-multi-sensor-development-kithttps://writemyessay.onl

卡萨尔加多
Offline
Last seen:9个月1周前
Joined:2019-09-13 13:30
Hi,

Hi,

搜索UM-B-085 DA14681可穿戴开发工具包API, i found the bmi160_set_sensor_state(). Would you recomend to use it for the dynamic change of states for example from ACC_SUSPEND to Normal? If yes, should i change something else? Where would you recommend me to implement this ? E.g in main.c it will not work, so where shoult i put it?

卡萨尔加多
Offline
Last seen:9个月1周前
Joined:2019-09-13 13:30
嗨,有什么建议吗?我

嗨,有什么建议吗?我问的是,没有教程,API只描述输入和输出,不应该在哪里使用这些功能。

PM_Dialog
Offline
Last seen:45 min 55 sec ago
Staff
Joined:2018-02-08 11:03
嗨,克萨加多,

嗨,克萨加多,

If you search into the source code, you will see that the bmi160_set_sensor_state() is called in sc_impl_bmi160_and_bmm150.c file. As you can see, there is a whole mechanism that handles and control all the sensors’ states. To do so, calling the bmi160_set_sensor_state() in the main function, will not change the accelerometer state. Why don’t you use the Wearable mobile application to manually controlling the sensors? As I have already mentioned, changing the source code of the Wearable kit is not a straight-forward. The ACC_SUSPEND state is set in the following functions : sc_impl_power_state_set_step_bmi160_and_bmm150(), sc_impl_power_state_set_acc_bmi160_and_bmm150().

谢谢, PM_Dialog