개요. STM32L4x6 ADC |
|
3개의 ADC : ADC1, ADC2, ADC3
ADC 타입, 해상도 : SAR, 12bit.
ADC 채널 : 20 multiplexed channels.
특징들.
• High-performance features
– Up to 3 ADCs, out of which two of them can operate in dual mode:
ADC1 is connected to 16 external channels + 3 internal channels
ADC2 is connected to 16 external channels + 2 internal channels
ADC3 is connected to 12 external channels + 4 internal channels
– 12, 10, 8 or 6-bit configurable resolution
– ADC conversion time:
Fast channels: 0.188 µs for 12-bit resolution (5.33 Ms/s)
Slow channels: 0.238 µs for 12-bit resolution (4.21 Ms/s)
– ADC conversion time is independent from the AHB bus clock frequency
– Faster conversion time by lowering resolution: 0.16 µs for 10-bit resolution
– Manage single-ended or differential inputs
– AHB slave bus interface to allow fast data handling
– Self-calibration
– Channel-wise programmable sampling time
– Up to four injected channels (analog inputs assignment to regular or injected channels is fully configurable)
– Hardware assistant to prepare the context of the injected channels to allow fast context switching
– Data alignment with in-built data coherency
– Data can be managed by GP-DMA for regular channel conversions
– Data can be routed to DFSDM for post processing
– 4 dedicated data registers for the injected channels
• Oversampler
– 16-bit data register
– Oversampling ratio adjustable from 2 to 256x
– Programmable data shift up to 8-bit
• Low-power features
– Speed adaptive low-power mode to reduce ADC consumption when operating at low frequency
– Allows slow bus frequency application while keeping optimum ADC performance (0.188 µs conversion time for fast channels can be kept whatever the AHB bus clock frequency)
– Provides automatic control to avoid ADC overrun in low AHB bus clock frequency application (auto-delayed mode)
• Several external analog input channel per ADC
– Up to 5 fast channels from GPIO pads
– Up to 11 slow channels from GPIO pads
• In addition, there are several internal dedicated channels
– The internal reference voltage (VREFINT), connected to ADC1
– The internal temperature sensor (VSENSE), connected to ADC1 and ADC3
– The V BAT monitoring channel (VBAT/3), connected to ADC1 and ADC3
– DAC1 internal channels, connected to ADC2 and ADC3
• Start-of-conversion can be initiated:
– by software for both regular and injected conversions
– by hardware triggers with configurable polarity (internal timers events or GPIO input events) for both regular and injected conversions
• Conversion modes
– Each ADC can convert a single channel or can scan a sequence of channels
– Single mode converts selected inputs once per trigger
– Continuous mode converts selected inputs continuously
– Discontinuous mode • Dual ADC mode for ADC1 and 2
• Interrupt generation at ADC ready, the end of sampling, the end of conversion (regular or injected), end of sequence conversion (regular or injected), analog watchdog 1, 2 or 3 or overrun events
• 3 analog watchdogs per ADC
• ADC input range: VREF– ≤ VIN ≤ VREF+
본 글의 정보소스 : RM0351 STM32L4x6 Reference Manual page 504~ |
|
|
ADC 기능블럭. |
|
|
|
|
Channel 입력단 상세
ADC 실전 활용예
상위 정리
첫 등록 : 2018.12.08
최종 수정 :
단축 주소 : https://igotit.tistory.com/1961
'임베디드.일렉트로닉스 > STM32' 카테고리의 다른 글
STM32L4x6. USART (0) | 2018.12.10 |
---|---|
STM32. L4x6. DAC (Digital to Analog Converter) (0) | 2018.12.08 |
SW4STM32. 사용자 정의 소스 경로 추가방법. (0) | 2018.11.28 |
STM32 개발시 SW4STM32 / KEIL MDK-ARM 멀티 개발 환경 (0) | 2018.11.27 |
STM32.L4x6시리즈 내장 플래시 (0) | 2018.11.12 |
댓글