Part Number: MSP430FR5994
Hi,
I have a problem to put the output of TIMER_A to the same frequency as external INCLK, as it should feed ADC sampling period. The clock is always divided to at least to number of two.
Thanks,
Alexey
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.
Part Number: MSP430FR5994
Hi,
I have a problem to put the output of TIMER_A to the same frequency as external INCLK, as it should feed ADC sampling period. The clock is always divided to at least to number of two.
Thanks,
Alexey
Ok, got it.
Unfortunately, there is no way to trigger the ADC12 directly from an external trigger (clock) input.
It is possible to use a GPIO pin with an interrupt to respond to the external trigger and in the the ISR handler you could set the ADC12SC (software controlled start conversion bit). Of course it will take a few processor instruction cycles to execute the jump and code to set the bit, but it will be deterministic (take same amount of time each time) and will cause an ADC measurement at the same rate as the input trigger, just slightly delayed.
Dennis Lehman said:It is possible to use a GPIO pin with an interrupt to respond to the external trigger and in the the ISR handler
**Attention** This is a public forum