2018-05-23 06:55 AM
Hi!
I am working in a project and we need to use one BLE chip.
I found the chips from ST (BlueNRG1-2) but I can't find good information about:
- Can these chips be used as principal MCU and like BLE device at the same time, I mean use its BLE characteristics and communicate with an external MCU vÃa I2C/SPI?
- Can these chips be programmed using some IDE like Eclipse/Keil or using the software STM32CubeMX/SW4STM32 from ST? In case of YES, can you give me some tips/tutorial?
Thank you !!
2018-05-24 07:19 PM
Hi Alex,
Sure, the embedded MCU is exactly for users to run various of applications including BLE.
Please download SDK from
By default it provides projects for IAR EWARM, Keil uVision, and Atollic TrueStudio.
After the DK is installed, please try to start with BlueNRG-1/2 Navigator (There will be 2 shortcuts of Navigators for both BlueNRG-1 and BlueNRG-2 in start menu).
It is possible to flash BlueNRG-1/2 EVB and run the demo applications with the Navigator.
http://www.st.com/resource/en/user_manual/dm00298232.pdf
will be a good start.Please refer to the ST web resources:
Best Regards,
Winfred
2018-05-29 07:10 AM
Thank you Winfred!
Do yo have idea if ST will implement BlueNRG programming via STMCubeMX?
Regards,
Alex
2018-06-01 12:10 AM
Hi Alex,
Sorry. I have no comments about supporting BlueNRG family in STMCubeMX.
Thank you.
Best Regards,
Winfred
2018-06-04 08:23 AM
Could I use the HAL libraries for programming the BlueNRG chip although I don't use the STCubeMX, maybe using the X-Cube-BLE1 software??
Thank you again!
Regards
2018-06-06 07:59 AM
Hi Alex,
if your goal is using BlueNRG-1/2 as an application processor, with the applicative code running natively on it, then you can't use STM32CubeMX.
While both STM32 and BlueNRG-1/2 are based on ARM Cortex M architecture, they have a different set of peripherals and you can't use the same code base for both of them.
Please notice that STM32CubeMX generates code for STM32 peripherals, which wouldn't work with BlueNRG-1/2.
If you want to use STM32Cube and
STM32CubeMX
with BlueNRG-1/2, you have to configure your BLE chip as a network co-processor and use it together with an external STM32 to run the application code. In this configuration, BlueNRG-1/2 will be used to run the BLE stack only, while the application will run on the STM32.Just as an example, the X-CUBE-BLE1 software package includes code for an STM32 connected to the BlueNRG-MS chip via SPI. Please note that BlueNRG-MS is a network-coprocessor and it can run the BLE stack only (it has no application processor capability).
Best regards,
Antonio
2018-06-07 12:43 PM
Antonio thanks for the clarification, it was really helpful !