Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

MSP432 and high speed interrupts

$
0
0

Greetings all!

 

I'm trying to make a 10MHz oscillator that is phase-coherent with a GPS PPS signal from a GPS receiver that I have.  I'm using the MSP432 launchpad to do this, but I'm not sure it has the speed to act as a 10MHz frequency counter.

 

The general setup is simple:   

 

GPS PPS---------------

                                 |

-->VCO --> MSP432 launchpad --> DAC --

|                                                                 |

-----------------------------------------------------

 

Every 1 PPS, the MSP432 will count the number of pulses it receives from the VCO.  If the pulses are more or less than 10,000,000, then adjust the VCO input voltage via the DAC.

 

 

1. I have two interrupts - one that triggers on the rising edge of the PPS pulse (so this interrupt will happen once a second), and a second that triggers on every rising edge of the VCO output (so this will trigger ~10,000,000 a second).  I think I'm allowed to use two separate interrupts at the same time - how can I set the PPS interrupt as a higher priority over the VCO interrupt?

 

Thank you for any help you can provide!

-Rick


Viewing all articles
Browse latest Browse all 2077

Trending Articles