简体   繁体   English

多通道转换中stm32f103中的adc转换顺序

[英]adc order of conversion in stm32f103 in multichannel conversion

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.我正在这个 adc 的 keil 编译器中的 stm32f103 控制器中处理 adc,我需要执行最多 6 个通道的连续转换......我需要在 adc1_sqrx 中编程转换顺序。 but I didn't found any hint how to program this order of conversion..但我没有找到任何提示如何编程这个转换顺序..

here in adc1_sqr1 register we need to mention number of conversions required if you need only one conversion 0000--- 1 conversion在 adc1_sqr1 寄存器中,如果您只需要一次转换,我们需要提及所需的转换次数 0000--- 1 次转换

0001--- 2 conversion 0001--- 2 转换

0101--- 6 conversions i need 0101---我需要6次转换

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在 adc1_sqr3 中足以满足我在第一次转换中需要的所有 6 次转换,我将在第二次转换中提到通道号 10 -----通道号为 11

in 3rd conversion -----channel number as 12第三次转换-----通道数为12

in 6 th conversion ----channel number as 15在第 6 次转换中----通道数为 15

this is nothing but the order of conversion for channel这只不过是通道的转换顺序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM