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:
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
Thanks a lot.
没有w I'll try it and I'll tell you if it works.
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.
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
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.
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.