5759 views|13 replies

62

Posts

0

Resources
The OP
 

Is there anyone familiar with ST's BLUENRG-LP? I would like to ask a question [Copy link]

 
 

I just started to use the BLUENRG-LP chip. When I was looking at the official routines, I found that these three routines seemed to be one program. How should I modify them to achieve master-slave interconnection?

Are there any official routines that can enable the host to automatically send data to the slave, such as transmitting the voltage and temperature sampled by the internal ADC to the slave, and the slave outputs it to the PC through the serial port?

Thank you very much!

This post is from ST - Low Power RF

Latest reply

Try a manual reset, such as pressing the reset button, or using tweezers to short RST and GND, then click Erase or Download Program, and release the reset button or remove the tweezers.   Details Published on 2021-4-16 22:19
 
 

6593

Posts

0

Resources
2
 

ST's BLUENRG-LP chip has been optimized in terms of supporting multi-connection (one-to-many, master-slave integration) features, reaching the industry's leading level. If you want to interconnect, please read the official manual

BLUENRG-1/-2 The relevant information about this implementation is as follows:

dm00518102-slot-allocation-and-multiple-connection-timing-strategy-for-bluenrg-b.pdf (655.91 KB, downloads: 12)

This post is from ST - Low Power RF

Comments

Thank you very much for your reply!  Details Published on 2021-4-16 09:59
 
 
 

62

Posts

0

Resources
3
 
Jacktang published on 2021-4-16 07:31 ST's BLUENRG-LP chip has been optimized in supporting multi-connection (one-to-many, master-slave integration) features, reaching the industry-leading level. If the interconnection communication depends on...

Thank you very much for your reply!

This post is from ST - Low Power RF
 
 
 

9717

Posts

24

Resources
4
 

It is not a program. The server is a peripheral device that can be connected through a mobile phone APP. The client is a role similar to a mobile phone that can connect to the server.

This post is from ST - Low Power RF

Comments

I know that these two programs should be one master and one slave, but the file opened by the downloaded official program is just one program. I also opened the downloaded BlueNRG-LP DK 1.0.0 and there is only one program.   Details Published on 2021-4-16 14:38
 
 
 

62

Posts

0

Resources
5
 
littleshrimp posted on 2021-4-16 11:37 It is not a program. The server is a peripheral device that can be connected through a mobile phone APP. The client is a role similar to a mobile phone that can connect to the server

I know that these two programs should be one master and one slave, but the file opened by downloading the official website program is just one program.

I also opened the downloaded BlueNRG-LP DK 1.0.0 and there is only one program.

image.png (18.3 KB, downloads: 0)

image.png

image.png (16.26 KB, downloads: 0)

image.png
This post is from ST - Low Power RF

Comments

One project, but corresponding to different contents, a large number of macro definitions are used in the source file, and different functions can be achieved by selecting the corresponding roles. [attachimg]533638[/attachimg]  Details Published on 2021-4-16 18:33
 
 
 

9717

Posts

24

Resources
6
 
haha丶Published on 2021-4-16 14:38 I know that these two programs should be one master and one slave, but the file opened by the downloaded official program is a program. The downloaded Blue ...

One project, but corresponding to different contents, a large number of macro definitions are used in the source file, and different functions can be achieved by selecting the corresponding roles.

This post is from ST - Low Power RF

Comments

Thanks, but I only use Keil5 for this one project. Is yours the same as mine? Do I need to modify some programs? [attachimg]533648[/attachimg]  Details Published on 2021-4-16 19:47
Thanks, but I only use Keil5 for this one project. Is yours the same as mine? Do I need to modify some programs? [attachimg]533648[/attachimg]  Details Published on 2021-4-16 19:40
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

62

Posts

0

Resources
7
 
littleshrimp posted on 2021-4-16 18:33 A project, but corresponding to different contents, a large number of macro definitions are used in the source file, and different functions can be achieved by selecting the corresponding role. ...

Thank you, but I only use Keil5 for this one project. I wonder if yours is the same as mine? Do I need to modify some programs?

This post is from ST - Low Power RF

