valerybriz 1 Posted July 5, 2013 Share Posted July 5, 2013 hey I'm a beginner on energia and I want to get the frequency of a signal but I don't know how to use interrupts and timers with launchpad or... other way to get it thanks Quote Link to post Share on other sites
jazz 209 Posted July 5, 2013 Share Posted July 5, 2013 http://forum.43oh.com/topic/3317-msp430f550x-based-frequency-meter Quote Link to post Share on other sites
valerybriz 1 Posted July 5, 2013 Author Share Posted July 5, 2013 hey thanks for the link.... I don't understand assembler I'm a beginner sorry... could some body traduce it to energia language ? please thanks Quote Link to post Share on other sites
igor 163 Posted July 6, 2013 Share Posted July 6, 2013 If you look down the thread the 6th post lists the code in C. Most of the things that look like variables in the code are really references to registers that control various devices. (TA0, P1, etc.) Quote Link to post Share on other sites
oPossum 1,083 Posted July 6, 2013 Share Posted July 6, 2013 Energia uses the timer/counter units for PWM and millisecond/microsecond timing so they are not readily available for other uses. Here is some simple C code that uses a timer/counter unit with external clock to measure frequency: Frequency Counter using Launchpad & Nokia 5110 LCDhttp://forum.43oh.com/topic/1913-frequency-counter-using-launchpad-nokia-5110-lcd/ Quote Link to post Share on other sites
valerybriz 1 Posted July 22, 2013 Author Share Posted July 22, 2013 thank you !! I'm working and understanding a lot more Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.