STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...

gif-stm32u0.gif

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
  • 638 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
  • 1368 Views
  • 2 replies
  • 0 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! How to handle Variable length receive data via UART?

uint8_t rx_buffer[32], rx_flag, rx_index, rx_data, RxData[32];   void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) { if (huart->Instance==USART1) { //if the data is not being received, clear the buffer if(rx_index ==0) { for (int i=0...

TMuka.1 by Associate II
  • 5262 Views
  • 10 replies
  • 0 kudos

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

Labels