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

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
  • 2328 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
  • 3606 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
  • 1371 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...

How to get Segger RTT to work with sleep modes on stm32

I'm trying to use RTT on an stm32L433 and it looks like it doesn't work when the device is in sleep mode (no output on the RTTViewer).my test code is a loop with a printf and a 2seconds sleep.when a debugger is attached, stepping through the code mak...

medanis by Associate II
  • 3659 Views
  • 9 replies
  • 0 kudos