STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I2C register configuration problem

Hi to all,I'm trying to write my own I2C class, but SDA seems not willing to collaborate.Here is pins configuration:#define I2C1_SCL   8      // PB8#define I2C1_SDA   9      // PB9MYI2C::MYI2C(){   if(!(RCC->AHBENR & RCC_AHBENR_GPIOBEN)) RCC->AHBENR ...

STM32G070 print uint8_t shows 0

I have a strange issue. I use printf function in a uart port for print some variables that I use in my code. This works perfectly in cortex m4, but now in cortex m0, the variable printed show me 0, in the next code:uint8_t flash_ext_init(void){   ui...

JCuna.1 by Senior
  • 2016 Views
  • 12 replies
  • 0 kudos

Resolved! Hal_gettick equivalent in LL

I almost migrated all my code from Hal to LL and I am really happy for the execution improvent and better size footprint of the code.However, I can not find a way to make/get a equivalent function as hal_gettick provide me. Usually I use state machin...

JCuna.1 by Senior
  • 3210 Views
  • 2 replies
  • 1 kudos

STM32L432 using PC14/PC15 as GPIO Output

I set these as GPIO outputs, but turning them on seems to be ignored. I read somewhere that LSE should be off to use these, and it is turned off, as I can see it in STM32CubeMX.Is there something else I need to do to use these 2 pins as GPIO outputs...

Resolved! P -NUCLEO-WB55 buttons SW1-3 don't work properly

I have tried to setup a minimal project where I configure the P-NUCLEO-WB55 board to trigger an interrupt (falling edge) when I press a button, that will toggle the blue LED (L1). I tried buttons SW1, SW2, SW3, all have the same problem: when I press...

LWChris by Associate III
  • 1222 Views
  • 2 replies
  • 1 kudos

HAL Library does not support UART Rx Timeout RTOR

Posted on October 25, 2017 at 11:53Hi all,I am using STM32L433, and checked the manual that it supports rx timout for the uart. I am using cubeMX v4.22.1 with Cube L4 firmware Package v1.9.0. I try to receive unknown sized data from UART3 but i do n...