hello
i am using the dsps example and i flashed the "sps_device.hex" to one da14580 and it works good with the ios app (i see my data in the application)
however when i flash the "sps_host" to another da14580 in order to use it as the host , the da14580 '"device" doesnt seems to connect to the da14580 "host".
i know it doesnt connect because in the dsps ios app i can see the "device" when i hit the "search" -> so i know the device and the host didnt connect.
what can be the reason for the host not connecting/working
tnx
roi
Device:
Hi roinovi,
There is no reason for the DSPS host not run from the spi. If you are running the dsps over a pro dev kit try to check with the power profiler to see if your device is scanning or not. Have you set your code in spi device as bootable ? If you run the the code through sysram is the code operating as it should and you can connect to the peripheral ?
Thanks MT_dialog
hello
i have 2 da14580 modules and 1 da14580 basic devkit
my sps_device is flashed to 1 module
in regards to the sps_host i tried 2 things
flashed it to to my 14580 basic devkit-it does connect to the sps_device
but if i flash it to the other 14580 module-it doesnt connect
2 questions:
1)为什么当我flash sps_host第二模块they dont connect?
2)when i use the devkit as host
my topology is:
pc-(uart)-da14580 basic devkit ----(ble)--------------(ble)----da14580 module-(uart)-my device
my device is transfering data through the 14580da via ble to the devkit which is connected to the pc
i want to see my data in the pc terminal
but because i need to jumper the devkit to spi (in order for the devkit to boot the sps_host from the flash memory) it wont transfer the data it recieves to the pc terminal via uart (because its not jumpered for uart).
how can i solve this problem?
btw
a few month ago i got the murata 14580 devkit and i flashed the sps_host on it and it worked ok with no problem and i could see my data in the pc terminal
Hi roinovi,
1-There is no reason for the DSPS host not to work when the fw is burned in the flash, if the application connects properly when running from the Sysram (downloaded from keil) and you can't connect when the host is burned in the SPI most probably the fw doesn't boot at all, please make sure that you burn your image as bootable from smart snippets and you hit the reset button after you 've burned the flash in order for the code to start executing.
2-Regarding your second issue please have a look at the this posthttp://support.dialog-semiconductor.com/dsps-boot-flash-developent-kit-pro
Thanks MT_dialog
hello
regarding the 2nd issue,i followed the post "http://support.dialog-semiconductor.com/dsps-boot-flash-developent-kit-pro" and it worked, so now i am able to make my basic devkit as a host and it boots from flash(spi) and transmit to the terminal pc (uart).
in regards to the 1st issue, its not what i ment, what i ment is that if i flash the sps_device to my module, the software works fine, but if i flash the sps_host to the same module, it doesnt work->it doesnt connect to the sps_device module.
if i flash the sos_host to my basic devkit, it works ->it connects to the sps_device module.
i flash the same sps_host to my devkit and to the module, the devkit works(connects to the sps_device module) and the module doesnt work (doesnt connects to the sps_devie module)
what could be the difference?
tnx
roi
Hi roinovi,
In your custom modules are you using the P12 or P13 pins at all ?Can you debug the host dsps code and inspect why the connection fails (check if there is a hardfault or an NMI handler event)? I cant see any reason for the serial device to operate and the host not to. Can you see the advertising indications notify the app_on_adv_report_ind when you receive an advertising event ?
Thanks MT_dialog