Search results
In this article, we’ll be discussing the timer module operation in counter mode (STM32 Counter). How to configure a timer as a counter, and what are the possible configuration options. And we’ll do a couple of practical LABs, first of which is a basic digital counter and the second one is a frequency counter mini-project. Let’s get into ...
STM32 Input Capture Mode Frequency Counter In this LAB, our goal is to build a system that measures the digital signal’s frequency using the timer module in the input capture mode. The system will go through a couple of states I’ve chosen to name them (IDLE, DONE).
In this STM32 Blue Pill user guide, we will discuss how to configure timer module in input capture mode to measure the frequency of an input signal. We will program our STM32 Blue Pill in STM32 Cube IDE and build a frequency counter whereby one input capture channel will be enabled to capture an external signal on the rising edge.
Apr 6, 2021 · This method involves running a counter on the external frequency signal to detect the number of positive edges within a fixed amount of time. The frequency can be obtained by dividing the number of counts by the time.
Sep 22, 2023 · A frequency meter, also known as a frequency counter, is a device or instrument used to measure the frequency of an oscillating signal. Frequency meters can come in different forms, ranging from simple handheld devices to sophisticated laboratory equipment.
Aug 7, 2024 · CK_CNT is the counter clock frequency. For a desired period of 1 ms for example, and CK_CNT=1MHz, we can choose PSC=124 , this divides the clock by 125. Using the period formula, ARR=1000-1 =999 .
This frequency meter uses an inexpensive STM32 microcontroller and this time, thanks to his better perfomances of the MCU, the frequency range is from 0 to 30 MHz, and therefore it is ideal for use in HF radio devices.
Simple STM32 Frequency meter from 1Hz to 30 MHz-Arduino IDE. This frequency meter uses an inexpensive STM32 microcontroller, and the frequency range is from 0 to 30 MHz. Beginner Full instructions provided 1 hour 3,973.
Sep 22, 2023 · A frequency meter, also known as a frequency counter, is a device or instrument used to measure the frequency of an oscillating signal. Frequency meters can come in different forms, ranging from simple handheld devices to sophisticated laboratory equipment.
This STM32F103-based device uses its TIM2 timer to calculate the frequency of digital signal feed to its TIM2_ETR pin (aka. PA0). Measured frequency are sent through USB CDC and you can view it with terminal utilities such as screen, minicom or picocom.