Tagged: discovery

STMPE811 touch sensor on STM32F429-Discovery board 25

Library 10- STMPE811 Touch screen driver for STM32F429 Discovery board

STM32F429 Discovery board has LCD with ILI9341 controller and resistive touch screen with STMPE811 controller from STMicroelectonics. The STMPE811 is a 4-wire resistive touch screen controller with a GPIO (general purpose input/output) port expander able to interface a microcontroller or a main digital ASIC via I2C or SPI serial interface. The STMPE811 offers great flexibility, as each I/O can be configured as input, output or specific functions. The touch screen controller is enhanced with a movement tracking algorithm to avoid excessive...

Library 07- DA Converter on STM32F4 17

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

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...