I summarize the kit for starting to test the STM32 with BTLE from STM
- NUCLEO-F401RE (EvaBoard based on the STM32F401RE)
- X-NUCLEO-IDB05A1 (EvaBoard per modulo il BTLE v.4.1 – based on the module SPBTLE-RF)
To develop on STM32 recommend the following tools:
- AC6 (SW4STM32) – Free environment based on Eclipse + GCC + GDB which is maintained by STM and then is good only for the STM32 family
- Atollic – Free is always based on Eclipse + GCC + GDB. It supports all cortex Mx of all producers of silicon and the paid version costs only € 800
- KEIL – It ‘s Free for STM32L0xx and STM32F0xx
See this link for find the tools above.
The BTLE examples are ready to use for AC6, KEIL and IAR.
To develop on the BTLE besides watching the BTLE relative docs, I suggest to download from the page: X-CORE-IDB05A1
the SW package called X-CUBE-BLE1 that is at the bottom of the page.
The direct link regarding the X-CUBE-BLE1 is this.
In the X-CUBE-BLE1 package there are numerous examples and are ready to run with the following STM32 boards:
NUCLEO-L052R8 – STM32L053R8, Cortex M0+ (Ultra Low Power technology)
NUCLEO-L476RG – STM32L476RG, Cortex M4 (Ultra Low Power technology )
NUCLEO-F401RE – STM32F401RE, Cortex M4 (Dynamic Efficiency)
The example from which recommend to start is the SensorDemo using the NUCLEO-kit + X-CORE-IDB05A1 allows you to rotate the STM logo on the phone.
The APP for Android and iOS is the BlueNRG that you download from here:
On the iTunes (for APPLE) use the BlueNRG that is here.
On the GooglePlay (for ANDROID) use the BlueNRG that is here.
STM may grant, upon request, also the source of BlueNRG to use to develop the smart-phone application.
For see the explanations concerning the way to use the SensorDemo sw, see here.
To see a video concerning the result see here or below.
For get familiar with the controls of BTLE I suggest to use the graphical GUI that STM has released and which is called: STSW-BLUENRG-DK
For the explanation how how to use it see here.
The source of the BLUE-NRG APP are here (for iOS and ANDROID).
I recommend reading these notes: