Doable. There is a nice capability in the MSP430 to tweak it's internal clock around over quite a range. I've used this (and you need to do some sit-down time to work though the details, well) to synchronize the internal cpu clock rate to an external 60Hz zero-cross detector. It would lock quite well. The CPU rate might be operating at quite a high clock, by comparison -- say 6 to 8 MHz, but if you do this right that DCO will be very closely locked to your 24Hz signal and will track it extremely closely. You can anticipate when and calculate a phase value that is used to make small adjustments to the DCO so that it continues to predict extremely well and thus provides you with a very easily dividable high frequency clock source that is tied directly so that you know exactly how many counts there are between
24Hz events and can set your timers for precise relative phases. Which means an easy shot at generating 60Hz tied tightly to the 24Hz. They are cheap and small and do not need an external crystal for this, either. And will power off of almost nothing.If you want, I'd be happy to program one up for you. I've already paid the price of learning how to make all this work pretty well and would just steal that code and make some mods. I'd probably take on of the small FET boards (they cost me about $3.50 each and include an LED, a processor,
2-wire programming interface, and some plated through holes for wiring to them, and you could use that as a test fixture to try out the idea.Your call.
Jon