Hi
I am using MSP430FR2155 in my project. in this , timer_b interrupt occur after every 625 micro seconds. whenever timer_b interrupt occur i want to take sample of A0 to A6 ADC channels. please help me with the code.
Thanks in advance.
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.
Hi
I am using MSP430FR2155 in my project. in this , timer_b interrupt occur after every 625 micro seconds. whenever timer_b interrupt occur i want to take sample of A0 to A6 ADC channels. please help me with the code.
Thanks in advance.
Hi Deepak,
You can use the ADC12 in Sequence-of-Channels Mode, which is described in section 21.2.7.2 of MSP430FR4xx and MSP430FR2xx Family User's Guide.
In addition, you can refer to the code example msp430fr235x_adc12_10.c which should be very helpful.
By the way, you may also see msp430fr235x_tb0_02.c as a reference of timer operation.
**Attention** This is a public forum