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

SysTick_Handler not called, STM32G070 (and 2024 release)

SysTick_Handler() function isn't called in a project based upon the STM32G070CB mcu (48 terminals). However, with the STM32G070RB (64 terminals (NUCLEO-G070RB)) there aren't any issues. I found this workaround from 3 years ago (almost 4):https://comm...

XR.1 by Senior
  • 1065 Views
  • 5 replies
  • 3 kudos

I2C Communication with INA228 from Texas instrument

 Hello everyone, I'm interfacing an INA228  with an STM32 microcontroller  via the I2C bus. However, I'm facing a problem with the communication that I can't seem to resolve.Setup Details:Microcontroller: STM32h7 (using HAL library)INA228 connected v...

Mnfz by Associate II
  • 2873 Views
  • 13 replies
  • 2 kudos

GPDMA GPIO Output Configuration issues

Hello I'm working with a nucleo u575zi-q board where i've to set many GPIO pins in a synchronos way using GPDMA. I've successfully used the DAC and DMA example in the IDE, but Igot stacked with the GPIO output. I followed the case posted here, triyed...

eosella_0-1731528409822.png eosella_1-1731528445898.png
eosella by Associate II
  • 1557 Views
  • 9 replies
  • 1 kudos

STM32CubeIDE causes hardfault only debugging

If I run debug, I always got hardfault. Here is source codes that cause hardfault.   flight_data.imu0_accel = imu0.getRawAccel(); flight_data.imu0_gyro = imu0.getRawGyro(); flight_data.imu1_accel = imu1.getRawAccel(); flight_data.imu1_gy...

CorgiCorgi_0-1732027804311.png

Resolved! GetTick() and HAL_Delay(xxx);

When I give the delay time greater than 300 for the code below (500ms or 1000ms), GetTick or HAL_Delay(500); functions do not work.If I make the time 100ms, 200ms or 300ms, it works.When I want to control the delay at longer times, the program does n...

XooM by Senior
  • 1924 Views
  • 14 replies
  • 7 kudos

STM32F401RE: failed to mound SDcard

Hello Everyone I am using FATFS on STM32F401RE, with the code generated by CubeMX, which is version 6.12.0. When I perform the mount operation, the return value is FR_NOT_READY. However, initializing the SD card through the HAL library and reading SD...

1.jpg abc.jpg
TonyMay by Associate II
  • 983 Views
  • 6 replies
  • 0 kudos

Resolved! USB host (USB_OTG_HS) - "Activate_VBUS" has no effect?

Using STM32CubeMX (v6.12.1) with USB_OTG_HS enabled (as host) on an STM32F4.On our device, we have the only OTG_HS_VBUS pin connected to the USB VBUS, and it is working correctly as a USB host. I was investigating if I can repurpose this pin (I guess...

BMcDo3_0-1731510870164.png BMcDo3_1-1731511045503.png
BMcDo.3 by Associate III
  • 1260 Views
  • 3 replies
  • 2 kudos