cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG example code. TrueStudio import into STMCubeIDE. which M0 cortex target processor?

EHill.19
Associate II

I have semi-successfully imported the BlueNRG BLE_SensorDemo_BlueMSapp demo code using the STMCubeIDE TrueStudio import wizard, flashed it, and run it on the STEVAL-IDB007V1M with the BlueNRG android app.

the wizard asks for the M0 version.... I chose the first one as I could not find the M0 cortex processor in any SPBTLE-1S documentation. which one is it actually? the first choice in the list ran, and streamed pressure and temperature, but I need to make sure its the right selection.

Next step will be to port this reference code to my SPBTLE-1S design. I need to have access to the correct architecture, so knowing which M0 to choose is kinda important

thanks

Ted

6 REPLIES 6
EHill.19
Associate II

turns out Keil uvision works. but I have to pay $1600

should have stuck with arduino

Salvo
ST Employee

​That's not exactly true. Keil is free for all ST devices based on Cortex M0.

Please refer to Keil website:

https://www2.keil.com/stmicroelectronics-stm32/mdk

Best regards,

ST Support

Salvo
ST Employee

​Hello,

the SPBTLE-1S is advertised to integrate a Cortex-M0 on both the product page and the datasheet:

Product page: https://www.st.com/en/wireless-transceivers-mcus-and-modules/spbtle-1s.html

DS: https://www.st.com/resource/en/datasheet/spbtle-1s.pdf 

Best regards,

ST Support

EHill.19
Associate II

Salvo wrote "Keil is free for all ST devices based on Cortex M0."

sure , with a 32K limit, which means that any code that actually uses the Bluetooth on the BlueNRG-1 won't compile . see attached

Salvo
ST Employee

​Hello,

no, there is no code size limitation. Keil is free for all ST devices based on Cortex M0 with no code size limitation

Please refer to Keil website:

https://www2.keil.com/stmicroelectronics-stm32/mdk

and follow the procedure to activate the permanent license.

Best regards,

ST Support

bluenow1896
Associate III

Have anyone find proper way to develop BlueNRG-1/2 on STM32CubeIDE? I'm very interested.

Keil is good but I like to work on Linux. Keil seems like no plan to support on Linux and I don't want to bother to create a virtual machine over Linux.

One of workaround could be to chose a M0 based ST micro on STM32CubeIDE and then tweak the Link file manually.

A question to ST support, how difficult it is to support BlueNRG-1/2 on STM32CubeIDE natively? Will ST do it?

Regards,