I am new to the MSP series of processors, but not new to programming or embedded systems.
Had a few queries about the uP that is sent with the launchpad kit.
I need to build a circuit which detects square wave pulses of 300 uS width at a max frequency of about 200 Hz. Then reverse calculate the number of pulses / second from the interval between 2 pulses.
count = 1000/interval is how I will calculate number of pulses per second. If the count is say above 8500 light up an LED, if it is above 9000 blink that LED.
The approach I am planning to take is to detect pulses using an interrupt and then run a function which does the math and compares in an if statement to light up or blink the LED.
The question I have is that whether those uPs are fast enough to do this in almost realtime, max acceptable delay between reaching 8500 pulses and LED going on is about 50 ms.
Is there a more optimized approach or a uP from the same series that I can program using the launchpad board that would work better?