Current of ble_app_sleepmode
Hi Dialog team,
I want to restrain consumption current 1mA or less.
I executed some sample code, and measure current.
Results are as follows.
Hi Dialog team,
I want to restrain consumption current 1mA or less.
I executed some sample code, and measure current.
Results are as follows.
使用的是analog的ADXL362与DA14580相连,
进行初始化
spi_init(&spipin,SPI_MODE_8BIT,SPI_ROLE_MASTER,SPI_CLK_IDLE_POL_LOW,SPI_PHA_MODE_0,SPI_MINT_DISABLE,SPI_XTAL_DIV_8);
后运行代码 读取器件ID,
spi_cs_low();
spi_access(0x0B);
spi_access(0x00);
devid=spi_access(0x00);
spi_cs_high();
返回0x00。有时能正常读取有时不行。请问是怎么回事呢?
顺便问一下若是使用SDK5.0.3编写好了代码,是否有必要将代码移植到SDK5.0.4上呢?
Hi,
I'm using DSPS 3.150.2. with extend sleep mode. The current consumption is normal in advertising & connected.
When I send a large number of data from the device to the phone, if the connection is normal, all data can be received, current consumption is normal.
If I move the phone/device far away that make connection loss during transmitting data, the device will return to advertising mode after 10 seconds of link loss.
However, the current of the device will be 500uA. It looks like that the device cannot enter sleep mode after time out disconnect.
问题如标题。64位系统无法安装SmartSnippets自带的J-link,选择keil自带的jlink无法识别。Studio和3.8相比做了哪些更新呢?如果我是用作DA14580的开发是否有必要更新呢?
您好!
我想通过串口将我希望的MAC地址发送给14580,然后保存在外部SPI flash中,下次启动的时候就使用新的MAC地址。
请问,我上述想法可以实现吗?我没有找到14580是在哪里读取MAC地址的,
麻烦给我一个思路,谢谢!
Hi support,
我的程序大概的逻辑是外挂ADC每4ms采一次数据,采集完毕后通过中断告诉MCU 14580,MCU开辟一个环形缓冲区来存储ADC result,当有5个result时启动数据发送(notify),数据大小20bytes,即每20ms有一包packet要发送,发送前先检查GATTC_CMP_EVT的到来,connection interval设置为10-20ms,实际测试发现,当连接后不发数据的时候,connection interval为规律的18ms(大概),当启动notify时,connection interval有时为18ms,有时为36ms,有时为54ms,每个connection interval发送的packet也不同,有时1包,有时2包,有时3、4包,这很不科学,connection interval应该是不受任何因素影响的,为什么示波器抓出来的波型显示是这个结果?
下面是部分代码:
嘿,我有一个硬件单元which uses the DA14580 in PAN1740 Bluetooth module.
And I am trying to connect to it via a custom Android application I made.
当我一切都好am in my office or at home (low population areas).
However, if I go to a location with high population, such as an airport or big hotel my Android application with fail to find my hardware, it will just receive a NULL device when scanning.
Does anyone here know what exactly may be causing this (interference, improper software side handling, etc)?
Regards
我在5.150.2做sample128试验时,用上AN-B-029上最后的一个实验中的定时器函数。int sample128_timer_handler(ke_msg_id_t const msgid,
void const *param,
ke_task_id_t const dest_id,
ke_task_id_t const src_id)
因为我添加了第三个特性,为了app上传数值给蓝牙设备。
但是编译报错。发现里面的req->conhdl = app_env.conhdl;
报错。。看了一下定义是struct app_env_tag app_env[APP_EASY_MAX_ACTIVE_CONNECTION];
于是就改成这样。app_env[1].conhdl; 好几个地方都是这样,比如
不知道会不会还有地方没改没对。
Hi Dialog team,
I try to operate that add the Accelerometer control code to "ble_app_sleepmode".
I could initialize and read the Accelerometer value.
And, I added the Accelerometer control code to interrupt processing of "ble_app_sleepmode" as follows.
I was measured with a logic analyzer.
When I press the bottun, DA14580 did not send a I2C signal.
Hello,
I'm trying to load a dsps image to a 14581 from a host controller. The image is the default Keil_5/sps_device_580 build - I've made no modifications to the code downloaded from dialog-semiconductor.
The image loads fine and I get a good CRC back from the radio, post-load. And then...nothing ( meaning: my device never shows up when scanning for it with the DSPS android app).
My question: is there some configuration I need to tweak because I'm running this on a 581 vs a 580?
Thanks!
Will