DA14580 As a center role

13 posts / 0 new
Last post
Stone_wang
Offline
Last seen:1 year 2 days ago
加入:2015-10-23 03:55
DA14580 As a center role

SDK:3.0.6
Hi,Dialog
The Da14580 can connect more than one device (max is 6 )
看书
http://support.dialog-semiconductor.com/da14580%E5%8F%AF%E4%BB%A5%E6%94%...
,
Is there any demo that can connected to more than one device ?

Thanks .

设备:
MT_dialog
Offline
Last seen:2个月1日前
Staff
加入:2015-06-08 11:34
Hi Stone_Wang,

Hi Stone_Wang,

Yes the 580 when operating as central has the ability to connect with more that 1 peripherals (up to 6 for the 580 and a couple more for 581). The only available example for this kind of configuration is the external proximity_monitor example located in the SDK.

Thanks MT_dialog

Stone_wang
Offline
Last seen:1 year 2 days ago
加入:2015-10-23 03:55
嗨,对话框,是:..

嗨,对话框,是:..\DA1458x_SDK_3.0.6\dk_apps\keil_projects\proximity\monitor_fe\fe_proxm_sdk.uvproj ? I had saw this example ,kind of difficulty. Does the example have more document ?
Is SDK5.0 has the master example ?

MT_dialog
Offline
Last seen:2个月1日前
Staff
加入:2015-06-08 11:34
Hi Stone_wang,

Hi Stone_wang,

接近监视器在所有SDK中具有示例,示例是SDK3是Prox_Monitor_ext_USB或Prox_Monitor_ext项目中,在SDK5中是Prox_Monitor_ext项目。由于是完全嵌入式项目,因此他们需要外部处理器来操作在SDK中检查项目/ host_apps / Windows目录。您可以查看UM-B-010用户手册,了解有关接近示例的更多信息。

Thanks MT_dialog

Stone_wang
Offline
Last seen:1 year 2 days ago
加入:2015-10-23 03:55
嗨,对话框:

嗨,对话框:
I don't have a USB-dongle , (can I use another DA14580 borad connect with a usb-serial module(FTDI ) to instead the USB-dongle ?)
Please see the attached, Can it work ? or I need another Board ?

Attachment:
MT_dialog
Offline
Last seen:2个月1日前
Staff
加入:2015-06-08 11:34
Hi Stone_wang,

Hi Stone_wang,

你的意思是使用另一个开发套件而不是加密狗才能使用邻近监视器?是的,您可以使用Pro或Basic套件只需确保在您将下载的FW中,您将HW_Config设置为适当的Dev套件。还要确保P04和P05与Pro Dev套件的基本套件上的JTAG的UART输入连接。

Thanks MT_dialog

Stone_wang
Offline
Last seen:1 year 2 days ago
加入:2015-10-23 03:55
Hi,Dialog:

Hi,Dialog:
Yes ,I want to use another DA14580 board .
But It can't work . (FW direction: keil_projects\proximity\monitor_fe_usb\...) I find it use UART -P04,P05 .
#define UART1_TX_GPIO_PORT GPIO_PORT_0
#define UART1_TX_GPIO_PIN GPIO_PIN_4
So I connected the FTDI board to P04,P05(The hardware connection is ok,I had tested it ).
And I open pc tool (direction:\host_apps\windows\proximity\monitor\Debug\host_proxm_sdk.exe)
表明 :
####################################################
# DA1458x Proximity Monitor demo application #
####################################################

没有命令行参数。
Enter COM port number (values: 1-65535, blank to exit):
// ---------------------------------------------------------------------------------------------------------------------------
I enter the COM port 10, COM 10 is connected to the DA14580 by FTDI board .
Then the console Display message :

Connecting to COM10
Com10成功开放,波特率115200
Waiting for DA1458x Device
//但我等了很长时间,没什么改变。(似乎是我之前上传的附件中的图片)。

我想知道为什么,并解决它。非常感谢 。

MT_dialog
Offline
Last seen:2个月1日前
Staff
加入:2015-06-08 11:34
Hi Stone_Wang,

