HSE trimming for RF applications using STM32WB Series software expansion for STM32Cube

The X-CUBE-CLKTRIM expansion software illustrates the trimming of an HSE crystal oscillator in order to reach the high-accuracy frequency required by RF applications.

The STM32WB Series microcontrollers support low-power RF standards such as Bluetooth Low Energy (BLE) and IEEE 802.15.4. BLE requires a minimum ±20 ppm-accurate RF clock while IEEE 802.15.4 accuracy requirement is ±40 ppm.

STM32WB Series microcontrollers offer an efficient architecture with internal load capacitances that allow the fine tuning of the crystal frequency (32 MHz), saving the extra cost of additional external capacitances. Internal capacitance values are register controlled. They depend on various factors such as process variation, crystal, and PCB design and must therefore be set for each device individually.

The X-CUBE-CLKTRIM software expansion for STM32CubeWB proposes a trimming procedure that allows the once-for-all storage of the right capacitance values in OTP bytes.

X-CUBE-CLKTRIM is composed of a single project with two configurations. The first is the trimming procedure itself. The second is an implementation example of HSE clock initialization in RF applications.

The firmware is built on the HAL drivers for the STM32WB Series.

X-CUBE-CLKTRIM runs on Nucleo boards for the STM32WB Series.

The trimming procedure consists in measuring the RF clock with a precision frequency meter (better than 0.1 ppm). The RF clock frequency value is controlled through the user push-buttons so that the best clock accuracy can be calibrated step by step.

主な特徴

  • High-speed external (HSE) crystal oscillator trimming
  • Allows best RF performance for BLE and IEEE 802.15.4
  • Trimming parameters stored in user OTP Flash area

リソース

技術文書

製品スペック
Description バージョン サイズ
DB3399 DB3399: HSE trimming for RF applications using STM32WB Series software expansion for STM32Cube 1.0 119.69 KB
ユーザマニュアル
Description バージョン サイズ
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283.23 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485.46 KB

プレゼンテーション & トレーニング資料

プレゼンテーション
Description バージョン サイズ
STM32 and STM8 embedded software solutions 7.0 3.12 MB

Publications and Collaterals

パンフレット
Description バージョン サイズ
STM32 Open Development Environment Brochure 16.10 1.09 MB
Sensor & motion algorithm software pack for STM32Cube 1.0 675.19 KB

法務

ライセンス契約
Description バージョン サイズ
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 5.2 87.58 KB

ツール & ソフトウェア

ソフトウェア製品
MCU & MPU Embedded Software
評価ツール
Product Evaluation Tools

ソフトウェア入手

製品型番 General Description Software Version Supplier Marketing Status GitHub link ダウンロード
X-CUBE-CLKTRIM HSE trimming for RF applications using STM32WB Series software expansion for STM32Cube 1.0.0 ST Active -

 

サポート & コミュニティ


×