Regarding external processor usage

4 posts / 0 new
Last post
RatheeshT
Offline
Last seen:1 year 11 months ago
Joined:2017-01-02 11:08
Regarding external processor usage

Hi Dialog Team,
I have planned to evaluate proximity monitor & reporter in external processor. For that i have LPC54102 micro-controller for external processor and DA14850 DEVKIT -pro as BLE.
On SDK5.0.3, example for both proximity monitor & reporter is available for external processor in the name of prox_monitor_ext &prox_reporter_ext .Both examples are compiled with Keil IDE and generated HEX file.

For external processor implementation, i have followed the documents UM-B-017,UM-B-010,UM-B-003.

My Questions are :

的设备我需要flash十六进制文件佤邦s created by prox_monitor_ext &prox_reporter_ext?
I think it should be in DA14850 DEVKIT -pro only and not on External processor. Then what will be the role of external processor?
Whether i need to integrate any files to my external chip from SDK5.0.3 ?
(OR)
I need to send the data in packets format from the external processor through serial communication (UART or SPI) and receive the response data in packets format from BLE .
This is the work of external processor.?
I have attached a pdf file for packets format reference which i got from UM-B-017
my understanding is right or not?

Please guide me in a proper way.

Thanks

Device:
MT_dialog
Offline
Last seen:2 months 3 weeks ago
Staff
Joined:2015-06-08 11:34
Hi RatheeshT,

Hi RatheeshT,

The prox_monitor_ext and prox_reporter_ext both are fw that should be placed in the 580 (on the dev kit), the external processor has no role, it is just for issuing the proper commands to the 580 dev kit. The proximity external examples come with some PC example programs that illustrate the usage of the commands over the GTL interface. From your external processor you just need to replicate the functions of those PC programs. The transaction between the devices is by using the GTL protocol, either by UART or SPI, and as i ve mention the usage of the external MCU is to send the proper commands to the 580 and of course it will get the appropriate responses.

Thanks MT_dialog

RatheeshT
Offline
Last seen:1 year 11 months ago
Joined:2017-01-02 11:08
Hi Dialog,

Hi Dialog,

Thank you for your detailed response.

From your response i understand that , no need to integrate any files to external processor from SDK to communicate with BLE.
and we can do everything from fully hosted application i.e without using external processor. Then what is the use of external processor?

My question is :

1. Can you give a situation when i need to go with external processor?
2. Can i integrate hoststack in external processor and communicate with BLE(controller stack) via Host controller interface(HCI)?

MT_dialog
Offline
Last seen:2 months 3 weeks ago
Staff
Joined:2015-06-08 11:34
Hi RatheeshT,

Hi RatheeshT,

The usage of an external MCU ia a matter of design, your application could run either on an external MCU, so any application specific operation to be executed at the external MCU and then send commands over GTL to the 580, or ommit entirely the external MCU and run application specific operations on the M0 available on the 580.

Regarding the HCI commands, this is not supported from the 580 (only the 581 has optimized ROM code to accept HCI commands) the corresponding interface for the 580 is the GTL interface which is a propriety protocol from dialog.

Thanks MT_dialog