DA14580

wkupct callback function

Wed, 2018-03-28 19:56--dlo

I would like to change the advertising's last byte of the UUID when I wake up from a GPIO interrupt to indicate which GPIO woke it up. Using the beacon_v_5.40.2_0 project, I'm declaring the callback as follow:

void tilt_wakeup_cb(void)
{
if (GetBits16(SYS_STAT_REG, PER_IS_DOWN))
{
// Return GPIO functionality from external wakeup GPIO
if (DEVELOPMENT_DEBUG)
GPIO_reservations();
periph_init();
}
tilt_wkup_flag = 1;
user_advertise_operation();
}

SDK to Boot DA14580 from external SPI Master

Wed, 2018-03-28 02:09--sanket

Hi,

I have a simple setup; an ARM board and a DA14580Devkit-B.
I have successfully booted the DA14580 using UART interface and I was able to advertise data.
However I am not able to go anywhere with SPI. I was able to boot up the DA14580 ic using SPI but since there is no example for SPI-SDK I am kind of stuck. Do you have any SDK which supports external boot from SPI master?

——圣彼得堡

Implementing Deep Sleep

Tue, 2018-03-27 20:05--Gerbers

Dear Dialog Staff:
For my project, I have modified the ble_app_peripheral in SDK 5.0.4. I’ve tested my project using the DA14580 Basic dev board and the SPI Flash. It works fine. I now need to add sleep mode code. I would like to add the sleep mode functionality from the ble_app_sleepmode project into my project. Initial attempts have failed.

GPIO wakeup interrupt setup example

Tue, 2018-03-27 17:26--dlo

I'm using the Dialog Beacon Example project DA1458x_beacon_v_5.40.2_0 and want to implement GPIO wakeup when a pin (GPIO2_0) goes from high to low.

In user_dialog_beacon.c
I make sure #include "wkupct_quadec.h"
Then I wrote:
void tilt_wakeup_cb(void)
{
if (GetBits16(SYS_STAT_REG, PER_IS_DOWN))
{
// Return GPIO functionality from external wakeup GPIO
if (DEVELOPMENT_DEBUG)
GPIO_reservations();
periph_init();
}

}

Uart HW Flow Control

Fri, 2018-03-23 06:24--huanxin1456

Hi dialog,
I am working on DSPS code example and I am planning to use the function of uart HW Flow Control, RTS /CTS to communicate with another MCU to reduce power consumption.

1.Where can I find some documentation about these functions and their working flow? if not, please tell me how to modify the sdk.

2.To use uart HW Flow Control,How to connect for RTS/CTS on hardware.

Can you give me an example,Thank you very much.

Pages

Subscribe to RSS - DA14580