DA14585

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_usDelay(20);
    adc_enable_channel(ADC_CHANNEL_P01);
    adc_sample = adc_get_sample();
    adc_disable();

    return adc_sample;

CFG_DEVELOPMENT_DEBUG設定廣播時的電流變化

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

您好

在準備出貨時將CFG_DEVELOPMENT_DEBUG做了設定,發現電流產生有了變化。

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

最小約20uA最大約250uA,平均約40uA

#undef CFG_DEVELOPMENT_DEBUG 量測廣播時的電流

最小約400uA最大約1800uA,平均約800uA

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

睡眠的設定是ARCH_EXT_SLEEP_ON;

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

 

請問這各電流的變化是正確的嗎?

是否是哪裡設定有問題或缺少,導致電流增加那麼多嗎?

 

Pairing fails after changing device BD address

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

Hi,

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

Hi,

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

Hello,

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.

Pages

Subscribe to RSS - DA14585