STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

CPU Utilization using FreeRTOS

Hi I want to measure the CPU usage of the tasks running by FreeRTOS.I use the following code, but I see very inaccurate results.I want to use a sliding window, or even a timer.Is there a known solution or good practice to do so?I use FreeRTOS with ST...

deckhard by Associate III
  • 1473 Views
  • 1 replies
  • 0 kudos

Resolved! Is there any way to disable the RTC reset on STM32F476

The HAL RTC initialization routines for the STM32F476 unconditionally reset the clock toJanuary 1, 2000. I have a battery backup for the clock and do not want the clock reset on initialization.Has anybody found a way to do this within the CubeMX fra...

GJohn by Associate II
  • 1119 Views
  • 3 replies
  • 0 kudos

FatFs F_Open Fails when Long File Name is enabled

Setup:STM32H743FreeRTOSFatFs8G SD card on SDMCC1 (FAT32 formatted)Hi,I have a problem with f_open which does not work when Long File Name is enabled (_USE_LFN = 2).f_open(&MyFile, "TEST.TXT", FA_CREATE_ALWAYS | FA_WRITE) == FR_OK) returns FR_INT_ERR....

Resolved! DFU Bootloader device not showing up in DfuSe Demo

I'm putting an STM32L4S into DFU bootloader mode by holding the BOOT0 pin high at power-up.That causes it to show up in WIndows 10 Device Manager under "Universal Serial Bus devices" as "STM32 BOOTLOADER". (It shows up under "Ports (COM & LPT)" as "U...

JWied by Associate
  • 4073 Views
  • 6 replies
  • 0 kudos

Resolved! AWS IoT with Nucleo-F767ZI?

So this is a related question to connecting through ethernet. I'm having trouble using my ethernet connection for AwS IoT. Are there any resources to do this? Most of what I found involved using wifi instead.

MBlanco by Associate II
  • 595 Views
  • 1 replies
  • 0 kudos