8 posts / 0 new
Last post
sr9213
Offline
Last seen: 3 months 4 weeks ago
Joined: 2017-09-26 11:30
Interfacing DA14585 to host MCU

Hi MT_Dialog,

I am designing a IoT gateway with 2 DA14585 as peripheral BLE devices. So I have two things which I am unable to figure out -
1) I want to interface DA14585 to my host MCU using SPI. So how could I do it right since diaolg's SUOTA require an external SPI interfaced to the DA14585 and DA14585 has only one SPI port. Point me to any reference designs available.
2) I am intending to use external antennas linked to onboard SMA connectors for better antenna range for my BLE application. Please suggest if there is a better alternative than this.

Thanks & regards,
sr9213

Keywords: 
Device: 
MT_dialog
Offline
Last seen: 3 weeks 5 days ago
Staff
Joined: 2015-06-08 11:34
Hi sr9213,

Hi sr9213,

  1. It depends how you are going to interface your 585 with the external MCU, how the 585 along with the external MCU will operate, the image that you will be transfered were it will be stored (in the flash connected to the 585 ? on the external host ?). There are a lot of things to consider such as how the two devices will interface, the entire application will run on the external MCU, or the application will run on the 585 and the application will communicate with the external MCU. So you can either use the first solution where the application runs on the 585 and use the SUOTA as is (of-course you will have to implement a custom protocol in order handle commands from the external MCU during a SUOTA update and prevent any SPI interactions while the there is a SUOTA update between the MCU and the 585. You can connect two spi devices on one SPI bus as long as you use different CS for communicating with different devices, or you can even reconfigure the SPI on different pins, but that depends on the architecture of your solution. Also you can use the HCI or the GTL interface in order to communicate with the device and controlling the 585 will be upon your external MCU, so when SUOTA the new image data will be directed to the external MCU and from there you can handle them as you like, either store it in a flash or keep then in the MCU in order to boot the new image directly from the external host. Unfortunatelly there are no available reference design that will guide you to implement what you are requesting, but there is an example interfacing with a windows application over UART DA14585_SDK\6.0.6.427\projects\host_apps\windows\proximity\reporter so perhaps this will give you something to start with. 
  2. Yes, theoretically using SMA antennas will provide you a better range than a printed antenna, if that is what you are asking, but the range of an antenna depends on many factors appart from the type of the antenna.

Thanks MT_dialog 

sr9213
Offline
Last seen: 3 months 4 weeks ago
Joined: 2017-09-26 11:30
Thanks for the reply. Can you

Thanks for the reply. Can you please provide any official mail to get technical assistance related to this.

Regards,
SaiRam

MT_dialog
Offline
Last seen: 3 weeks 5 days ago
Staff
Joined: 2015-06-08 11:34
Hi sr9213,

Hi sr9213,

You can refer to our distributor AVNET India who will be able to help you on this and get some assistance on your request.

Thanks MT_dialog

Nishal
Offline
Last seen: 3 months 3 weeks ago
Joined: 2017-05-25 06:51
Hi,

Hi,

I have a question here on the below suggestion:

"Also you can use the HCI or the GTL interface in order to communicate with the device and controlling the 585 will be upon your external MCU, so when SUOTA the new image data will be directed to the external MCU and from there you can handle them as you like, either store it in a flash or keep then in the MCU in order to boot the new image directly from the external host."

Could you add extra GTL commands in order to initiate this communication?

Thanks in advance!

PM_Dialog
Offline
Last seen: 11 hours 1 min ago
Staff
Joined: 2018-02-08 11:03
Hi Nishal,

Hi Nishal,

Could you please let me know if your question is similar with the following threads that you have posted?

 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/taskapp-and-taskgtl-coexistance

Nishal
Offline
Last seen: 3 months 3 weeks ago
Joined: 2017-05-25 06:51
Hi PM_Dialog,

Hi PM_Dialog,

Yes the question is similar to the threads posted. Basically we want some additional control to BLE, where SUOTA is one among them.

Thanks in advance,
Nishal

PM_Dialog
Offline
Last seen: 11 hours 1 min ago
Staff
Joined: 2018-02-08 11:03
Hi Nishal,

Hi Nishal,

I have already replied you in the following forum thread and I have provided you a possible solution regarding your query.

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/taskapp-and-taskgtl-coexistance

Thanks, PM_Dialog