User Activity

Hello.I'm trying to get I2C working to read BMP280 sensor data. This is code I written so far: GPIOB->CRL |= GPIO_CRL_MODE6; //set PB6 as output with drive strenght to 50Mhz GPIOB->CRL |= GPIO_CRL_CNF6; //set PB6 to open-drain alternate funct...
Hello.I want to use ADC in my STM32F103RGT6 Uc, but I don't understand what pdf's says about where the pins are.In this document We can see, that there are 3 ADC converters: ADC1, ADC2, ADC3.However, reading further on page 29, I can see alternate fu...
Hello.I'm trying to use SPI interface in STM32F051r8t6 micro on my STM32F0 discovery board. I got it to send data, but I set data lenght to 8bit, it is sending double that (first 8 is my data, but second 8 bit is always 0x00). When I set it to 4-bit,...
Hello. I'm playing with my stm32l152 discovery board. I've got lcd, buttons, leds working. I wanted to change my clock speed to 16Mhz HSI (default 2Mhz MSI) and problem started.To write my code I use RM - and I'm missing something. How this configur...
Hello.I got a STM32l-Discovery and I tried lots of examples with HAL, But I can't get the LCD on this board working. Examples from ST page use some strange library and don't want to compile in my IDE. Have anyone working example for this lcd using HA...