Part Number: MSP430FR5994
Hi,teams
I want to use msp430fr5994 launchpad to Implement multiple sampling.
Is there any reference code example?
Thank you
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,teams
I want to use msp430fr5994 launchpad to Implement multiple sampling.
Is there any reference code example?
Thank you
I found multiple sampling routines for other chips in the msp430 series.Make changes based on this.
Now, I use P1.2(A2) and P3.3(A15) to collect the voltage across the resistor respectively .The conversion results(P1.2 PIN) are stored in ADC12MEM0, and ADC12MEM1(P3.3 PIN) .
But the data of ADC12MEM1 has remained unchanged.I do not know why.Code show as below.Anyone can help me?










![]()
![]()
![]()

result:
memory1 unchanged

Hi,
For your API call setupSamplingTimer(), was there a reason you disabled multiple samples?


If you look at this code for the MSP430F5xx family, you will find code that is very similar to what you need, just changing the ports and where the ADC results are stored.
This driverlib guide with API calls for the MSP430F5xx family may also be helpful as the code above is register level.
Let me know if you have any further questions,
Amruta
Thanks for your quick response.Acutally,I have found this problem yesterday.But your explanation gave me a better understanding.When i changes the code,the result is right.Thank you again.
**Attention** This is a public forum