DA1468x

Stack overflow when responding to usb_attach_cb event

Sun, 2019-03-17 22:18--alarner

I have a function which responds when the USB of my device is attached.

void usb_attach_cb(void) { printf("usb_attach_cb\n"); ActionDispatcher *actionDispatcher = ActionDispatcher::Instance(); uint8_t data = 1; actionDispatcher->dispatch(ActionType_UsbStatusChange, &data, 1); }

This code works fine but if I add a printf statement to the dispath function that is called I get a stack overflow

vApplicationStackOverflowHook USBC

Is there a way to increase the stack size to avoid this issue?

plt_fw wo uart

Wed, 2019-03-13 09:34--matthieuW

Hi, dialog,

I am working on the plt fw in order to certitfy my custom module(wich implements DA14681).

This fw have been validated using the uart from the pro dk.

However during certifications, on my final product, i don't have acces to uart port and thus i should find another way to control the fw.

All i need is the module to act as an unmodulated tx at specified frequencies.

Is it possible to be in such a state by default at power up. Then eventually i would switch frequencies using the wake up interrupt.

How to create DEBUG_RAM configuration?

Mon, 2019-03-11 23:44--DLWAY77

HI,
I want to build on the pxp_reporter sample project and I want to use a RAM configuration.
My initial development is with the Dialog Pro DevKit, but the target hardware will not have a QSPI flash and should boot via a serial port directly to RAM from a different processor.
If I create a new configuration under 'SmartBond "SmartSnippets DA1468x SDK" via J-Link GDB Server' then the 'Apply' button is not active and any changes are not saved.
How do I enable or create a RAM configuration?
SmartSnippets_Studio_v2.0.6.1251_windows
SDK 1.0.14.1081

Trying to create a simple BLE service to notify with log messages

Sun, 2019-03-10 22:48--alarner

Hello, I'm trying to create a simple BLE service that I can use to log messages to a mobile client. I'm working from the cts service but trying to simplify it. I've included the code below. The issue that I'm running into is that when I connect to the peripheral via my phone I do not see the service defined below. I do however see all of the other services that I've set up (device information, immediate alert, link loss, tx power, battery service, etc). What am I missing?

Flashed without problem but there is empty QSPI flash.

Thu, 2019-03-07 10:13--ulzii

My board is custom based on DA14682. Sometime ago i flashed one of these board ble_adv demo. it works fine. I can not flash now. It looks like fine:
C:\Users\ulzii\Downloads\ DA1468x_DA15xxx_SDK_1.0.14.1081\utilities\scripts\qspi>"..\..\..\binaries\cli_programmer.exe" --prod-id DA14683-00 --cfg "C:\Users\ulzii\AppData\Local\Temp\cfg_30401.ini" gdbserver write_qspi_exec "C:\Users\ulzii\Downloads\DA1468x_DA15xxx_SDK_1.0.14.1081\projects\dk_apps\demos\ble_adv\DA14683-00-Debug_QSPI\ble_adv.bin"
cli_programmer 1.25
Copyright (c) 2015-2017 Dialog Semiconductor

Can't get LED pin to enable after disabling once

Tue, 2019-03-05 02:31--SamsonLeoMarch

I feel like this is a stupid question, but I can't seem to find the answer.

I am using the led pin on the da14683 to drive the backlight of a display.

我有这段代码,和我n my task I am literally toggling between on and off every 5 seconds. The backlight will power up initially, but after being disabled once, it will never power on again. I know the display is going into and out of sleep mode every 5 seconds (I'm watching the current consumption), but no backlight.

Hiding a BLE service

Fri, 2019-03-01 11:59--point85

Hi,

I am trying to hide a BLE service once a command has run. I have read through the forums and I am using the following:

ble_gatts_disable_service(svc->start_h);
ble_service_remove(svc);
ble_service_cleanup(svc);

The service UUID changes and the attributes still show on android. The read/write functions are available but fail if they're tried.

I'm not sure why the UUID changes.

Is there any way to hide the service from the android device completely?

Thanks

Pages

订阅RSS - DA1468x