UM1718

STM32CubeMX C code generation design choices and limitations

 

 

B.3.11 STM32WPAN BLE/Thread (STM32WB series only)

STM32WPAN BLE and Thread middleware are now supported in STM32CubeMX.

Figure 460. BLE and Thread middleware support in STM32CubeMX

They are exclusive in a given project and configuration with FreeRTOS is not yet supported.

UM1718 Rev 41

415/453

STM32CubeMX C code generation design choices and limitations

UM1718

 

 

Application projects generated with STM32CubeMX can be found in the project folder of the STM32CubeWB MCU package.

Figure 461. STM32CubeWB Package download

416/453

UM1718 Rev 41

UM1718

STM32CubeMX C code generation design choices and limitations

 

 

This package can be installed through STM32CubeMX following the standard procedure described in Section 3.4.3: Installing STM32 MCU packages.

Figure 462. STM32CubeWB BLE applications folder

 

BLE configuration

 

To enable BLE some peripherals (RTC, HSEM, RF) must be activated first.

 

Then, an application type must be selected, it can be one among Transparent mode, Server

 

profile, Router profile or Client profile.

 

Finally, the mode and other parameters relevant to this application type must be configured.

Note:

The BLE Transparent mode and all Thread applications require either the USART or the

 

LPUART peripheral to be configured as well.

UM1718 Rev 41

417/453

STM32CubeMX C code generation design choices and limitations

UM1718

 

 

 

 

Figure 463. BLE Server profile selection

 

 

 

 

Figure 464. BLE Client profile selection

418/453

UM1718 Rev 41

Соседние файлы в папке STM