2022-01-11 11:23 PM
Hi all,
I'm new to STM32G4 development. So I'm hoping to get some help to start.
I need to measure pulse duration in 1 nanoseconds resolution or less. I then need to transfer the measured value to a another machines.
I have been looking at STM32G4 series MCU with the high resolution timer(ps). Can anyone comment if the Stm32 Hrtim would be able to do this measurement?
If yes, can you give me a starting point where to start in regards to measuring the pulses?
If no, which another mcu that would be suitable for my use?
Thanks in advance.
Solved! Go to Solution.
2022-01-11 11:38 PM
I have used the G4, but not the HRTIM.
The reference manual (RM0440 Rev 6, page 854):
The high-resolution is available for edge positioning, PWM period adjustment and externally
triggered pulse duration.
The high-resolution is not available for the following features
• Timer counter read and write accesses
• Capture unit
So this seems to be rather an output feature for pulse generation, not measurement.
But I might be wrong...
2022-01-11 11:38 PM
I have used the G4, but not the HRTIM.
The reference manual (RM0440 Rev 6, page 854):
The high-resolution is available for edge positioning, PWM period adjustment and externally
triggered pulse duration.
The high-resolution is not available for the following features
• Timer counter read and write accesses
• Capture unit
So this seems to be rather an output feature for pulse generation, not measurement.
But I might be wrong...
2022-01-11 11:54 PM
One reciprocal frequency meter project use STM32H730 with external ICs for this purpose: AS6501
link: 8 – 11 digits reciprocal frequency counter 0.1 Hz – 150 MHz - Page 1 (eevblog.com)
Also there is TDC7200 IC
2022-01-12 12:19 AM
Oh, I was wrong. Thanks for your warning.