when adc voltage greater than 1.2V , return 1023

Tue, 2020-10-20 09:39 -- moiify

i know the p01 pin adc input scale is 0~1.2V, but when i  try to input the voltage over 1.2V ,i want to get the adc value(adc_get_sample()) is 1023,but the result is not. it is a Irregular  num like 800 or others。


    uint32_t adc_sample;

    adc_init(GP_ADC_SE, GP_ADC_SIGN, 0);
    adc_sample = adc_get_sample();

    return adc_sample;


Mon, 2020-10-12 08:58 -- ziv324



#define CFG_DEVELOPMENT_DEBUG廣播時量測到的電流




原本有#define CFG_WDOG,將其#undef後量測的電流並不會有太大差異。


程式是寫在外掛Flash上,有外掛32.768kHz crystal。





Pairing fails after changing device BD address

Thu, 2020-10-08 15:50 -- bojanpotocnik


if BD device address is set in runtime using this code, the SMP won't be able to generate proper values for pairing procesure.

If USER_CFG_FEAT_SEC_REQ is set to GAP_SEC1_AUTH_PAIR_ENC, the pairing fails with:
> Authentication failed with status BLE_GAP_SEC_STATUS_CONFIRM_VALUE

Pairing fails if OTP is programmed

Thu, 2020-10-08 13:47 -- bojanpotocnik


our application is based on ble_app_all_in_one, everything was working well (PC, Android, iOS devices, USER_CFG_FEAT_SEC_REQ set to GAP_SEC1_SEC_PAIR_ENC or GAP_SEC1_AUTH_PAIR_ENC) during development on DA14580DEVKT-P_VC, but pairing stopped working when deployed on existing boards.

If USER_CFG_FEAT_SEC_REQ is set to GAP_SEC1_AUTH_PAIR_ENC, the pairing fails with:
> Authentication failed with status BLE_GAP_SEC_STATUS_CONFIRM_VALUE

Ultra low power application 14585

Wed, 2020-09-30 08:57 -- DLesta

Hello all,


I am developing a project at the University of Santiago de Compostela. In our application, we are aiming for an ultra-low power consumption application with the DA14585 device. We intend to power the system with a 1 mm² solar cell storing energy in a supercapacitor. Thus, we need to reduce power consumption as much as possible.


Replacing 16MHz Crystal with MEMS Oscillator

Tue, 2020-09-22 15:45 -- ahiggs


I have an application using the DA14585 that is subject to extreme EMI. I believe that this is disturbing the high frequency oscillator and causing the microcontroller to not run or constantly reset in situations. Would it be possible to replace the 16MHz crystal with a MEMS oscillator to improve this? 

BD address customization

Mon, 2020-09-21 17:33 -- moguilevski

Dear Dialog Team,


is there any possibility to set the new custom or random BD address at every restart when OTP is not used? The method, decribed here, which involves the modification of addr_type and addr members of the user_gapm_conf structure, didn't work. The BD address is always set from the CFG_NVDS_TAG_BD_ADDRESS define.


Subscribe to RSS - DA14585