6836 views|6 replies

39

Posts

0

Resources
The OP
 

stm32f103ADC sampling time calculation problem [Copy link]

The time to sample a channel using software trigger = (sampling time + 12.5) * T. If three channels are sampled sequentially, how should the sampling time of the first, second and third channels be calculated? Supplementary content (2018-4-20 14:25): That is, for example, when three channels are sampled and converted continuously, what is the update time of each conversion value?
This post is from stm32/stm8

Latest reply

ADC_RegularChannelConfig(ADC1, DMAADC_CHANNEL, 1, ADCSAMPLETIME); This is the library function that sets   Details Published on 2018-3-4 20:31
 

4005

Posts

0

Resources
2
 
It is the sum of three times. Soft trigger is generally used in fixed periodic sampling situations.
This post is from stm32/stm8

赞赏

1

查看全部赞赏

 
 

39

Posts

0

Resources
3
 
huo_hu posted on 2018-3-4 17:14 It is the sum of the three times. Soft trigger is generally used in fixed periodic sampling.
That is, when sampling multiple channels, for example, three channels, is the sampling time of each channel the sum of the three times?
This post is from stm32/stm8

Comments

No, the conversion time of each channel is the same as the formula above.  Details Published on 2018-3-4 20:29
 
 

4005

Posts

0

Resources
4
 
syn222 posted on 2018-3-4 18:24 That is, when there are multiple channels sampling, for example, three channels, is the sampling time of each channel the sum of the three times?
No, the conversion time of each channel is the same as the formula above
This post is from stm32/stm8

Comments

Thanks for the answer, will AD sampling and multi-channel sequential conversion affect the sampling time of other channels? In other words, for the same channel (such as channel 1), under the same AD frequency and sampling time settings, is the sampling conversion time the same for channel 1 alone and channel 1, channel 2 and channel 3 multi-channel sequential conversion?  Details Published on 2018-3-4 21:03
 
 
 

4005

Posts

0

Resources
5
 
ADC_RegularChannelConfig(ADC1, DMAADC_CHANNEL, 1, ADCSAMPLETIME); This is the library function that sets
This post is from stm32/stm8
 
 
 

39

Posts

0

Resources
6
 
huo_hu posted on 2018-3-4 20:29 No, the conversion time of each channel is the same as the formula above
Thank you for the answer. Will the AD sampling and multi-channel sequential conversion affect the sampling time of other channels? In other words, for the same channel (such as channel 1), under the same AD frequency and sampling time settings, is the sampling conversion time the same for channel 1 sampling conversion alone compared with channel 1 and channel 2 and channel 3 multi-channel sequential conversion?
This post is from stm32/stm8
 
 
 

39

Posts

0

Resources
7
 
huo_hu posted on 2018-3-4 20:29 No, the conversion time of each channel is the same as the formula above
Thank you for the answer. Will the AD sampling and multi-channel sequential conversion affect the sampling time of other channels? In other words, for the same channel (such as channel 1), under the same AD frequency and sampling time settings, is the sampling conversion time the same for channel 1 sampling conversion alone compared with channel 1 and channel 2 and channel 3 multi-channel sequential conversion?
This post is from stm32/stm8
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list