Tutorial for DA 14861 WEARABLE

了解更多FAQsTutorials

13个帖子/ 0新
Last post
克萨拉多
Offline
Last seen:9 months 2 weeks ago
Joined:2019-09-13 13:30
Tutorial for DA 14861 WEARABLE

Hi,

我想使用DA 14861可穿戴版本。我想问一下是否有教程,如,https://www.dialog-seminile.com/produ雷电竞官网登录cts/connectity/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:11 hours 55 min ago
Staff
Joined:2018-02-08 11:03
嗨Ksalgado,

嗨Ksalgado,

谢谢你在线的问题!不幸的是,没有任何可用的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.wsdof.com/sites/default/files/an-b-037_da1468x_power_measurements_v1.5.pdf

谢谢, PM_Dialog

克萨拉多
Offline
Last seen:9 months 2 weeks ago
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:11 hours 55 min ago
Staff
Joined:2018-02-08 11:03
嗨Ksalgado,

嗨Ksalgado,

DA14681可穿戴式开发套件是基于DA1468X SDK的参考应用设计。该项目应作为参考,旨在与专用开发套件一起运行。PXP_Reporter是SDK包含的SDK示例。通常,我们提供SDK的一些BLE和非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-semicondiondiondiondum/forums/post/dialog-martbond-bluetooth-low-energy-%2%80%93-hardware-device-reference-designs/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 months 2 weeks ago
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 months 2 weeks ago
Joined:2019-09-13 13:30
Are there any recommendations

有什么建议吗?

PM_Dialog
Offline
Last seen:11 hours 55 min ago
Staff
Joined:2018-02-08 11:03
嗨Ksalgado,

嗨Ksalgado,

是的,你是对的。您应该将可佩戴项目导入SmartSnippets Studio。启动您自己的应用程序不是直截了当的实现。如果检查源代码,您会发现应该导入许多库。我的推荐将是与现有的应用程序代码进行交互,并开始启用/禁用某些外设模块。wrbl_app_defs.h标题文件包括可佩戴应用程序使用的底层软件模块的定义。另外请检查WRBL_PROF_DEFAULT.H,其中包含默认情况下的配置属性 - 完整功能列表。例如,在12.2.1.9陀螺仪传感器设置部分UM-B-076用户手册中,您将找到所有陀螺传感器配置。您可以将Acceleromer_Sensor宏定义为Sensor_None,以禁用加速度计传感器。通常,我强烈建议您没有修改源代码。 There are couple of definitions described inUM-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 months 2 weeks ago
Joined:2019-09-13 13:30
Thank you for the answer it

谢谢你的回答非常有用。我想在示例12.2.1.9中询问,当您将其设置为禁用时,除非您再次编译它,否则无法更改它,而不是它。我问这个是因为我想让它变得更加动态。正如我曾告诉我之前曾经做过的事情10秒钟,陀螺仪在宏中禁用,但随后在你解释的方式上被启用,你会在开始的那样,如果它将启用从Begginess,那么这不能改变这一点,不是吗?

先感谢您

PM_Dialog
Offline
Last seen:11 hours 55 min ago
Staff
Joined:2018-02-08 11:03
嗨Ksalgado,

嗨Ksalgado,

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

如果您在大学中拥有传感器相关项目,您也可以进入DA14585 IOT多传感器开发套件。

https://www.dialog-seminile.com/produ雷电竞官网登录cts/da14585-iot-multi-sensor-development-kit.

谢谢, PM_Dialog

丹妮州斯顿
Offline
Last seen:3 months 1 week ago
Joined:2020-10-28 11:58
是的,我有我的大学

是的,我在DA14585 IOT多传感器开发套件上拥有我的大学项目。谢谢你的链接https://www.dialog-seminile.com/produ雷电竞官网登录cts/da14585-iot-multi-sensor-development-kit.https://writemyessay.onl

克萨拉多
Offline
Last seen:9 months 2 weeks ago
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 months 2 weeks ago
Joined:2019-09-13 13:30
嗨是任何建议吗?一世

嗨是任何建议吗?我要问,没有教程,API只描述了输入和输出,并且不应该使用这些FUCNTION的何处。

PM_Dialog
Offline
Last seen:11 hours 55 min ago
Staff
Joined:2018-02-08 11:03
嗨Ksalgado,

嗨Ksalgado,

一世f 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