Comments

MDK modified at this location [attachimg]533650[/attachimg]  Details Published on 2021-4-16 20:01
 
 
 

62

Posts

0

Resources
8
 
littleshrimp posted on 2021-4-16 18:33 A project, but corresponding to different contents, a large number of macro definitions are used in the source file, and different functions can be achieved by selecting the corresponding role. ...

I have another question for you. One of my boards was working normally before, but after I downloaded the BLE Beacon routine, it can no longer download programs normally. The SWDIO of keil5 shows No target connected. I have tried some methods found on the Internet but still don’t work. I wonder if you have encountered this situation before. Thank you very much for your help.

This post is from ST - Low Power RF

Comments

It may be caused by the chip entering low power mode. Use BlueNRG-LP Navigator to flash another program, or use BlueNRG-X Flasher Utility to erase the program through the serial port. If there is only JTAG mode, try to connect the RST pin to the emulator correctly. [attachimg]5336  Details Published on 2021-4-16 20:04
 
 
 

9717

Posts

24

Resources
9
 
haha丶Published on 2021-4-16 19:40 Thank you, but I only use Keil5 for this one project. I wonder if yours is the same as mine? Do I need to change some programs?

MDK is modified in this place

This post is from ST - Low Power RF
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

9717

Posts

24

Resources
10
 
haha丶Published on 2021-4-16 19:47 I have another question for you. One of my boards was working normally before, but after downloading the BLE Beacon routine, it can no longer download the program normally. Keil5...

It may be caused by the chip entering low power mode. Use BlueNRG-LP Navigator to flash another program, or use BlueNRG-X Flasher Utility to erase the program through the serial port.

If there is only JTAG mode, try to connect the RST pin to the emulator correctly.

This post is from ST - Low Power RF

Comments

Thank you very much for your reply. The board I drew only has basic functions, including debugging and Bluetooth interconnection. I brought out the power, ground, SWDIO, SWDCLK, and RSTN for debugging. After connecting with stlink, I did not succeed in using the method you mentioned. Thank you very much for your help!  Details Published on 2021-4-16 20:49
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

62

Posts

0

Resources
11
 
littleshrimp posted on 2021-4-16 20:04 It should be caused by the chip entering low power mode. Use BlueNRG-LP Navigator to flash another program, or use BlueNRG-X Flasher ...

Thank you very much for your reply. The board I drew only has basic functions, which can be debugged and connected to Bluetooth. The power, ground, SWDIO, SWDCLK, and RSTN are connected for debugging. After connecting with stlink, the method you mentioned did not work.

Thank you very much for your help!

This post is from ST - Low Power RF

Comments

[attachimg]533655[/attachimg]  Details Published on 2021-4-16 20:54
 
 
 

62

Posts

0

Resources
12
 
haha丶Published on 2021-4-16 20:49 Thank you very much for your reply. The board I drew only has basic functions, which can be debugged and connected to Bluetooth, and leads to power, ground, SWDIO, SWDCLK, RST...

This post is from ST - Low Power RF

Comments

Try a manual reset, such as pressing the reset button, or using tweezers to short RST and GND, then click Erase or Download Program, and release the reset button or remove the tweezers.  Details Published on 2021-4-16 22:19
 
 
 

9717

Posts

24

Resources
13
 

Try a manual reset, such as pressing the reset button, or using tweezers to short RST and GND, then click Erase or Download Program, and release the reset button or remove the tweezers.

This post is from ST - Low Power RF

Comments

Thank you very much for your help! Issue solved! Successfully erased by holding down the reset button and then re-downloaded the program. Thank you very much for your help!  Details Published on 2021-4-18 18:26
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

62

Posts

0

Resources
14
 
littleshrimp posted on 2021-4-16 22:19 Try manual reset, such as pressing and holding the reset button, or using tweezers to short RST and GND, then click Erase or Download Program, and release the reset button or...

Thank you very much for your help! Issue solved! Successfully erased by holding down the reset button and then re-downloaded the program.

Thanks a lot for your help!

This post is from ST - Low Power RF
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list