STMicroelectronics AN2046 STR71x Clock Configurations Application Note

This application note describes how to use the “STR71x_Calculation.xls” file which is intended as a tool to assist in the configuration of the STR71x clocks and baud rates. The STR71x microcontroller contains a variety of peripherals running at different frequencies. Some peripherals have a prescaler to adjust their working frequency, but some others don't and need a specific frequency to run correctly. The file “STR71x_Calculation.xls“ calculates all the working frequencies and shows the re- lated register values for each peripheral. Note: This application note doesn’t substitute the fact that it is mandatory to read the refer- ence manual before the use of this tool.


STMicroelectronics AN2046 STR71x Clock Configurations Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
19
File format
PDF
File size
439 KB
Published
07 August, 2012
Updated
30 September, 2023
Model
STR71x
MD5 checksum
F7A6E42346E4B3B412765E989F843B15

About this manual

This document presents an application note titled 'STR71x Clock Configurations Easy Setup'. It describes a tool file named 'STR71x_Calculation.xls' intended to assist users in configuring the clocks and baud rates for the STR71x microcontroller family.

The microcontroller contains various peripherals running at different frequencies, some requiring specific frequencies or prescalers. The provided tool calculates working frequencies and displays the related register values for each peripheral, including the Clock Control Unit (CCU), Clock Distribution Unit (CDU), UART, I2C, BSPI, and Watchdog (WDG).

What's inside

  • Introduction
  • PRCCU (Clock Prescaler)
  • CCU Calculation
  • CDU Calculation
  • UART Configuration
  • I2C Configuration
  • BSPI Configuration
  • WDG Configuration

Frequently asked questions

What is the maximum value allowed for the UART BR register?

The maximum value for the UART BR register is 65534.

What is the maximum value allowed for the Watchdog Count Preload Register?

The maximum value for the Watchdog Count Preload Register is 65535.

What is the input frequency for the Watchdog counter?

The input frequency for the Watchdog counter is 0.5 MHz.

Download PDF (439 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →