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.

MSP432 ADC triggered by Timer_A output

Running the Single-Channel-Single-Conversion mode by triggering with the ADC14SC signal was no problem. Now i try to change the code, that the ADC-trigger will be generated by a timer. I've already proofed the 'Out'-signal of Timer_A1 (configured with mode 7 and CCR1-register) at the corresponding pin (P7.7) with the oscilloscope. And I've configured the ADC Trigger source with ADC14SHS_3, like it is declared in the DataSheet (p. 92). But the ADC will not work...

Do I have to map the port in a particular way? Isn't the internal connection to the ADC_14 configured by default ?

  • Hi Benjamin,

    You might want to try to compare your register settings to those when you run this timer_A1 triggered ADC example, to see if that helps you to find what is missing in the configuration: dev.ti.com/.../ I know that this example uses driverlib and it doesn't look like you are using that coding style, but if you run the code and view the timer and adc settings in the register view in your IDE, you may be able to find the difference causing your problem.

    Regards,
    Katie
  • I've solved the problem. The configuration was correct, except the rookies mistake with a false logical operation...

    (See the line where i set the trigger source)

  • I think I got a message that you found your issue (line 141 logical error/typo) - don't know why the post isn't showing up. Anyway, I'm glad that you figured out your issue - everyone does that mistake from time to time (myself included!) :-)
    -Katie

**Attention** This is a public forum