No 16Khz Crystal Configuration

Thu, 2019-05-30 02:27 -- ddustin

How do I configure custom_config_qspi.h given that my circuit has no 16khz crystal?

The system appears to attempt to use the 16khz crystal before switching over to the internal crystal. A few seconds later, the app closes with an "unhandled exception." Since this board has no 16khz crystal and the development daughter board does, I'm assuming this is the issue.

The code works perfectly on the deveopment daughter board but fails on my board with no 16khz crystal.

I've changed this setting from LP_CLK_32000 to:

Chip (seemingly) Freezing

Wed, 2019-05-29 21:42 -- ddustin

I am able to program the DA14682 chip and have things work, but the chip seems to stop responding after 3 seconds.

What could cause something like this? I am using this 16mhz crystal: https://www.digikey.com/product-detail/en/abracon-llc/ABM8-16.000MHZ-7-1...

The app seems to freeze inside watchdog_cb. Here is the relevant comment where this happens:

How to fix "# error "Production mode build: Please define an appropriate code location!""

Sat, 2019-05-25 06:19 -- thegodfather


I keep getting this error when I try to build a program:

Description    Resource    Path    Location    Type
#error "Production mode build: Please define an appropriate code location!"    config.c   /startup    line 465    C/C++ Problem

# error "Production mode build: Please define an appropriate code location!"
# endif

I'm not quite sure how to fix this error. Any suggestion would be helpful.


-Thank you

No response in ble_peripheral_start()

Fri, 2019-05-24 09:48 -- DialogTestingDe...


I try to get the ble_peripheral example with a custom service running but i can't. I'm using the  DA 14683 USB Dev Kit and the DA1468x_DA15xxx_SDK_1.0.14.1081.

Building and flasing works fine but when I debug the Code it stucks in the ble_peripheral_task() in line ble_peripheral_start() until the WatchDog fires.

I tryed to turn the WatchDog off but as expected I can't see an BLE service with the BLE scanner.


The blank example without any changes didn't run either. 

I hope you can help me. Thank you.



Can I save my own data using the NVMS_LOG_PART partition?

Tue, 2019-05-21 03:35 -- 魏文彬

Hi DAteam

Can I save my own data using the NVMS_LOG_PART  partition?

I use v_1.160.2-》black_orca_sdk in DA14682 and i use SUOTA mode

I need to save my data in internal flash,But I don't know which partition can let me use。

I need to be able to read my saved data after the firmware upgrade.


Can you tell me which partition can save data for me?



Using UART2 interrupt based

Mon, 2019-05-20 12:50 -- mahmed106

Hi , i am using custom board based on DA1468x and i am using UART 1 and UART 2 in my project.

UART 1 is being used for printf and i want to use UART2 to communicate between another board DA1468x based.

Writing is not an problem i have sucessfully wrote bytes to UART2.

Problem is that how should i read bytes from uart. Should i poll in another task for UART2 read or should i use interrupt. In my previous experience on other microcontroller i have used interrupt based uart reception but in this case i am confused. What do you suggest.

GAP advertisement flag

Thu, 2019-05-16 17:15 -- apoudret


I have a DA14681 board which is running as a central device and scanning nearby devices.

I receive advertising reports, but it seems that the flags field (LE_LIMITED_DISC_MODE, LE_GENERAL_DISC_MODE, BR_EDR_NOT_SUPPORTED, etc) is missing from the advertising data.

Is there any other way to know the flags field of an advertising report?

Best regards,


Charging voltage problem

Thu, 2019-05-16 10:55 -- 魏文彬

I have a very serious problem。

When I charge a lithium battery with almost no power (about 3v), I plug in the USB and measure the voltage across the battery to 4v. The charging voltage is 1v than the current voltage of the battery。

I use "ble_sps_peripheral" project  in DA14682 platform.


Software_reset cannot start chip after SUOTA

Thu, 2019-05-16 10:33 -- 魏文彬

Hi DA team:

I use the ble_sps_peripheral routine to be able to normally SUOTA and start normally after SUOTA is completed.

However, after I changed a lot of things according to the ble_sps_peripheral routine, SUOTA will not be able to start normally after resetting. But unplug the power and then connect it to the power supply and start the updated program.

I want to ask after SUOTA and reboot devices, the program start up from what?is ble_suota_ loader or ble_sps_peripheral?

:/DA1468x_DA15xxx_SDK_1.0.14.1081/sdk/bsp/startup/startup_ARMCM0.S:38:2: error: #warning "Building Production image with MAGIC V

Wed, 2019-05-15 11:26 -- mahmed106

I am building my project but i am getting this error. I can't understand the meaning of this. Can someone explain it to me what i did wrong.

:/DA1468x_DA15xxx_SDK_1.0.14.1081/sdk/bsp/startup/startup_ARMCM0.S:38:2: error: #warning "Building Production image with MAGIC Value check enabled! Possible security risk..." [-Werror=cpp]
 #warning "Building Production image with MAGIC Value check enabled! Possible security risk..."
cc1.exe: all warnings being treated as errors
make: *** [startup/startup_ARMCM0.o] Error 1


Subscribe to RSS - DA1468x