I am working on adc in stm32f103 controller in keil compiler in this adc, I need perform continuos conversion up to 6 channels...I need to program the order of conversion in adc1_sqrx. but I didn't found any hint how to program this order of conversion..
Asked
Active
Viewed 440 times
2
-
The Stm data sheet doesn't explain how to use the anolog to digital converter pins? – marshal craft Feb 04 '17 at 04:50
-
Have you seen page 75 of St data sheet. – marshal craft Feb 04 '17 at 05:12
-
1thank you marshal i just found an answer while going through RM0008 Reference manual in st.com – Ganesh Kvvn Feb 04 '17 at 07:57
1 Answers
2
here in adc1_sqr1 register we need to mention number of conversions required if you need only one conversion 0000--- 1 conversion
0001--- 2 conversion
0101--- 6 conversions i need
in adc1_sqr3 sufficient for all 6 conversions that i required here in 1st conversion i will mention channel number 10 in 2nd conversion -----channel number as 11
in 3rd conversion -----channel number as 12
in 6 th conversion ----channel number as 15
this is nothing but the order of conversion for channel

Ganesh Kvvn
- 41
- 1
- 5