DA1468x

Failed to allocate memory after integrating algorithm library。

Tue, 2020-11-17 06:58 -- xuguodong

Hi Dialog,

Failed to allocate memory after integrating algorithm library。

Our algorithm only need total ram 9kBytes(data 1.5k   bss   7.5k).

After setting the following two parameters, the issue still exists: Malloc fail.

  1. Set the configTOTAL_HEAP_SIZE from 11200 to 25*1024.
  2. When OS_TASK_CREATE, set stack from 756  to 1024*22.

I attached my analysis, pls help me check more.

Thanks.

Disconnection when trying to read long characteristic

Fri, 2020-11-13 17:50 -- daleonpz2

I'm doing an application as as Central based on ble_central code.

I'm scanning bluetooth devices (also dialog microcontrollers DA14681), connect to one of them  and read a specific characteristic with value is larger than 20 bytes.  The value can be up to 50 bytes.

I know that usually BLE can read up to 20bytes and write up to 18 bytes. But if one set MTU to some value with

ble_gap_mtu_size_set(512), it's possible to read/write more bytes.

 

However, sometimes my application called

Global Variable Overwrite Problem

Sat, 2020-11-07 09:49 -- mahmed106

Hi Dialog 

We are working on custom board based on DA14681, running SDK 1.0.14.

Problem is that in my code that is based on PxpReporter, i m doing some specific BLE task at high speed. I perform a high speed data transfer over the BLE. Right after that  a global variable in my code, gets a garbage value. 

After some research, i found out that using global variables in C++, is not a good practice, as it can be accessed and overwrite from anywhere. Then i converted that global variable from uint8_t to INITIALISED_PRIVILEGED_DATA uint8_t and then it worked fine.

DA14681 Halts/Restarts while reading data from I2C EEPROM

Wed, 2020-10-28 19:50 -- mahmed106

Hi Dialog 

We are working on a custom board based on DA14681 and sdk is 1.0.14. We are using an i2c based eeprom M24M02-A125 with DA14681. Single read write is fine but when i read data form flash in a loop very frequently, it stucks randomly. When i opened the debug it was stuck in file port.c and at this point. 

 

build project in command line

Wed, 2020-10-28 16:33 -- tcubizolle

Hello,

We are trying to automatize build with Smartsnippets on Windows to integrate it into our test suite.

Here the command line we use:

C:\DiaSemi\SmartSnippetsStudio\CDT\SmartSnippets_Studio.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data %userProfile%\workspace_SmartSnippets_Studio_CLI -cleanBuild all

It results in an error window containing this message:

DA14681 Wearable Development Kit

Mon, 2020-10-26 08:23 -- Lionel03

hallo,

for a Project company we have ordered this module and we would like to know if you have any detailed information about the implementation of NFC on this module.

In the software manual I see "The Wearable DK integrates an NFC module.." and in the hardware manual I see "The NFC module used in this reference design is the LA66002 from Infineon and is suitable to implement the following modes..". I am looking for how this is implemented and if there are options to control module access such as toggling between read-only and read-write based on detected events.

 

RTC - Max possible time ?

Thu, 2020-10-22 17:58 -- bobspam@free.fr

Hello

I wish to use DA1468x during more than two month without shutting it down. I wish to use rtc_get() at anytime.

Timer1 is 32bit and values from rtc_get are in LP ticks (30.5µsec) . If I calculate well, it should overflow every 1.5 day. I can read from bsp_defaults.h that Timer1 prescaler is not supported in DA14682/3 chips.

Can you confirm to me that rtc_get overflow ?

What would be the best way to have rtc_get to work during more than 2 days ?

Thank you in advance

BR

256KB data transfer over BLE , DA14681

Mon, 2020-10-19 19:51 -- mahmed106

Hi Dialog

We are working on a custom board based on DA14681. In our application the normal scnerio is that device records temperature and stores it in eeprom. After several days when user connects the device with BLE app. All offline data gets transferred to the mobile. 

Our eeprom size is 256KB and packet size is 10 Bytes, so we need to send 25600 packets, and right now we are transferring data via a BLE service.

Here is the flow : 

1 - Mobile app makes the connection with the device.

Pages

Subscribe to RSS - DA1468x