11个帖子/ 0新
最后一篇
Otatiaro
离线
最后一次露面:5年1个月前
加入:2016-03-15 08:46
开始一个新项目

你好,

I'm developing a new board with a Murata LBCA2HNZYZ BLE module (which includes a DA14580 chip).

我们已经使用USB到串行转换器和蓝牙SPP为此应用程序,我们希望切换到价格,尺寸和IOS的兼容性(功耗根本不是问题,单位运行几分钟后拉动和放大器然后电池被替换)。

我没有下载SDK(今天会这样做),我有对话框开发套件(等待Murata Dev Kit)。

我的主要关注是关于吞吐量以及如何实现最佳吞吐量,仍然与PC,Android和iOS兼容。我们目前在BT和USB上使用115200bps,我知道我不会在ble上得到相同的速度,只是希望它不会太慢......

What about compatibility, is it really compatible with pretty much all smartphones out there ? What about desktop PC compatibility (with adequate hardware) ? Are recent laptops all equipped with BLE, is it compatible, is it handled correctly by windows ? linux ? mac ?
我们正在使用Qt进行软件开发,它自5.5自5.5以来,有人已经使用Qt与DA14580交换数据?

Thomas.

Device:
Otatiaro
离线
最后一次露面:5年1个月前
加入:2016-03-15 08:46
你好,

你好,

另一个问题......我真的不想使用OTP,它是完全支持的最终设备,通过启动时通过UART注入固件(每次设备启动)?
我没有看到技术原因无法supported, but I prefer to make sure.

This way I wouldn't have to program the unit separately (I have another Cortex-M on the board that I need to program in production), and just need the UART / RESET pins to control from the main MCU to inject firmware (32kB is not a big deal, I have 256kB of "main" firmware), I can leave the VPP pin unconnected, and can update the BLE firmware if needed.

What is the firmware size for the DSPS protocol ?

Thomas.

mt_dialog.
离线
最后一次露面:2个月3周前
职员
加入:2015-06-08 11:34
奥特蒂亚罗,

奥特蒂亚罗,

I suppose that you are most interested in our DSPS application since you want to replace the USB to serial converters with BLE. I would suggest to have a look at the DSPS application note of our reference example. Regarding Smart phones, the compability is more of an android version dependant than a Smart Phone. The DSPS application has been tested with android 4.4.2 to 5.0 and with iOS 7.0 to 8.1.1. The DSPS application uses a dialog custom profile (since there isn't an official BLE serial profile adopted by the BT SIG yet) so in order to use the DSPS over windows or Linux you have to use an extra 580 that will receive the data and will push them to your Serial port, since the DSPS application is only available on android and not on a pc(windows or Linux).

关于您的第二个问题,是的,是使用UART下载代码到580,应用程序图像的内存大小在SDK3和SDK5中的大约17kbytes中约为15kbytes。

谢谢mt_dialog.

Otatiaro
离线
最后一次露面:5年1个月前
加入:2016-03-15 08:46
你好,

你好,

感谢你及时的答复。我还没有访问SDK(只有几个小时前要求它)。

Ok 15/17kB is not a big deal. Any hint for Qt use ?
We are using our own protocol / terminal program anyway, is using a second 580 mandatory for PC use or is it "just" coding the correct software to interpret packets (I understand it is not transparent for the app, it has to handle BLE packets and not serial communication) ?
使用DSP的预期数据速率是多少(我们已经在我们的协议中有校验和和重试)?

我正在完成硬件设计......无法弄清楚与antin和antout有什么关系......

Thomas.

mt_dialog.
离线
最后一次露面:2个月3周前
职员
加入:2015-06-08 11:34
奥特蒂亚罗,

奥特蒂亚罗,

我们不使用Qt,所以我不知道。您必须开发一个相当于Android / IOS DSP应用程序的Windows应用程序,该应用程序将实现自定义配置文件,连接和
由于没有标准配置文件,与DSPS 580应用程序交互。您可以在DSPS应用笔记中找到有关DSP应用的所有信息,传输速率从40Kbps为高达80kbps,具有115200波特率。

谢谢mt_dialog.

Otatiaro
离线
最后一次露面:5年1个月前
加入:2016-03-15 08:46
你好,

你好,

Ok received the murata dev kit, installed the tools, etc.
上传的prox_sensor示例项目到板上,开始它,寻找bt外围设备,好的,我可以用我的廉价USB BT / BLE加密狗在Windows 10上,尝试配对,配对确定。
伟大的 !
Next step, download DSPS, compile, load to the board and start it, I can see the new peripheral name in windows, good, try to pair .... nop, windows won't pair with dsps device, Houston, we have a problem !

在硬件方面,我在村田模块上连接了antin和antout,这没关系,现在关于外部32khz水晶,它似乎是可选的,你能确认吗?

Thomas.

Otatiaro
离线
最后一次露面:5年1个月前
加入:2016-03-15 08:46
Seems to be because windows

Seems to be because windows want some king of pairing :https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f / ...
或者这是否意味着我的应用程序可以在没有配对的情况下连接到设备(我必须调查)?
How difficult would it be to add pairing to DSPS (I may have multiple devices in the same area, each one belonging to a customer, I like the idea that people don't connect to someone's else device by mistake).

Thomas.

Otatiaro
离线
最后一次露面:5年1个月前
加入:2016-03-15 08:46
基于此:http:/

基于此:http://support.dialog-semiconductor.com/sdk-5-and-basic-board-problem我在DSP目标项目中启用了安全性。
现在我可以从Windows 10和Windows Phone 8.1连接,我希望这不会为Android或iOS创造问题?

I also disabled sleep modes and set the slow clock source to not the 32KHz crystal, hopping this is enough to remove the crystal from the board.

下一步是软件开发,可以在PC / Android / IOS侧获取并运行(我可以继续Qt或切换回C#/ .NET / XAMARIN ...)。
但嘿,老实说,我并没有期望能够在几个小时后能够连接到它!

Thomas.

mt_dialog.
离线
最后一次露面:2个月3周前
职员
加入:2015-06-08 11:34
奥特蒂亚罗,

奥特蒂亚罗,

DSPS应用程序无法实现安全性以便对,它只需与客户端设备一起连接。就外部晶体而言,对于降压或升压模式,XTAL16是强制性的,对于Pages 142和143上的580数据表所示,XTAL32仅用于升压模式。

谢谢mt_dialog.

v007bond.
离线
最后一次露面:4年11个月前
加入:2015-11-10 12:09
大家好,

大家好,
我有关于PIN CONNECTION - MURATA模块ZY的疑问,在文档中,我看到了我使用115K绑定速率,我连接到P0_2和P0_3(UTX和RTX),但在此引脚上是CTS和RTS,我能做什么,我知道这件事协议是使用此连接的工作?
我知道如何连接到56k和9k但115k是问题。
Thank .

表4:引导时不同引脚的UART波特率
UTX URX Baud rate (kbit/s)
p0_0 p0_1 57.6
p0_2 p0_3 115.2
P0_4 P0_5 57.6
p0_6 p0_7 9.6

mt_dialog.
离线
最后一次露面:2个月3周前
职员
加入:2015-06-08 11:34
嗨v007bond,

嗨v007bond,

我不确定我得到的问题,你正在谈论的UART波特率是预定义引脚的预定义波特率,当通过580执行引导序列(当主引导加载程序执行时)。启动序列完成后,您可以将引脚重置为在外设初始化功能中需要的任何功能性和波特率。请查看AN-B-001文档,了解有关580的引导顺序的更多信息。

谢谢mt_dialog.