完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
我想在我的项目中使用BlueNRG-2。 我下载了BlueNRG-1.2 DK软件包。 有很多应用程序的例子。他们使用包含编译蓝牙LE堆栈的归档库libbluenrg1_stack.a。我在哪里可以找到该库的源代码,如何使用Atollic TrueStudio构建它? 问候, 彼得· #stack #bluetooth-le #bluenrg-2 以上来自于谷歌翻译 以下为原文 Hi, I would like to use BlueNRG-2 in my project. I downloaded BlueNRG-1.2 DK software package. There is a lot of examples of applications. They use an archive library libbluenrg1_stack.a containing compiled Bluetooth LE stack.Where can I find the sources of this library, and how can I build it with Atollic TrueStudio? Regards, Piotr #stack #bluetooth-le #bluenrg-2 |
|
相关推荐
6个回答
|
|
亲爱的彼得,
该二进制文件是BLE堆栈的低级实现,其源代码不可用于发布。 如果用户有权访问源,有人可能会以与标准不兼容的方式改变BLE堆栈的行为,并可能违反FCC要求。 为了构建自己的应用程序,您只需要链接该二进制库。 出于好奇,你为什么要重建它? 最好的祝福, 安东尼奥 以上来自于谷歌翻译 以下为原文 Dear Piotr, that binary file is the low level implementation of the BLE stack and its source code is not available for publication. If users had access to the source, somebody could alter the behavior of the BLE stack in a way that is not compatible with the standard and possibly violate the FCC requirements. In order to build your own applications, you just need to link that binary library. Out of curiosity, why would you like to rebuild it? Best regards, Antonio |
|
|
|
嗨Antonio,
感谢您的答复。 我设计了自己的包含BlueNRG-2和STM32L462芯片的pcb。 我正在尝试确定哪些软件部分可用以及我需要为自己的应用程序开发自己。我知道我需要: a)BlueNRG-2的固件 b)STM32的蓝牙堆栈(库) c)在STM32上申请我是正确的我所问的库是(b),不是吗? 我对开发套件感到困惑,我宁愿预期3个项目反映我上面提到的部分。我无法识别它们。 >出于好奇,你为什么要重建它? 我想重建它,因为: 1.我在STM32中做了自己的引脚分配,我想为它调整堆栈。 2.我想知道堆栈中发生了什么,能够调试它3。我可能需要修改它以满足低功耗要求 4.封闭的代码无法控制,只是按原样工作 我还想修改BlueNRG-2固件。在我的PCB中,我尝试从STEVAL板复制BlueNRG连接,但我注意到bootloader-init与BlueNRG(DIO7)的irq共享引脚。如果我考虑将两个芯片置于待机模式,这可能是一个问题。 我还将考虑将应用程序移至BlueNRG-2中。 问候, 彼得· 以上来自于谷歌翻译 以下为原文 Hi Antonio, Thank you for your response. I designed own pcb containing BlueNRG-2 and STM32L462 chips. I am trying to identify what parts of software are available and what I need to develop myself for my application.So far I understand that I need: a) firmware for BlueNRG-2 b) bluetooth stack for STM32 (the library) c) application on STM32If I am correct the library that I asked is (b), It isn't? I am little confused by Development Kit, I rather expected 3 projects that reflect parts that I mentioned above. I cannot identify them. > Out of curiosity, why would you like to rebuild it? I would like to rebuild it because: 1. I made my own pin assignment in STM32 and I would like to adapt the stack for it. 2. I would like to know what is going on in the stack, be able to debug it3. I probably will need to modify it for low power requirements 4. closed code cannot be controlled, just works as it is I would like also to modify BlueNRG-2 firmware. In my PCB I tried to copy BlueNRG connections from STEVAL board but I noticed that bootloader-init shares the pin with irq from BlueNRG (DIO7). This could be a problem if I consider putting into standby mode two chips. I will also consider moving the application into BlueNRG-2. Regards, Piotr |
|
|
|
嗨彼得,
BlueNRG-1/2是一个应用程序处理器,您可以在其上运行自己的应用程序和BLE堆栈,而无需使用其他MCU。您要求的库不是要在STM32上运行,而是直接在BlueNRG-1/2上运行。 如果您打算使用另一台STM32(在您的情况下为STM32L462)以及您的BlueNRG-1/2芯片,您可能会对此线程中描述的场景感兴趣,即 https://community.st.com/0D50X00009XkeEaSAJ 如果我误解了你的问题,请告诉我。 最好的祝福, 安东尼奥 注意:原始帖子包含大量线程对话,只能迁移到第9级 以上来自于谷歌翻译 以下为原文 Hi Piotr, BlueNRG-1/2 is an application processor and you can run both your own application and the BLE stack on it without the need to use another MCU. The library you asked for is not meant to run on an STM32 but directly on BlueNRG-1/2. if you're going to use another STM32 (STM32L462 in your case) along with your BlueNRG-1/2 chip, you may be interested in the scenario described in this thread, i.e. https://community.st.com/0D50X00009XkeEaSAJ .Please let me know if I misunderstood your question. 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 |
|
|
|
嗨Antonio,
谢谢你的解释。现在我确信二进制库仅适用于BlueNRG芯片。 我将在我的设备中使用BlueNRG上的DTM固件。也许我想更改SPI_IRQ引脚(DIO7),只是为了将它与现在在引脚上共享的Bootloader-activate分开。这对我项目的当前阶段并不重要。 谢谢你指点线程。有我要找的信息。我重复下面的链接只是为了搜索它的其他人,有通过spi连接外部微和BlueNRG的要求很热,它们之间的协议是什么: 1)BlueNRG-1_2 DK 2.6.0 / Docs / STM32_SPI_protocol_example_html / STM32_SPI_protocol_example.html 2) BlueNRG-1_2 DK 2.6.0 / Docs / SPI_protocol_specification / SPI_protocol_specification.htmlIn BlueNRG-DevKit我看到了一些应该在外部micro上运行的例子,即BLE Beacon,BLE Chat Master& Slave,Sensor Demo,DTM。 不幸的是,它们仅适用于EWARM环境。我可以为这些演示应用程序获取TrueSTUDIO的项目文件吗? 请确认我是否正确理解软件部分: 1. BlueNRG的DTM固件可以通过以下方式构建: 一个。来源Project / BLE_Examples / DTM 湾二进制库libbluenrg1_stack.a 2.外部STM32传感器的演示应用可以完全从以下来源构建: 一个。 STM32L / BLE_SensorDemo 所以,我可以根据我的引脚分配和我的芯片版本进行调整。 我对么? 问候, PiotrPS DTM的首字母缩写代表什么? 以上来自于谷歌翻译 以下为原文 Hi Antonio, Thank you for explanation. Now I am sure that the binary library is only for BlueNRG chip. I will use DTM firmware on BlueNRG in my device. Maybe I would like to change SPI_IRQ pin (DIO7), just to separate it from Bootloader-activate that is now shared on the pin. This is not critical on current stage of my project. Thank you for pointing me the thread. There are information that I looked for. I repeat the links below just to other people searching it, there are requirements hot to connect external micro and BlueNRG via spi, and what is the protocol between them: 1) BlueNRG-1_2 DK 2.6.0/Docs/STM32_SPI_protocol_example_html/STM32_SPI_protocol_example.html 2) BlueNRG-1_2 DK 2.6.0/ Docs/SPI_protocol_specification/SPI_protocol_specification.htmlIn BlueNRG-DevKit I saw a few examples that should run on external micro, i.e. BLE Beacon, BLE Chat Master&Slave, Sensor Demo, DTM. Unfortunately they are only for EWARM environment. May I obtain project files for TrueSTUDIO for these demo applications? Please confirm if I understand correctly software parts: 1. DTM firmware for BlueNRG can be built from: a. sources Project/BLE_Examples/DTM b. binary library libbluenrg1_stack.a 2. demonstration application of sensor for external STM32 can be built completely from sources: a. STM32L/BLE_SensorDemo so, I can adapt it to my pin assignment and my chip version. Am I correct? Regards, PiotrPS What does DTM acronym stand for? |
|
|
|
嗨彼得,
请确认我是否正确理解软件部分: 1. BlueNRG的DTM固件可以通过以下方式构建: 一个。来源Project / BLE_Examples / DTM 湾二进制库libbluenrg1_stack.a 2.外部STM32传感器的演示应用可以完全从以下来源构建: 一个。 STM32L / BLE_SensorDemo 所以,我可以根据我的引脚分配和我的芯片版本进行调整。 正确。 TrueStudio示例仅适用于本机BlueNRG-1/2项目,您可以使用TrueStudio更改DTM固件上的SPI_IRQ引脚(DIO7)。 至于在STM32上运行的示例,正如您正确指出的那样,还没有TrueStudio支持,目前您需要使用IAR EWARM。如果您不想付费,可以使用尺寸限制版或限时版。 最好的祝福, 安东尼奥 附: DTM代表设备测试模式。 以上来自于谷歌翻译 以下为原文 Hi Piotr, Please confirm if I understand correctly software parts: 1. DTM firmware for BlueNRG can be built from: a. sources Project/BLE_Examples/DTM b. binary library libbluenrg1_stack.a 2. demonstration application of sensor for external STM32 can be built completely from sources: a. STM32L/BLE_SensorDemo so, I can adapt it to my pin assignment and my chip version. Correct. TrueStudio examples are available only for native BlueNRG-1/2 projects and you can use TrueStudio to change the SPI_IRQ pin (DIO7) on your DTM firmware. As for the example running on STM32, instead, as you correctly pointed out, there's no TrueStudio support yet and for the time being you need to use IAR EWARM. You can use either the size-limited or the time-limited version if you don't want to pay for it. Best regards, Antonio P.S. DTM stands for Device Test Mode. |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2738 浏览 1 评论
3241 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1810 浏览 1 评论
3650 浏览 6 评论
6039 浏览 21 评论
1339浏览 4评论
201浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
353浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
444浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
275浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-25 09:53 , Processed in 1.453587 second(s), Total 88, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号