cancel
Showing results for 
Search instead for 
Did you mean: 

Frequncy counter on STM32

a_niedworok2
Associate II
Posted on October 21, 2010 at 09:20

Frequncy counter on STM32

7 REPLIES 7
a_niedworok2
Associate II
Posted on May 17, 2011 at 14:12

Yes I want measure frequency/duty of an external signal (from two external sources).

I heard that I can do so by using the PWM input mode for a timer 1 or 2.

But I can not write this in the software.

Can You help me in this case...

Andrew

lowpowermcu
Associate II
Posted on May 17, 2011 at 14:12

Hi andrew,

Do you want to measure the frequency/duty of an external signal ?

I remembre that there is an example provided by ST that shows how to measure signal frequency.

Herzlich,

MCU Lüfter

lowpowermcu
Associate II
Posted on May 17, 2011 at 14:12

Hi andrew,

There is an example provided by ST that shows how to measure signal frequency.

Check it then tell me ...

MCI Lüfter,
arkarinimp
Associate
Posted on May 17, 2011 at 14:12

I can not find the example. Can you show me the example?

Is it in Application Note?

lowpowermcu
Associate II
Posted on May 17, 2011 at 14:12

So viel dank arkar 🙂

lowpowermcu
Associate II
Posted on May 17, 2011 at 14:12

Hi arkar,

You can download the ST library from the link below:

http://www.st.com/stonline/stappl/resourceSelector/app?page=resourceSelector&doctype=FIRMWARE&FamilyID=141

The name is ''ARM based 32-bit MCU STM32F1xx standard peripheral library''

The example is located in:

STM32F10x_StdPeriph_Lib_V3.4.0/Project/STM32F10x_StdPeriph_Examples/TIM/PWM_Input

Good luck,

Herzlich,

 

MCU Lüfter

arkarinimp
Associate
Posted on May 17, 2011 at 14:12

Vielen Dank.

Frohe Weihnachten und guten Rutsch ins Jahr 2011 🙂