This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Greetings all!
I'm using the MSP432 launchpad, along with a GPS module (witha 1PPS output) and a 10MHz VCXO oscillator to make a GPS-disciplined 10MHz oscillator.
I'm using the 1PPS GPS input as the interrupt source, and I would like to use another MSP432 pin to count the number of 10Mhz pulses between PPS pulses (ideally, the count should be 10,000,000 - if not, then I can use the voltage control pin on the 10MHz oscillator to fine-tune the frequency as needed). I would *think* that I need to use Timer32 and NOT a 16-bit timer, as I need 32 bits to hold the number 10,000,000.
My question is: on the MSP432, is there a method/sample code, showing how to use the input capture to count pulses - and how to start/stop counting pulses based on another external interrupt pin (the PPS pulse in my case)?
Sincerely,
Rick
**Attention** This is a public forum