Hi all,
I'm working with the MSP430FG4618 which comes with the Experimenter's Board. My application needs a specific sampling scheme which consists in taking two samples, one at time t0 (which sets sampling rate to 1/t0) and a second sample after a delay td. In this way, the samples I must get should be taken in the following sequence:
Sample 1 @ t0
Sample 2 @ t0 +td
Sample 3 @ 2t0
Sample 4 @ 2t0 +td
Sample 5 @ 3t0
Sample 6 @ 3t0 +td
...and so on until I get a total of 50 samples. Those 50 samples will be acquired just from time to time (about each 15 minutes), so the CPU will be sleeping most of the time.
By reading the user guide I've learned that ADC12 can be triggered with TA1 to perform repetitive samples, but so far I can't make my mind clear about how to use TimerA to perform the timing I need. Any ideas or suggestions will be very welcome.
Kind regards,
Ernesto.