X-CUBE-CLKTRIM

Active

HSE trimming for RF applications using STM32 Wireless Series software expansion for STM32Cube

Get Software Download databrief
Overview
Sample & Buy
Solutions
Documentation
Tools & Software
Quality & Reliability
eDesignSuite
Partner products
Sales Briefcase

Product overview

Description

The X-CUBE-CLKTRIM Expansion Package illustrates the trimming of an HSE crystal oscillator to reach the high-accuracy frequency required by RF applications. The STM32WB Series microcontrollers support low-power RF standards such as Bluetooth® Low Energy (±50 ppm minimum HSE clock accuracy) and IEEE 802.15.4 (±40 ppm minimum HSE clock accuracy).
The STM32WL Series microcontrollers support sub-GHz RF standards such as LoRaWAN® and other low-power wide area networks (LPWAN). For these standards, the highest the HSE clock accuracy, the best the RF performance.
The frequencies of STM32 Wireless MCUs HSE oscillators can be tuned by means of values saved in dedicated registers. This features saves the extra cost of additional external capacitors and enables the compensation for frequency variations due to production, crystal, and PCB design.
The X-CUBE-CLKTRIM Expansion Package and associated application note (AN5042, AN5515) propose three different trimming procedures (manual, automatic, and with STM32CubeMonitor-RF (STM32CubeMonRF)) for the once-for-all storage of the right trimming parameters in OTP bytes. Each proposes two configurations: the trimming procedure itself and an implementation example of oscillator clock initialization in applications (loading of the trimming parameters in the according registers).
The HSE trimming manual procedure requires the user to use buttons to trim the RF clock frequency, which is output on a pin and can be monitored with a precision frequency meter. The HSE trimming automatic procedure consists in providing a precision clock reference to the STM32 so that it can trim its RF clock frequency (HSE) automatically. The HSE trimming procedure with STM32CubeMonitor-RF is similar to the manual one but uses STM32CubeMonitor-RF scripts instead of buttons.
For HSE trimming, it is not mandatory to trim each board in a production chain. A procedure is given for this purpose in the Precise HSE frequency trimming using STM32 wireless MCUs application note (AN5042).
X-CUBE-CLKTRIM firmware is built on the HAL drivers and runs on the Nucleo boards of the STM32 Wireless MCUs.
  • All features

    • STM32 Wireless MCUs high-speed external (HSE) crystal oscillator trimming allowing best RF performance for Bluetooth® Low Energy, IEEE 802.15.4, LoRaWAN® and LPWAN wireless applications
    • Trimming parameters can be stored in user OTP Flash area
    • Trimming in production procedure suggestion

Get Software

You might also like...

Recommended for you

All tools & software

    • Part number
      Status
      Description
      Type
      Supplier

      STM32CubeWB

      Active

      STM32Cube MCU Package for STM32WB series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, BLE, Thread and Zigbee stacks - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeWB

      Description:

      STM32Cube MCU Package for STM32WB series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, BLE, Thread and Zigbee stacks - and examples running on ST boards)

      STM32CubeWL

      Active

      STM32Cube MCU Package for STM32WL series (HAL, Low-Layer APIs and CMSIS, File system, RTOS, KMS, Secure Engine, Sub-GHz Phy, LoRaWAN and Sigfox stacks - and examples running on ST boards)

      STM32Cube MCU & MPU Packages ST
      STM32CubeWL

      Description:

      STM32Cube MCU Package for STM32WL series (HAL, Low-Layer APIs and CMSIS, File system, RTOS, KMS, Secure Engine, Sub-GHz Phy, LoRaWAN and Sigfox stacks - and examples running on ST boards)
    • Part number
      Status
      Description
      Type
      Supplier

      NUCLEO-WL55JC

      Active

      STM32 Nucleo-64 development board with STM32WL55JCI MCU, SMPS, supports Arduino and morpho connectivity

      STM32 Nucleo Boards ST
      NUCLEO-WL55JC

      Description:

      STM32 Nucleo-64 development board with STM32WL55JCI MCU, SMPS, supports Arduino and morpho connectivity

      P-NUCLEO-WB55

      Active

      Bluetooth 5 and 802.15.4 Nucleo Pack including USB dongle and Nucleo-64 with STM32WB55 MCUs, supports Arduino Uno V3 and ST morpho connectivity

      STM32 Nucleo expansion boards ST
      P-NUCLEO-WB55

      Description:

      Bluetooth 5 and 802.15.4 Nucleo Pack including USB dongle and Nucleo-64 with STM32WB55 MCUs, supports Arduino Uno V3 and ST morpho connectivity