Library 07- DA Converter on STM32F4

Digital to Analog Converter has inverse function as ADC. It converts digital value in microcontroller to analog value.

Library

Features

  • Output analog value from STM32F4x

Dependencies

  • CMSIS
    • STM32F4xx
    • STM32F4xx GPIO
    • STM32F4xx DAC
  • TM
    • TM GPIO
    • defines.h

STM32F4 has 1 DAC with 2 channels output. Table below shows pins for DAC.

DAC pins
DAC Channel ALIAS Pin APB
DAC_Channel_0 TM_DAC1 PA4 1
DAC_Channel_1 TM_DAC2 PA5 1

Alias is used in my library for easier use in library.

Example

Project is available on Github Github, download library below.

tilz0R

Owner of this site. Application engineer, currently employed by STMicroelectronics. Exploring latest technologies and owner of different libraries posted on Github.

You may also like...