ADC Low Layer use cases

Document created by HAMDI Mustapha on Apr 1, 2017Last modified by HAMDI Mustapha on Apr 3, 2017
Version 2Show Document
  • View in full screen mode

This tutorial will look at writing a simple Low Level program that utilizes the interrupt feature of the Analog-to-Digital Converter (adc) of the stm32f407vg  microcontroller.  An ADC to dac Loopback case example was presented.



In this video we present a Lab example in which  we use the ADc of stm32f407vg  microcontroller to convert an analog voltage presented on channel ADC1 to its binary value and use  that value in the Duty PWM1 ( CCR1 <= ARR ) of the Timer 3. The input voltage to ADC1 is varied using the variable resistor.