DA14580 Development Kit Basic Connections

4 posts / 0 new
Last post
萨拉
Offline
Last seen:4 years 2 months ago
加入:2015-09-14 17:08
DA14580 Development Kit Basic Connections

Hi
I just started to work with DA14580DEVKT-B board and I want to make a data transmission between two DA14580DEVKT-B boards. I have some questions:
I am not sure about the connection between the microcontroller and the BLE. Because in the schematic in the UM-B-048 there is no SPI connection and I just found a UART connection but in UM-B-051 it is said that the communication should be done by SPI. Which one is correct?
How can I make sure that the BLE is working? Because I cannot find the BLEs with DSPS software.
Also, Is there any code example to make a simple communication between two boards? like sending a string.
Thanks,

Device:
MT_dialog
Offline
Last seen:2 months 4 weeks ago
工作人员
加入:2015-06-08 11:34
你好,萨拉,

你好,萨拉,

I am not sure about what is that you are asking in your first question, the da can operate either in full hosted or in fully embedded mode (meaning that you can have your application either on the da or in an external proccessor and use the da only for ble transactions), the communication between the da and the external proccessor in fully embedded mode can be either from UART or via SPI. Unfortunatelly with the basic board you cant use Smart Snippets - power profiler in order to check if your device is working through the power consumption. The only way is to check with a generic BLE application if your device is advertising. If you cant see the DSPS advertising, please make sure that you have no sleep mode (da14580_config.h #define CFG_EXT_SLEEP) with the keil debugger enabled, remove the sleep modes and download your program and you should be able to see that your device is advertising.

Thanks MT_dialog

萨拉
Offline
Last seen:4 years 2 months ago
加入:2015-09-14 17:08
Hi MT_dialog,

Hi MT_dialog,
Thank you for your answer, I think the ATSAM3U2E microcontroller in this board act as the external processor. Also the UART interface is used for communication between this external processor and DA14580. So I need a code example using UART interface for "monitoring" and "reporter".
In "user manual DA14580 Serial Port Service reference application (UM-B-038)", it is two keil project that mentioned but I couldn't find them:
dk_apps\keil_projects\sps\sps_device\ sps_device.uvproj
dk_apps\keil_projects\ sps\sps_host\sps_host.uvproj Keil
I can see the advertising and monitoring in DSPS, and I have device connection but I don't have any send or receive!

Thanks,
Soodeh

MT_dialog
Offline
Last seen:2 months 4 weeks ago
工作人员
加入:2015-06-08 11:34
你好,萨拉,

你好,萨拉,

The microcontroller on the board acts as a jtag not as a external proccessor. The DSPS is a fully hosted solution, please check the DSPS application note, if you are looking for a fully emdedded solution please check the proximity monitor/reporter_ext. Since you have the basic kit are you using an external FTDI in order to have uart communication? (the proper connections for the basic kit are documented in the DSPS application note).

Thanks MT_dialog