DA14580

Write Long Characteristic Values (Execute Write Request)

Tue, 2016-09-13 16:35--Vadym

Hi.

I use DA14580 device.
I need to receive long value. For data receiving i use "gattc_write_cmd_ind_handler" function.
How can i know when writing is completed?
Do you have some example for handler, when I receive "Execute Write Request"?
Do I need to do handler for "GATTC_EXECUTE_WRITE_CMD"?

Thanks!

充电开机功能硬件实现过程中遇到的奇怪问题

Tue, 2016-09-13 01:29--songsayit

我设计一个电路要实现充电开机和充电检测功能。我做的电路很简单。
1. 用2个1M电阻串联分压, 接5V和GND, 正常情况下,中间的分压值应该是2.5V左右, 这个接到主控的P24脚。我测量过, 在开机正常后, 如果接上5V充电器,那么中间分压值就是2.5V左右, 这样在接与不接充电器时, 主控能检测到;
2. 我使用中间分压值串个二极管后接到LDO的EN脚。想实现在关机状态下, 如果接充电器, 系统就能开机了。 但是问题来了
2.1 在关机状态下, 接充电器, 中间的分压值并不是2.5V, 而是只有0.3V左右,这样肯定是开不了机的。
2.2 我在测试时, 点了几下分压位置, 他又供电了。我以为正常了。 可是发现P24管脚貌似坏了。 因为他做输入时,始终检测到是高电平,即使我把管脚直接接地;
2.2 我把1M电阻换成小一点电阻, 好像也开机了, 但是同样出现2.2的P24管脚烧坏情况;

这个现象确实有点奇怪。我搞坏了2个板子了。

wake up time from deep sleep

Mon, 2016-09-12 07:09--uta_lc

Dear Dialogue support,

We are trying to determine after wake up from deep sleep, what the minimum time is required to decide if a GPIO PIN is high or low? If high, go back to deep sleep? If low, wake up BLE and the rest and advertise?

I understand it involves at least OTP mirroring and reset handler configuration etc as mentioned in AN-B-011 for code booting. I'm not sure what the steps involved for deep sleep wake up?

Thanks,
ua_lc

关于sample128的client characteristic configuration添加的问题

Mon, 2016-09-12 03:35--lianghuok2

啊哈,我又来了。
周末在弄sample128的时候,发现PRIMARY SERVICE下面有2个特征1和2
特征2下面有个
client characteristic configuration
UUID 0x2902
1)这个东西干嘛的?客户端特征配置,是给蓝牙设备通知的吗?

2)如果我要在sample128的特征1也添加上一个
client characteristic configuration
UUID 0x2902
要怎么做呢?

EXTENDED sleep mode是否会关闭所有相连器件的供电

Sun, 2016-09-11 11:33--ixuemei

你好:
请问下EXTENDED sleep mode是否会关闭所有对外相连器件的供电,比如对传感器的供电,这个模式和DEEP mode有何差别?
想让我们的设备进入睡眠,但是传感器还可以工作,定时器时钟也可以继续计时,EXTENDED sleep mode是否可以满足?
谢谢!

question about one master connect to multiple slave

Sun, 2016-09-11 06:52--RandyYu

dear dialog
first ,I'll describe my project,My slave is the SNM Module,after connected ,master should write request to slave,then the sensor data is transmit.
second, my master is modified from DSPS project.
Q1:When master connected to Slave_1,master send a write request to it(i put the code in user_sps_client_enable_cfm_handler).then the master can receive the sensor data.
then connected to Slave_2,but master can't write request to Slave_2.
After debug I find after connected to Slave_1,then master change to SPS_CLIENT_CONNECTED.

Pages

Subscribe to RSS - DA14580