DA14580

GAPM_CONNECTION_AUTO and GAPM_CONNECTION_SELECTIVE

Wed, 2016-10-19 13:47--prasanth.velliy...

Hi Dialog Team

/**************************************************************************************
* Peer device information, only for:
*
* - GAPM_CONNECTION_AUTO
* - GAPM_CONNECTION_SELECTIVE
*
* White list with peer addresses and the respective peer address type
**************************************************************************************
*/
/// BD Address of device
.peer_addr_0 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0},

SPI MISO is not Reading Data

Wed, 2016-10-19 12:00--Bharath

Hi,

I am using a SPI slave device which has only SDO, CS and SCLK. When I connect SDO to any of the Analog pins(P_0.0 to P_0.3 ) or Port 1 pins my data is read correctly.
If I use the pins P_0.5, P_0.6, P_0.7 DA14580 is reading only 0's. What might be the problem on these pins?
Is it possible to use these pins as SPI data lines?

Thank you
Bharath

DSPS extend mode

Wed, 2016-10-19 11:43--zhoujianhua

Hi,
I am using DA14580 DSPS project based on SDK5.0.3.There is a problem faced me,that if I enable the extend sleep mode,device stops working,and every thing is ok while in sleep off mode.I use a ULINK to debug on line,and found that software stopped at
while(!ble_deep_sleep_stat_getf()); in funtion "sleep_mode_t rwip_sleep(void)" of "rwip.c".
the funtion is as below
__INLINE uint8_t ble_deep_sleep_stat_getf(void)
{
uint32_t localVal = REG_BLE_RD(BLE_DEEPSLCNTL_ADDR);
return ((localVal & ((uint32_t)0x00008000)) >> 15);

how arch_printf() can print the float digital?

Wed, 2016-10-19 10:50--liliou26

Hi dialog engineer:
when i debug my sensor data, i find that a problem to solve difficultly.

when i use the angle func( ex: acos, atan....) to process the float digit, and i use arch_printf() func to print the float digit for my application, i see the warning: "FATAL: unsupported printf character: f.", so my question is how to output the float digit to uart for debug?

short gx; short gy; short gz;
short ax; short ay; short az;
short Axyz; float angleX; float angleY; float angleZ;

有没有关于da14580 3.0.7 版本的关于配对绑定的资料?

Wed, 2016-10-19 03:42--lianghuok2

现在用DA14580_MOUSE_3.70.2.63 的包去增加一个配对绑定功能,但是鼠标无法输入按键。。
只好设置成cfm - > data.pairing_feat。iocap = GAP_IO_CAP_DISPLAY_ONLY; 由安卓这边输入配对码。
但是现在不知道固定配对码是如何设置的。
Training_05_ble_security_example_v1.0 讲解的是5.0.3的版本的。现在3.0.7的不知道如何修改。

有资料的话,提供一下。谢谢。
如果没资料。这个流程有没有可以讲一下我该如何修改?

Which is the best and fastest method to read/write characteristics' values from custom profile?

Tue, 2016-10-18 14:59--AngelT

Hello Dialog,

Using the example project "ble_app_peripheral" we created our project with new custom profile with 3 new characteristics Param1 - 1 byte, Param2 - 1 byte and Param2 - 2 bytes. An external MCU communicates with the BLE chip and can read and update these parameters. Mobile application also can read and update the parameters. Questions:

1. Which is the best and fastest way to read the actual values of these characteristics from the custom profile (e.g., there is a serial command from the external MCU "Get Params")?

DA14580 Basic Kit not talking to DSPS Android App

Fri, 2016-10-14 22:01--kqtrinh

The flashed FW I used was straight from the DSPS device side sample code I obtained from the Dialog Web portal. I was able to build and flash the DSPS peripheral mode firmware via JTAG to the basic kit. The DSPS Android App discovered the board. I selected it on the app and tried to send it some characters but nothing printed on the terminal. Regarding the terminal, I tried all three Flow Control with Xon/Xoff, hardware and none and Baud rate set to 115200. None of these options worked.

Pages

Subscribe to RSS - DA14580