cancel
Showing results for 
Search instead for 
Did you mean: 

HRTIM measurement for continuous frequency measurement <1ns precision

MVala.2
Associate

Hello there,

I need to measure precisely frequency of square waveform in better than <1 ns resolution. 

I found that STM32G4x4 have HRTIM with resolution of 184 ps. 

Can it be used for continuous measurement of frequency ranging 0.5-5 MHz with that high precision?

I would like to use NUCLEO-G474RE for evaluation.

Possibly what other MCU can I use for 1 ns continuous resolution measurement?

Thanks a lot.

Michael 

1 REPLY 1
Igor Cesko
ST Employee

Hi MVala.2 (Community Member),

The HRTIM can be used only as output (signal generation) with such precision. HRTIM is designed to generate signals for motor control or power supplies (digital SMPS) to control very fine the PWM duty cycle at high frequencies.

To measure 5MHz signal frequency with 1ns precision: you must use measurement over several 5MHz periods (classic method of frequency/period measurement). To reach 1ns precision it will take more time. And of course - there is need to have very stable and precise reference clock.

Regards

Igor