Hello!
I need to make two DA14580 BT modules to comunicate with each other, and each of this modules will be conected to an external MCU via UART. Very low bandwith will be necessary.
What is the best project to use in this case?
What is the difference between Serial Port Service and the proximity project?
I also have two PAN1740 USB dongles and might use that for initial learning as well, as long as someone give me the directions.
I've been reading a lot of documents but it's a lot of information, and I'm kind of lost.
Thanks!

Hi Fernando,
Proximity plus Suota will focus more on formatted data transporting, and it support to write data to RAM/FLASH/EEPROM.
SPS target to provide transparent data stream transportation between peers, and only support Uart.
In you case, you can use either from SW point of view. But it may be quicker to use SPS. Because in SPS example, there are projects for sever and client respectively in full hosted mode. From your description, these two project already fulfill all your requirement.
问候!
PY
Thanks for the replay!
At first I thought I would need to use the fully embedded mode, but now I realized I can use the fully hosted mode (wich is given) of Serial Port Service, because all I need is to read and send data from the bluetooth module, by an external MCU via UART pins. Is that correct?
If so, sps_host_fh needs to be on the host DA14580, sps_device_fh on the device DA14580, and what do I need to incorporate onto my external MCU project in order to make it comunicate with the DA14580?
Hello Fernando, your assumptions are correct. On your external MCU, you will need to implement a UART to interface to the DA14580. You can think of the DA14580 as working like a wireless UART in this instance.
BR JE_Dialog
Hello JE_Dialog- Can you please provide me more information or refer to any document for differences on Embedded mode and Hosted mode ?
Hi raghuchaitanya,
You can find some info about the software architecture of the SDK in doc UM-B-015 (check 6.3 section Software configuration). But in short, the difference between a fully embedded from a fully hosted system in that in the fully embedded system the application layer uses an external MCU and the da implements only the ble stack. In a fully hosted the application and the ble stack uses the da. Most of the examples use fully hosted configuration but you can find the proximity reference example for fully embedded configuration in the SDK.
Thanks MT_dialog
Hello MT_Dialog,
谢谢你的回复。我们想使用SPS_hostand SPS_device projects as a reference for fully hosted configuration mode with an external processor(i.MX6). My understanding is that the hex/bin file generated out of these projects needs to be flashed into the Bluetooth module to configure the module into fully hosted mode and then the external processor(i.MX6) will execute an user application to communicate with the Bluetooth module. Please correct me if iam wrong. My question is - How do I flash the hex/bin file to the bluetooth module ?( The DA14580 based Bluetooth module is interfaced to i.MX6 processor).
问候
Raghu Chaitanya
Hi raghuchaitanya,
The dsps application is a full hosted application which runs on the da. If you want the external proccessor to send serial data to the da and the da to behave depending on the command it received in its uart, then i suppose that you can do that. About flashing the da by using smart snippetsyou can use the OTP or the flashto place the DSPS code. You can find details about uisng the tool and in the Smart Snippets help manual in the Help option of the tool.
Thanks MT_dialog
Hello, im a newer with dialog da14580. I have a Murata kit P2ML3656 and i want to use it in NCP mode with another micro from atmel, via UART. Im based on UM-B-010 And host windows example in DA1458x_SDK\5.0.4\projects\host_apps\windows\proximity\reporter. I try to adapt windows host to my own micro atmel SAMD21 but i coldn't. Someone can help me or give me some example? I need to know what are the important function in app.c and console.c to obtain a correct message. There are a lot of function that are for windows compiler, but a can't recognize the functions for send and recive from my own micro uart.
Thank you
Nios
Hi nios,
Using the external configuration of the 580 as a central only the windows project for the proximity demo is available, but there is also an example for external configuration acting as a peripheral reporter, the demo uses 2 580's, one as an external device running the application and the other 580 is running the BLE stack. You will be able to find the example in the directory DA1458x_SDK\5.0.4\projects\host_apps\da1458x\proximity\reporter, the interface used between those two modules is SPI and not UART though. Perhaps this will give you the proper boost, you will be able to find some documentation for this in the UM-B-013-DA14580 External Processor over SPI interface. The message format used between the two devices follows the GTL protocol, you will be able to find a proper document for this in UM-B-017-DA14580/581 GTL interface in integrated processor applications and and UM-B-010 DA14580/581/583 Proximity application, so the packet format that should be received and send between the two devices should compy with the GTL protocol.
Thanks MT_dialog