Tagged: digital

HAL Library 28- Digital to Analog converter for STM32Fxxx 1

HAL Library 28- Digital to Analog converter for STM32Fxxx

Here it is. After many email about this library, I’ve finally made it. This library works on STM32F0xx, STM32F4xx and STM32F7xx based devices, where DAC is supported. For example, STM32F401 and STM32F411 does not support DAC. Library Read more about new HAL libraries Features It does not use built-in HAL support for generating signals Output is based on user value Independent 2 DAC channel outputs with 12-bit resolution

All STM32 HAL libraries 106

All STM32 HAL libraries

In this section, I will write all libraries based on HAL drivers from ST. If you see this first time, make sure you read this post first about how structure of my libs looks like! License All my softwares are published under MIT license. This means that you are allow to modify, share and use my source and other stuff in personal or commercial use. If you modify source code, it has to stay under GNU GPL v3 license too. I...

Simple ADC characteristic 111

Library 06- AD Converter on STM32F4

In this tutorial I will talk about ADC (Analog to Digital Converter). AD converts analog voltage to digital number, that can be used in microcontrollers. STM32F4xx MCUs have up to 3 ADCs of which every has 19 channels. 16 external channels, connected to IO pins 3 internal channels Vbat Voltage on battery pin for RTC Temp sensor unusable for measure temp,only for measure difference in temperature because it can fail up to 45°C Vref Voltage reference for ADC Below is table...