DA14583

will wkupct callback function interrupt user_custs1_xxx_wr_ind_handler

Thu, 2019-08-08 15:35 -- ops

Dear Dialog Support Team;

  I am building a project based on DA14583 SDK 5.0.4 sample code ble_app_peripheral.

  Our project work with a SPI G-Sensor and DA14583 internal SPI Flash, but DA14583 have only one SPI controller.

  So we can access only one of these SPI devices at the same time. We use G-Sensor's interrupt pin to notify DA14583 for reading sampling data.

  The code looks like this (simplify):

----------- Code A --------------

  wkupct_register_callback(wkup_callback);

  wkupct_enable_irq(...);

  void wkup_callback() {

Sleep mode wake up configuration

Wed, 2019-08-07 13:47 -- Rajapurerohit

Hello All,

I want to implement the sleep mode and wake up the algorithm in my project,

My logic is,

1) Keep the device advertising

2) And whenever there is battery low/ zero - send the device in sleep_mode [No advertising and no other activity]

3) And want to wakeup the device when the device is repowered and GPIO interrupt is detected

4) After the wakeup continue device advertising and again sleep when there is a low battery

I tried to implement the same but facing issue, either device is completely in a wakeup state or in a sleep state

Increase sampling frequency of sensors in DA14583

Mon, 2019-07-29 04:55 -- meeralaxmi

Hello,

I'm using the Android IoT Sensors App to connect and record sensor data from the DA14583 module. I'm obtaining the sensor data at 10Hz sampling frequency. I understand that both accelerometer and gyroscope are supported till 100Hz frequency. Is there a way I can increase the sampling rate of these sensors programatically from the android source code? I think by default the app uses 'Sensor Fusion' and samples sensors at 10Hz. Would be of great help if you could give some pointers on where in the source code can the sampling rate be changed.

Thanks,

Meera

关于 DA14583 HRPS

Fri, 2019-07-19 09:50 -- zhongfushun

学习HRPS中出现的问题:

使用定时器周期性调用以下函数,试图周期性发送心率值到手机APP,传递给该函数的值是从1逐步递加到120的整数值,但当该值递加到70左右(从手机APP观察到),板子死机,之后与手机APP断开链接,就再也连接不上了。这大概是什么原因造成的?因为是初学者,麻烦提供思路。

void app_hrps_meas_send(uint16_t hrp_val)
{
    // Add BASS in the database
    struct hrps_meas_send_req * req = KE_MSG_ALLOC(HRPS_MEAS_SEND_REQ, TASK_HRPS,
                                                   TASK_APP, hrps_meas_send_req);

LiPo battery read

Wed, 2019-07-10 08:36 -- Rajapurerohit

Hello dialog_Support,

I am working on project, where my device uses DA14583 MCU and software is designed such that using BLE command it's turn On/Off the LED's.

But my hardware is powered using Chargerable LiPo battery, whenever battery low i can recharge the battery for this i need to give an indication to user.

To monitor the battery level i need a provison in my software where i could check the battery level using timer.

I have referred the Battery driver library as example but i could only see provision for read the coin cell and AAA cell battery level.

DA14583 RAM memory check

Fri, 2019-06-14 10:58 -- karanshah28

Dear support team,

We are using DA14583  based custom board and developing our custom application.
We have used ble_all_in_one example code as our base code and modifying it as per requirements. And now we are facing random crashing issue which seems to be due to the RAM, i.e. may be we used full RAM size and we are trying to utilize more memory and due to that system is getting crash.

Pages

Subscribe to RSS - DA14583