7 posts / 0 new
Last post
drumste
Offline
Last seen:3年5个月前
Joined:2015-05-22 14:58
DSPS Profile

Hello everybody.
I'm new with DA14580 and I'm trying to use the DSPS profile with the DevKit-Basic but without success because the DSPS app. for android don't find the BTE module.
First I compile the device DSPS project that Dialog provide (3.150.2 version) with uVision5, than I run the project with DevKit-Basic using the uVision debugger.
After that I try to find the device with DSPS app. for android but it don't find any device.
Why? Maybe I don't do all the needed passages.

Device:
klim9531
Offline
Last seen:4 years 6 months ago
Joined:2015-01-28 23:52
I seem to remember having

I seem to remember having this problem when I started. As i recall, in the default setup the DA14580 is only broadcasting for a very short time, then it goes into sleep mode and stops advertising. There should be a file in the sps_device folder of the project named 'da14580_config.h' and if you open it it with a text editor such as notepad, you can then disable sleep by putting #undef CFG_EXT_SLEEP
#undef CFG_DEEP_SLEEP
在每一个定义。没有w you should be able to scan for, and connect to, the Serial Port Service. Hope this helps -klim9531

drumste
Offline
Last seen:3年5个月前
Joined:2015-05-22 14:58
Thanks a lot.

Thanks a lot.
没有w I'll try it and I'll tell you if it works.

drumste
Offline
Last seen:3年5个月前
Joined:2015-05-22 14:58
Perfect. It works, thanks a

Perfect. It works, thanks a lot!
There is only a little problem: if I write with the terminal connect to my device, the app receives but vice versa don't work.

JE_Dialog
Offline
Last seen:17 hours 9 min ago
Staff
Joined:2013-12-05 14:02
Hi There, are you using HW

Hi There, are you using HW flow control ? on teh BASIC kit , you do need to configure as per the application manual (section 8.1) as the JLINK chip we use doesn't support HW flow control (thefore need the FTDI cable and the jumper configuration as detailed). BR JE_Dialog

drumste
Offline
Last seen:3年5个月前
Joined:2015-05-22 14:58
I tried without the FTDI

I tried without the FTDI cable. I tried directly with the same connection used for programming with the uVision debugger and TeraTerm.
没有w I'll try with the FTDI cable.
Thanks for the suggestion.

klim9531
Offline
Last seen:4 years 6 months ago
Joined:2015-01-28 23:52
Try going into the same

Try going into the same config file above and undefining CFG_UART_HW_FLOW_CTRL and CFG_UART_SW_FLOW_CTRL. That should allow you to both send/receive characters in the app.