Hi Stone_Wang,

If you want to use a 580 dev kit but you dont want to use the RTS/CTS pins then you should set the fw in the dongle option which doesn't use those RTS/CTS. If you ve set the fw with dev kit configuration and didnt connect the RTS/CTS pins the device its not going to start scanning. Please give it a try with the prox_monitor_ext on the SDK5, just tested with a basic kit and an external FTDI without RTS/CTS. In order for the console to start operating the windows program sends an GAPM_RESET operation in order to reset the stack of the 580, then the 580 should respond with a GAPM_CMP_EVT so that the windows application can start setting the device, start scanning etc. Are you able to set a break point and catch those events (in the HandleBleMsg are you able to catch the GAPM_CMP_EVENT after the reset command is send) ? Also what is the board that you are using in order to do this (a pro or a basic kit or custom)?

Thanks MT_dialog

Stone_wang
Offline
Last seen:1 year 2 days ago
加入:2015-10-23 03:55
I will test the SDK5 next

I will test the SDK5 next week.
我使用自定义板,电路板只有一个DA14580芯片。(我想知道,我的自定义板可以运行prox_monitor_ext,并运行良好吗?

MSun
Offline
Last seen:8个月1周前
加入:2015-11-30 22:40
From comments, sounds like

From comments, sounds like there is a "SDK5" compatible version.
Presumably the sample application could be modified to run on a standalone DA14580 chip ... with some re-coding efforts.

MSun
Offline
Last seen:8个月1周前
加入:2015-11-30 22:40
在查看UM-B-010 [用户

在查看UM-B-010 [用户Manual : Proximity Example in Integrated and External Processor Solution] ... it seems to only refer to SDK 3.08

Does anyone know if this application has been updated to SDK 5 ?

MT_dialog
Offline
Last seen:2个月1日前
Staff
加入:2015-06-08 11:34
Hi MSun, Stone_Wang

Hi MSun, Stone_Wang

The prox_monitor_ext is the proximity monitor application on the SDK5. In the user_periph_setup.h you can conifgure your application to run on the dialog's dk's (with RTS/CTS) or on the dongle(without flow control). All the implementations of the proximity examples are ported on the SDK 5. As MSun answered you should be able to run the proximity monitor external implementation on a custom board and the modifications should only concern the UART ports that you are using.

Thanks MT_dialog

Stone_wang
Offline
Last seen:1 year 2 days ago
加入:2015-10-23 03:55
Hi,Dialog,

Hi,Dialog,
I had test the prox_monitor_ext on the SDK5.0 ,SDK3.0.10,SDK3.0.6,but it didn't work .
当我在控制台中输入COM10时,我将在USART上发送GAPM_RESET命令,但USART不响应任何东西(我打开一个公共汽车猎犬以捕获数据,请参阅附件),并且我也在GAPM_CMP_EVT_HANDLER上设置一个断点但这不起作用。
Seems the DA14580 do not give an "answer " on the USART ,right ?
我使用该项目:
... \ da14580_581_583_sdk_3.0.10.1 \ dk_apps \ keil_projects \ proximity \ prox_monitor_ext_usb \ keil_5 \ prox_monitor_ext_usb.uvprojx,
Peripheral Init like this(I change nothing ) :(p04,p05)
void set_pad_functions(void) // set gpio port function mode
{
GPIO_ConfigurePin( UART1_TX_GPIO_PORT, UART1_TX_GPIO_PIN, OUTPUT, PID_UART1_TX, false );
GPIO_CONFIGUREPIN(UART1_RX_GPIO_PORT,UART1_RX_GPIO_PIN,INPUT,PID_UART1_RX,FALSE);
}
当我调试(使用jlink - swd)并运行时。
and open project use vs2010 :
...\DA14580_581_583_SDK_3.0.10.1\host_apps\windows\proximity\monitor\host_proxm.sln
建立和运行。
enter 10 in the console .But it is not work ..(please see the attatchment temp.pdf.)
如何解决这个问题?非常感谢 。
谢谢。

Attachment: