2021-09-24 09:03 AM
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.
2021-09-27 01:45 AM
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
2021-09-27 06:45 AM
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.
2021-09-27 07:24 AM
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:
Thanks,
Khouloud
2021-10-05 08:08 AM
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.
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?
2021-10-06 03:28 AM
Ok, I finally learned that CUBE does not support BlueNRG. The STSW-WISE-STUDIO software package should be used instead for this chip.