STM32 MCUs Products

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
  • 358 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
  • 850 Views
  • 13 replies
  • 2 kudos

STM32 G4 HAL i2c not clearing interrupts

**Problem:**- When the I2C is enabled, the part can hit the WWDG.- It looks like the pointer to the function `XferISR` is getting set to NULL somehow.  - When this happens, the interrupts are not cleared, and it continually fires the interrupt becaus...

photon by Associate
  • 206 Views
  • 0 replies
  • 0 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
  • 706 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
  • 857 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
  • 436 Views
  • 6 replies
  • 0 kudos