STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! [STM32F405] flash strange behaviour

Hello all,I'm trying to lock the flash in level 1 mode. To do so, I'm using the provided ST APIs. In particular, I'm doing:  FLASH_Unlock(); // unlock flash to deal with it FLASH_OB_Unlock(); // unlock option byte to deal with it if(FLASH_OB_GetRDP...

Resolved! Encoder mode using CHN instead of CH

Currently, I try to use an quadrature encoder connected on pins PC12, PC11 and PC10. All these pins have in common that they all can use Timer 8, for channels CHN1, CHN2 and CHN3. When I try to configure Timer 8 in Encoder mode; I can't select the CH...

kmce_0-1718955733833.png
kmce by Associate
  • 703 Views
  • 3 replies
  • 3 kudos

Resolved! STM32G4 using HAL Lib to read eeprom, when wirte to eeprom many times, the SYSTICK's tick variable will be changed randomly

hi,for our project,we used firmware package was STM32CubeG4 Firmware Package V1.6.0 / 05-June-2024.IDE: MDK 5.39MCU: STM32G473MET6 EEPROM: 24LC256we already check the page write opreation, ensure the boundaries and size of each write (less than or eq...

mas666 by Associate II
  • 1370 Views
  • 7 replies
  • 0 kudos

Resolved! STM32U5G9 - I2C1 not working

# OverviewI'm trying to add I2C1 in "controller mode" to an existing STM32U5G9 project, but am struggling to get it working.I am setting up the peripheral using HAL/LL calls and not relying on CubeMX setup.# What I'm SeeingThe goal is to have PG13 = ...

image (6).png
ttnickb by Associate III
  • 832 Views
  • 3 replies
  • 0 kudos

Current drift in STM32U5

Hello,We are using an STM32U585RIT6 and doing some power measurement. What we are seeing is that the current drops to within the expected range when we put the MCU to sleep, but the current changes over time.Basically:Go into stop mode 2Current measu...

SysTick and clock configuration

Hi to all,I have a problem with clock and systick configuration.I am using an STM32F303CBT MCU and STMCubeIDE.At present my program realize a blinking led, but if I do not activate SysTick after a randon mumber of blinking the led stuck on or off ind...