MSP 432 MCUs Training Part 6 Analog Peripherals

  • Slides: 10
Download presentation
MSP 432™ MCUs Training Part 6: Analog Peripherals ADC 14 COMP_E REF 1

MSP 432™ MCUs Training Part 6: Analog Peripherals ADC 14 COMP_E REF 1

+ ADC 14 | Overview • 14 -bit Accuracy – INL <= +/- 2

+ ADC 14 | Overview • 14 -bit Accuracy – INL <= +/- 2 LSB; – DNL <= +/- 1 LSB – ENOB 13 -bit • 32 -input channels • Single-ended & differential Inputs A 1 A 2 A 3 – High interrupt – Low interrupt – In [Between] interrupt A 4 BATT TEMP • Separate internal channels for AVcc and Temp. Sensor • Ultra Low current consumption – Single ended 210 u. A @ 1. 8 V, 1 Msps – Differential 260 u. A @ 1. 8 V, 1 Msps M u l t i p l e x e r Sample / Hold • 2 Window comparators REF Voltage Select I/ P A/D Converter Clock MOD ADC 14 Memory Registers

ADC 14 | New Features = New Feature = Enhanced Feature Internal Channel Mapping

ADC 14 | New Features = New Feature = Enhanced Feature Internal Channel Mapping external internal 0 1 Reference 32 -input channels internal 0 1 Differential Measurement 14 -bit ADC Core . . . Enhanced ADC Memory Enhanced Clock 14 -bit Window Comparator Interrupt 3

ADC 14 | Window Comparator Internal • Configurable input threshold levels Channel Mapping •

ADC 14 | Window Comparator Internal • Configurable input threshold levels Channel Mapping • Conversion results automatically ADC 14 HI compared against the thresholds Reference threshold external internal 0 1 32 -input channels • Hi, Lo, and In interrupts indicate which range the result falls in external Differentia 14 -bit ADC 0 internal ADC 14 LO 1 Measurement • Same thresholdsl shared among all Core threshold channels external . . . • Useful for low power because device can stay in sleep mode until result falls in window Enhanced ADC Memory = New Feature = Enhanced Set ADC 14 HIIFG Feature Set ADC 14 INIFG Enhanced Clock Set ADC 14 LOIFG 14 -bit Window Comparato r Interrupt 4

ADC 14 | Window Comparator Example Set ADC 14 HIIFG ADC 14 HI threshold

ADC 14 | Window Comparator Example Set ADC 14 HIIFG ADC 14 HI threshold Set ADC 14 INIFG ADC 14 LO threshold Set ADC 14 LOIFG 5

ADC 14 | Differential Measurement • Internal Channel Combine Mapping input channels to create

ADC 14 | Differential Measurement • Internal Channel Combine Mapping input channels to create differential input = New Feature = Enhanced channels Feature • ADC will measure the difference between two channels and Reference this value in the ADC 14 MEMx register external internal VREF+ external internal 0 1 A 1 0 1 . . . A 2 32 -input channels external 0 store internal 1 Differential l Measurement 14 -bit ADC Core A 1 voltage ∆ Difference A 2 voltage Enhanced ADC Memory Enhanced Clock ADC 14 MEMx Register 14 -bit Window Comparator Interrupt VREF 6

ADC 14 | Internal Channel Mapping = New Feature = Enhanced Feature Internal Channel

ADC 14 | Internal Channel Mapping = New Feature = Enhanced Feature Internal Channel Mapping external internal 0 1 0 1 32 -input channels external internal • A 26 -31 can map Reference to either an External Input or Internal ADC input Differentia 14 -bit ADC Enhanced • Internal inputs include the temperature l Measurement Core Clock sensor and battery monitor . . . • See the device datasheet to see what internal inputs are available on what 14 -bit Enhanced Window channels – varies by device ADC Memory Comparato r Interrupt 7

ADC 14 | Other enhancements Internal Channel Mapping 0 1 external internal 0 1

ADC 14 | Other enhancements Internal Channel Mapping 0 1 external internal 0 1 32 -input channels external internal Some ADC 12 implementations = New Feature = Enhanced have. Feature up to 16 channels More Reference clock sources, including: MODOSC = 25 MHz SYSOSC = 5 MHz Differential Measurement 14 -bit ADC Core Enhanced Clock 32 ADC 14 MEMx registers . . . Enhanced ADC Memory 14 -bit Window Comparator Interrupt 8

Comp_E | Overview • Interrupt driven for low power • Uses the REF module

Comp_E | Overview • Interrupt driven for low power • Uses the REF module like ADC 14 • Up to 15 external input channels • Ultra-low-power comparator mode • Software selectable RC filter • Selectable reference voltage generator • Voltage Hysteresis generator • Output internally connected to Timer A capture input (for event capture & capacitive touch implementations) 9

REF | Reference Module • Generates voltage references for analog modules – 1. 2

REF | Reference Module • Generates voltage references for analog modules – 1. 2 V, 1. 45 V, 2. 5 V • Available on output pin • Scale-able power options – Static mode for high precision outputs – Sampled mode for low-power operations • Two operation modes: – Continuous Mode: reference output continuously on – Burst Mode: reference output on only during ADC conversions • Two buffers to throttle power consumption: – Large buffer for continuous mode or output VREF to pin – Small buffer for burst mode • Provides temp sensor channel for ADC – Option to disable to minimize power 10