DA14580

Concerns secondary bootloader DA14580

星期一,2018-03-19 11:32--BlueSDK18

Hi all,

I was wondering if the secondary bootloader hex file, generated in training 06 (SUOTA), is only
needed once for the python script to generate the spi_multipart.bin file and the other 2
image files. In other words: Is it sufficient to only copy newly generated .img files to
my mobile phone to update the BLE firmware without programming the spi_multipart.bin file every time?
Any help I will appreciate.

BlueSDK18

da14580的A/D可以输出正负值吗?

Mon, 2018-03-19 02:02--tanyong1126

根据GP_ADC_CTRL_REG (0x50001500)所说bit10 GP_ADC_SIGN:
0 = Default
1 = Conversion with opposite sign at input and output to cancel out the internal offset of the ADC and low-frequency
也就是说设置为1后,输入电压和A/D转换输出值表示的电压符号相反,这是否意味着A/D转换输出的10bit值是有正负之分的补码?是一个符号数?
可是我实验过,将 GP_ADC_SIGN设置为1后,输入电压0~1.8v,可是A/D输出的10bit仍然为正数,表示的电压为0~1.8v,而不是-1.8~0V,也就是说输入输出符号并没有相反,这是怎么回事?
A/D输入电压范围可以取值多少?一般实验都是取值0~3.6V,那么能否输入-1.8~+1.8V呢?

在培训03中的&ATT_DECL_CHAR未定义引用

Fri, 2018-03-16 14:15--BlueSDK18

Hi all,

When doing BLE training 03 of custom profile gatt example, step 13, after building the project
the Keil compiler complains about 'undefined' reference to &att_decl_char?
Where does this declaration come from??
Couldn't find any reference in the project.
How can I resolve this issue?
And is there a full example available to have a central device getting notified by the peripheral
device of a button state?

Any help I will appreciate!

MV

Read buffer overflow

星期四,2018-03-15 13:59--RoniKreinin

I'm using DSPS v 5.150.2 to communicate between a sensor and a Windows 10 PC.
我所拥有的问题是,在传输数据几秒钟后,DSPS程序将在User_PeriPH_Push上调用Assert_Warning(0)。我相信这意味着读取缓冲区溢出。

我的同时将传感器输出到UART(BLE)和USB(PC)以比较数据,似乎它完全相同。传感器没有流量控制,但在收到时,数据似乎会发出,所以我没有看到为什么要填满了缓冲区。

捕获随机的BLE地址

Wed, 2018-03-14 09:31--dhirajp15

Hi Dialog,
Currently I am working on ble_barebone example with GAPM_GEN_STATIC_RND_ADDR configuration, I want to send the randomly generated Bd Address through uart to a co-processor once the advertisement starts, can you suggests any methods to read the random bd address??
I tried doing the following :
void user_app_adv_start(void)
{
struct gapm_start_advertise_cmd* cmd;
cmd = app_easy_gap_undirected_advertise_get_active();
memcpy(bd_address,cmd-> op.addr.addr,6);
app_easy_gap_undirected_advertise_start();
}

The difference between mode_ext_sleep, mode_deep_sleep and mode_idle

Wed, 2018-03-14 08:49--Wally

mode_ext_sleep, mode_deep_sleep will turn off peripherals and BLE power, mode_idle does not turn off peripherals and BLE power, what's the use of this sleep. What's the difference between him and mode_ext_sleep and mode_deep_sleep?

if ((sleep_mode == mode_ext_sleep) || (sleep_mode == mode_deep_sleep))
{
//power down the radio and whatever is allowed
arch_goto_sleep(sleep_mode);

Re-use dedicated flash-SPI during FW operation

Tue, 2018-03-13 19:14--gme_johannes

Hi,
this is probably a trivial question:
I am using the Murata ZY with DA14580 internally. To connect to an SPI flash I have to use pins 0,5,6 (and 3 for CS) on bank 0 according to AN-B-023.
Can I use the same CLK/DI/DO for an SPI bus connecting to other peripherals, which will be accessed once the firmware is in the SRAM?

DA14580 firmware help

Tue, 2018-03-13 07:20--nhallet

Hello!
I am a mechanical engineer and I paid a Chinese company to design and manufacture 1000 custom fitness tracker PCBAs for a product that I'm developing. They installed their firmware onto the devices but they won't provide me with the source code. There are many functions that need to be fixed/repaired/updated, but they will not update the firmware for me. I'm stuck!

Is there any open source code out there that can help me get started writing my own firmware (paying a developer to do it)? I don't know much about firmware, fyi.

Pages

订阅RSS  -  DA14580