ST意法半导体
直播中

王秀珍

8年用户 1547经验值
私信 关注
[问答]

SPBTLE-1S如何获得BLE连接?

嗨,
我刚拿到带有spbtle-1的EVAL-IDB007V1M(基于bluenrg-1并在我的Windows PC上安装了STSW-BLUENRG1-DK(v2.5.0).BlueNRG-1 Navigator识别出EVAL-IDB007V1M,我可以' Flash& Run'基本示例和BLE演示和测试应用程序。
它们似乎在EVAL-IDB007V1M上运行 - 至少当我按下按钮时它们会出现问题,但我得到了奇怪的结果。
首先,当我'Flash&从我得到此输出的基本示例中运行'BlueNRG-1 Hello World:
使用另一个终端程序,它看起来像这样:
我期待Hello World ......怎么了?
第二个问题(在我的情况下更严重):当我闪存并运行BLE演示和测试应用程序时,我希望能够从我的Android智能手机建立与EVAL-IDB007V1M的连接。我尝试使用Apps STM32 BLE配置文件,BlueNRG和(对不起)nRF Connect。但我无法与EVAL-IDB007V1M建立任何联系。我试过几个演示应用程序,例如BLE Beacon。
我的智能手机上的应用程序和BLE内容工作正常,我可以连接到其他BLE设备。
再说一遍:怎么了?
tiA
沃尔夫冈

#stsw-bluenrg1-dk#steval-idb007v1m #spbtle-1s #bluenrg-1

以上来自于谷歌翻译


以下为原文




Hi,
I just got the EVAL-IDB007V1M with the spbtle-1s (based on bluenrg-1 and installed the STSW-BLUENRG1-DK (v2.5.0) on my Windows PC. The BlueNRG-1 Navigator recognizes the EVAL-IDB007V1M and I can 'Flash & Run' the basic examples and the BLE demonstration and test applications.
They seem to run on the EVAL-IDB007V1M - at least they to something when I press the buttons but I get strange results.
First, when I 'Flash & Run' the BlueNRG-1 Hello World from the basic examples I get this output:
With another terminal program it looks like this:
I expected Hello World... What's wrong?
Second problem (and more severe in my case): When I flash and run the BLE demonstration and test applications I would expect to be able to establish a connection to the EVAL-IDB007V1M from my Android smartphone. I tried to use the Apps STM32 BLE Profiles, BlueNRG and (sorry for that) nRF Connect. But I couldn't get any connection to the  EVAL-IDB007V1M. I tried several demo applications, e.g. BLE Beacon.
The Apps and the BLE stuff on my smartphone works in general and I can connect to other BLE devices.
Again: What's wrong?
TIA
Wolfgang

#stsw-bluenrg1-dk #steval-idb007v1m #spbtle-1s #bluenrg-1

回帖(8)

樊周依

2019-2-28 07:28:27
嗨沃尔夫冈,
请注意,STSW-BLUENRG1-DK为您提供不同的应用程序。他们定义了不同的专有配置文件,并要求手机/平板电脑上的特定对应应用。
为了测试BLE功能,我建议在EVAL-IDB007V1M上运行BLE_SensorDemo应用程序。在这种情况下,您需要在Android手机上使用BlueNRG应用。
如果要构建和刷新BLE_SensorDemo项目,SW包中的相对路径为:
项目 BLE_Examples  BLE_SensorDemo
如果您想使用预先构建的二进制文件,您可以在此处找到它:
固件 BLE_Examples  BlueNRG-1  BLE_SensorDemo
终端程序的当前配置(115200,8N1,无流量控制)正常。
最好的祝福,
安东尼奥

以上来自于谷歌翻译


以下为原文




Hi Wolfgang,
please keep into account that STSW-BLUENRG1-DK  provides you with different applications. They define different proprietary profiles and require their specific counterpart app on the phone/tablet.
In order to test the BLE functionality, I suggest to run the BLE_SensorDemo application on your EVAL-IDB007V1M. In this case, you will need to use the BlueNRG app on your Android phone.
If you want to build and flash the BLE_SensorDemo project, the relative path within your SW package is:
ProjectBLE_ExamplesBLE_SensorDemo
If you want to use a pre-built binary, instead, you can find it here:
FirmwareBLE_ExamplesBlueNRG-1BLE_SensorDemo
Your current configuration for the terminal program (115200, 8N1, no flow control) is OK.
Best regards,
Antonio
举报

王秀珍

2019-2-28 07:35:45
嗨Antonio,
谢谢你的快速回答。我已经使用过'Flash&运行'in'BlueNRG-1 Navigator'来刷新BLE_SensorDemo。 LED DL1闪烁了一点但我没有与我的智能手机(三星Galaxy S7)和来自不同供应商的三个不同应用程序的BLE连接:BlueNRG,nRF Connect和BLE Scanner。要确保我的智能手机上的BLE正常工作我使用了BLE HRM皮带,这三个应用程序都认可了它。
根据您的回答,我使用'BlueNRG-1 Flasher'实用程序再次刷新Firmware  BLE_Examples  BlueNRG-1  BLE_SensorDemo.hex文件。相同的行为:DL1闪烁但没有BLE连接到三个应用程序中的任何一个(BLE HRM皮带工作正常)...
这是闪烁BLE_SensorDemo.hex后的截图:
你有什么进一步的想法吗?
最好的祝福
沃尔夫冈

以上来自于谷歌翻译


以下为原文




Hi Antonio,
thank you for your fast answer. I already used 'Flash & Run' in 'BlueNRG-1 Navigator' to flash the BLE_SensorDemo. The LED DL1 is flickering a little bit but I got no BLE Connection with my smartphone (Samsung Galaxy S7) and with three different apps from different suppliers: BlueNRG, nRF Connect and BLE Scanner.To make sure BLE on my smartphone works as it should I used a BLE HRM belt which was recognized by all three apps.
With your answer I used the 'BlueNRG-1 Flasher' utility to flash the FirmwareBLE_ExamplesBlueNRG-1BLE_SensorDemo.hex file again. Same behaviour: DL1 is flickering but no BLE connection to any of the three apps (BLE HRM belt works fine)...
This is a screenshot after flashing BLE_SensorDemo.hex:
Do you have any further ideas what I could do?
best regards
Wolfgang
举报

樊周依

2019-2-28 07:50:32

wreinig
,如果您使用的是EVAL-IDB007V1板,则必须更改SPBTLE-1S模块中使用的32 MHz晶振的设置。 BlueNRG-1导航仪预先配置为EVAL-IDB007V1板,其具有另一个晶体(16 MHz)。
请确保在项目设置中使用此设置:
您尝试的所有项目中的默认配置是16 MHz晶振(HS_SPEED_XTAL_16MHZ),这就是您无法使其与电路板配合使用的原因。
我自己没有任何EVAL-IDB007V1M板来测试它。如果这对你有用,请告诉我。
最好的祝福,
安东尼奥
 
 注意:原始帖子包含大量线程对话,只能迁移到第9级

以上来自于谷歌翻译


以下为原文




Dear
wreinig
,if you're using the EVAL-IDB007V1 board, you have to change the setting for the 32 MHz crystal used in the SPBTLE-1S module. The BlueNRG-1 navigator is preconfigured for the EVAL-IDB007V1 board, which has another crystal (16 MHz).
Please make sure that in your project settings you use this setting:

The default configuration in all the projects that you have tried was for a 16 MHz crystal (HS_SPEED_XTAL_16MHZ) and that's why you were not able to make it work with your board.
I don't have any EVAL-IDB007V1M board to test it myself. Please let me know if this works for you.
Best regards,
Antonio

Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level
举报

王秀珍

2019-2-28 08:01:40
完美 - 它的作品!
谢谢安东尼奥非常敬业的支持!因为我的Atollic TrueStudio 9.0.0工具链还没有工作,因为我预计Antonio会制作32MHZ版本的BLE_SensorDemo.hex,所以我可以测试我的评估板。很棒的支持!
也许ST应考虑更换BlueNRG-1 Navigator,以便识别STEVAL-IDB007V1M并闪烁32MHZ版本。这将有助于像我这样的新人。
 
 
现在我的下一个问题是使用Atollic TrueSTUDIO 9.0.0最好的问候构建一个工作的hex文件
沃尔夫冈

以上来自于谷歌翻译


以下为原文




Perfect - it works!
Thank you Antonio for the very dedicated support! Because my Atollic TrueStudio 9.0.0 toolchain does not (yet) work as I expect Antonio made a 32MHZ version of BLE_SensorDemo.hex so I could test my evaluation board. Great Support!
Maybe ST should think about changing the BlueNRG-1 Navigator so it could recognize the STEVAL-IDB007V1M and flashes a 32MHZ version. This would help newcomers like me.


Now my next issue is to build a working hex file with the Atollic TrueSTUDIO 9.0.0 Best regards
Wolfgang
举报

更多回帖

发帖
×
20
完善资料,
赚取积分