DA14580

DA14580 Beacon 样例中发送Beacon广播包同时,Scan接收广播包失败。

Tue, 2018-07-03 16:05--randyzhou

您好:
我们想在DA14580官方Beacon样例的基础上增加同时Scan接收广播包的功能。我们尝试在default_app_on_set_dev_config_complete中发送如下参数的GAPM_START_SCAN_CMD命令,开启扫描, 结果这条命令回应在gapm_cmp_evt_handler中回应GAPM_SCAN_PASSIVE,出错代码GAP_ERR_COMMAND_DISALLOWED。 请问要如何修改能在Beacon样例工程中能同时scan接收广播包。
谢谢!

static struct gapm_start_scan_cmd* app_easy_gap_start_scan_create_msg(void)
{
// Allocate a message for GAP
if (scan_cmd == NULL)
{
struct gapm_start_scan_cmd *cmd;
cmd = app_start_scan_msg_create();
scan_cmd = cmd;

可能错误的同情ritor Hysteresis View

2018-07-03周二11:30--Alistair

Hi guys,

我们在greenpak3designerv6.12中实现了一个比较器滞后,并没有看到我们预期的结果。看来,该软件是给什么预期误导性的指导。当查看比较器的描述时,它会说:

200mV: is a +0mV and -200mV hysteresis. For Vref=1V, the trigger points will be 1V and 0.8V. Only applies if Vref is internal;

However the software shows with an IN- Source of 1000mV typical ACMP thresholds of:

V_IH (mV) 1100 and V_IL (mv) 900

自制烧写板,烧完程序后,运行正常,但是出不来蓝牙信号

Tue, 2018-07-03 07:10--xlfz123

为了量产方便,我们自制了烧写板,先烧写芯片,再焊接。烧写板电路除了烧写部分,其他与量产应用板一致,方便烧写完成后好测试验证。
现在情况是:烧写板运行正常,可以烧写芯片,烧写完的芯片在烧写板,或是焊在量产应用板上都可以正常运行,看打印和闪灯都正常。但是烧写板上运行的时候,蓝牙信号出不来,搜索不到;而焊接在量产应用板上,蓝牙信号可以出来,可以被搜索到。
烧写板图示见附件
请问这是怎么回事呢?是不是蓝牙天线部分电路要非常靠近芯片?

Codeless: Characteristic write

2018年7月2日星期一21:16--krishnanag

Hi,
The codeless project has a service and three characteristics. Two of these characteristics have the READ and WRITE property. I am using this project to send messages to a smartphone. So, with the ble device being the peripheral, the smartphone can READ the characteristic. Now, I want to make use of the WRITE property. So, if I write something onto one of the characteristics from the smartphone, then it should trigger a function call to maybe send something serially in the ble chip. Can you guide me in achieving this?

Enabling USE_POWER_OPTIMIZATIONS and XTAL16_SETTLED

2018年7月2日星期一15:25--hicham

Hi , My project is based on prox_reporter_ext available on SDK 5.0.4. I am using GTL over UART interface and extended sleep mode. I also enabled CFG_POWER_OPTIMIZATIONS. I tried to find how many times take the XTAL16 to settle but it seems XTAL16_SETTLED is not checked on wake up when CFG_POWER_OPTIMIZATIONS is used. XTAL16_TRIM_READY seems not being used too.

I probalby missed something on how to use this flags and sleep/wake up mechanisms.

Can you tell me why this flags are not checked on wake up when CFG_POWER_OPTIMIZATIONS is used ?

Thanks for help.

Sending ADC data in ble_app_peripheral

Sun, 2018-07-01 11:51--AndyC

I want to start my apologising as this is such a beginners question, but I seem to be a little lost.

I’m looking at the ble_app_peripherial sample app (5.0.4 SDK). I’ve modified the code so that I can send the LED STATE from a connected mobile phone app to change the state of the LED.

However, I’m having trouble understanding how to send ads data. I understand from the ADC peripheral example how to read data from the ADC via adc_get_sample(void) . However I can not find this line in the code outside of the SDK adc.c file.

无代码:增加特征的存储

Fri, 2018-06-29 18:01--krishnanag

Hi,
I am using codeless existing service, to communicate with smartphone. So, I send ATrl+"message to be communicated" to the ble chip, and it writes this message on to this characteristic, and I read it from my smartphone.
这个“要通信的消息”的上限约为120字节。我想问我是否可以通过增加为这个特性分配的数据库空间来增加这个。
Can you please tell me where in the code I will have to make changes so as to achieve this. And upto how much can I extend this?

谢谢!

数字信号处理器DA1458x\数字信号处理器v\ 5.150.2测试的时候偶尔会出现乱码

Fri, 2018-06-29 07:10--fight_bt

技术支持工程师你好:
我们在用DA1458x\ U DSP\ U v\ U 5.150.2做串口透传实验的时候应用程序发送到个人计算机串口的数据没有问题,但是串口发送到应用程序上的数据偶尔会出现乱码,而且没什么规律。能不能提供一下解决问题的思路?我的截图在下面三张图上,流控我取消了,波特率设置为38400。谢谢

Pages

订阅RSS-DA14580