Hello,
我正在使用Murata LBCA2HNZYZ BLE模块(包括DA14580芯片)开发新电路板。
We are already using USB to serial converters and Bluetooth SPP for this application, we want to switch to BLE for price, size and compatibility with iOS (power consumption is not a problem at all, the units runs for a few minutes pulling amps and amps and then the battery is replaced).
I did not download the SDK yet (will do today), I have the Dialog dev kit (waiting for the murata dev kit).
My main concern is about the throughput and how to achieve the best throughput, and still be compatible with PC, android, and iOS. We currently use 115200bps on both BT and USB, I know I won't get the same speed on BLE, just hoping it won't be too slow ...
兼容性怎么样,它真的兼容了几乎所有智能手机吗?桌面PC兼容性(具有足够的硬件)呢?最近的笔记本电脑都配有BLE,它兼容,它是由Windows正确处理吗?Linux?苹果电脑 ?
We are using Qt for software development, it has BLE support since 5.5, did someone already used Qt to exchange data with a DA14580 ?
托马斯。
Hello,
Another question ... I don't really want to use OTP, is it fully supported in the end device to inject the firmware through UART at boot up (every time the device starts) ?
I see no technical reason this could not be supported, but I prefer to make sure.
这样我不必单独编写本机(我在制作中要编程的电路板上有另一个Cortex-M),只需要从主MCU控制UART / RESET PIN来注入固件(32KB我有256KB的“主要”固件),我可以让VPP引脚未连接,并且如果需要,可以更新BLE固件。
DSPS协议的固件大小是多少?
托马斯。
Hi Otatiaro,
我想你对我们的DSPS应用最感兴趣,因为您希望用BLE将USB替换为串行转换器。我建议看看我们的参考例子的DSPS应用笔记。关于智能手机,可携带的折叠更像是依赖于智能手机的Android版本。DSPS应用程序已使用Android 4.4.2至5.0测试,iOS 7.0至8.1.1测试。DSPS应用程序使用对话框自定义配置文件(因为BT SIG没有采用官方BLE串行配置文件),因此为了在Windows或Linux上使用DSP,您必须使用额外的580,将收到数据和将把它们推到串口,因为DSPS应用程序仅在Android上使用而不是PC(Windows或Linux)。
Regarding your second questions, yes you can download code to the 580 using UART, the memory size of the application image is about 15Kbytes in SDK3 and around 17Kbytes in SDK5.
Thanks MT_dialog
Hello,
Thanks for the quick answer. I do not have access to the SDK yet (asked for it only a couple hours ago).
OK 15 / 17KB不是一个大问题。任何提示如何使用?
我们正在使用我们自己的协议/终端程序,是使用第二个580强制性的PC使用,还是只是“只是”编码正确的软件来解释数据包(我理解应用程序不透明,它必须处理BLE报文而不是串行通信)?
What is the expected data rate using DSPS (we already have checksums and retries in our protocol) ?
I'm finishing the hardware design ... just can't figure out what to do with ANTin and ANTout yet ...
托马斯。
Hi Otatiaro,
We dont use the qt, so i am not aware. You have to develop a windows application that is equivalent to the android/iOS DSPS application that will implement the custom profile, connect and
interact with the DSPS 580 application since there is no standard profile. You can find all the info regarding the DSPS application in the DSPS application note, the transfer rates are from 40kbps up to 80kbps with 115200 baud rate.
Thanks MT_dialog
Hello,
好的,收到Murata Dev套件,安装了工具等。
Uploaded prox_sensor example project to the board, started it, look for BT peripherals, ok I can see it with my cheap USB BT/BLE dongle on Windows 10, try to pair, pairing ok.
Great !
下一步,下载DSP,编译,加载到电路板并启动它,我可以在Windows中看到新的外设名称,好,尝试配对.... NOP,Windows不会与DSPS设备,休斯顿,我们有一个问题 !
On the hardware side, I connected ANTin and ANTout on the Murata module, that's ok, now about the external 32KHz crystal, it seems to be optional, could you confirm ?
托马斯。
似乎是因为Windows想要一些配对之王:https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/...
Or does that mean that my application could connect to the device without pairing (I have to investigate) ?
将配对添加到DSP时有多困难(我可能在同一区域中有多个设备,每个属于客户的一个,我喜欢人们错误地错误地连接到其他人的设备)。
托马斯。
Ok based on this :http://support.dialog-semicondiondiondiondum/sdk-5-and-basic-board-problem.I enabled security in the DSPS target project.
Now I can connect from windows 10 and windows phone 8.1, I hope this won't create problems for Android or iOS ?
我还禁用睡眠模式并将慢速时钟源设置为不是32khz水晶,跳跃这足以从板上取下水晶。
Next step is software development to get things up and running on the PC/Android/iOS side (I may continue with Qt or switch back to C# / .NET / Xamarin ...).
But hey, honestly, I wasn't expecting to be able to connect to it after a couple hours only !
托马斯。
Hi Otatiaro,
The DSPS application doesn't implement security in order to pair, it just connects with the client device as you have noticed. As far as the external crystals the XTAL16 is mandatory for buck or boost mode, the XTAL32 is mandatory only for boost mode as indicated by the 580 datasheet on pages 142 and 143.
Thanks MT_dialog
Hi to All,
I have question about pins connection - Murata module ZY ,in documentation i see if i work with 115k bound rate i connect to P0_2 and P0_3 (UTX & RTX) but on this pins is CTS and RTS, what can I do , I know this protocol is work with this connection ?
I know how connection to 56k and 9k but 115K is problem .
感谢 。
Table 4: UART baud rates on different pins while booting
UTX URX波特率(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
Hi v007bond,
我不确定我是否了解你的问题,UART波特rates you are talking about are the predefined baud rates on the predefined pins when the booting sequence is performed by the 580 (when the primary bootloader executes). After the booting sequence is complete you can reset your pins to whatever functionallity and baud rate you want in the peripheral initialization function. Please have a look at the AN-B-001 documents for more info regarding the booting sequence of the 580.
Thanks MT_dialog