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 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
  • 4086 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
  • 2070 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
  • 2494 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
  • 1218 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
  • 1745 Views
  • 3 replies
  • 2 kudos

Resolved! STM32G491KEU6 - booting problem

Hello,I need to use a nRST pin as MCO in my aplication and programm my STM with STlink v3-set. I set up a MCO to output 8MHz signal and set nRST pin to GPIO with code you can see bellow. Now I have a problem with booting - I cannot connect to STM, Cu...