cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a project with STM32CubeMX for BlueNRG-2 core on STEVAL-IDB008V2 evaluation board?

MTerp.1
Associate II

Hello,

I am a new user of STM32CubeMX software. I would like to generate a basic project to run on Cortex M0 part of  STEVAL-IDB008V2 evaluation board. Unfortunately I cannot find the BlueNRG-2 core in cores list, neither the evaluation board. I installed X-CUBE-BLE2 Embedded Software Package but it did not help.

5 REPLIES 5
Khouloud ZEMMELI
ST Employee

Hello @MTerp.1​ 

Thanks for your post,

Actually the STEVAL-IDB008V2 board is not supported, for that, it's not available in the selected board list and consequently, you cannot configure it through CubeMX.

Otherwise, in case you want to configure the BlueNRG-2 from CubeMX, you can choose one of the available MCU/Boards listed and by adding the X-CUBE-BLE2 pack, the BlueNRG-2 will be present and can be set under Software packs.

Hope my answer helped you :)

Thanks, Khouloud

MTerp.1
Associate II

Thank you for the answer!

Configuring the BlueNRG chip directly is sufficient, however I cannot find it in CubeMX. I installed both packages: BLE-1 (6.2.1) and BLE-2 (6.2.1) - see attached pictures. Unfortunately there is no component starting with "BLUE" in the MCU Selector. My CubeMX version is 6.3.1.

Marcin T.

0693W00000FAXWFQA5.png0693W00000FAXWjQAP.png0693W00000FAXX8QAP.png

Hi again @MTerp.1​ ,

Clear, in fact, in the search PN, you can find only the STM32 products, so you need to enter a STM32 part number, such as STM32H723.., to configure the BlueNRG through CubeMX, please follow steps mentioned below:

1- Create new project using STM32 MCU

2- Select component under Software packs

3- Enable the X-Cube-BLE2 with your configuration, then press OK

4- Configure your pack under Software packs available in the category part

The image attached will help you to understand more the steps described above:

0693W00000FAXvtQAH.png 

Thanks,

Khouloud

MTerp.1
Associate II

Hi @Khouloud ZEMMELI​ , sorry for the delay. I tested your advice and I found this package configuration. However, I have some issues.

When I click to generate code, a message about wrong parameters in the BLE2 package Platform Settings appears. The only configurable option is USART and it does not matter what I choose. I may force to proceed with the code generation, but then the compilation fails because of missing "custom.h" and "hci_tl_interface.h" files. I am using Keil.

0693W00000FBWlLQAX.png 

The second doubt is about the final architecture, the code is compiled for M7 core. Should it be changed somehow manually to M0 so it can be loaded to BlueNRG chip?

MTerp.1
Associate II

Ok, I finally learned that CUBE does not support BlueNRG. The STSW-WISE-STUDIO software package should be used instead for this chip.