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

Fatfs + SD Card and f_mount return FR_NOT_READY

Hi, i have stm32f446ze on my custom pcb. Pin details : PC8 SDIO_D0PC9 SDIO_D1PC10 SDIO_D2PC11 SDIO_D3PC12 SDIO_CKPD2 SDIO_CMDGlobal interrupts enabled and no DMA. i tried with Cubemx version 6.0.1, 4.25.0, 4.26.0. but whole the time , f_mount gave ...

VÜnal.1 by Associate II
  • 10331 Views
  • 6 replies
  • 0 kudos

Issue using osThreadFlagsWait() function

Trying to use osThreadFlagsWait() in my command handler for command processing thread to save CPU utilization and seeing issue where system gets stall.====================while (1) {  int cnt = getcmd();  if (cnt >= 0) {    process_command();  } else...

aahsan by Associate III
  • 1326 Views
  • 0 replies
  • 0 kudos

USBPD timer use

Hello. I've been using the ST USBPD code for a few years for a variety of products. The default timer seems to always be Timer 2 (32 bit). Recently I've got this working as expected with an STM32G0 using Timer 2. However, this product switched to the...

RHelv.1 by Associate III
  • 699 Views
  • 0 replies
  • 0 kudos

FATFS DMA template problem on STM32H745iit6

Hello. I am trying to access SDMMC1 peripheral via Cortex-M4 core. I access SDMMC with no problem when I configure sdmmc clock 15MHZ or lower. Also fatfs use_dma_template option is disabled. But I have to use FreeRTOS in my project. So when i enable ...

Resolved! STM32F407G-Disc1 --> Controller Area Network receiver is not working in loopback mode

Hi Everyone,                   i'm using two boards for my hobby purpose(stm32f108cxx bluepill board and stm32f407g discovery board). i tried the controller area network loopback mode in bluepill is working fine but in the stm32f407 discovery board c...

STM32 V2Link

Hello, I have been trying to program a custom board.  I am using the stm32f042k6t7 chip and I have been working on this for a few weeks now.  I've got my board double checked and even ordered another V2Link thinking it might be that connector.  I hav...

schleise by Associate
  • 901 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F401 SPI CLK not working

Hi guys,I'm currently working on a project where I need to use the SPI protocol. After setting everything up in the .ioc file and generating the code. I wanted to check if the clock signal was properly working. So i hooked up my ossciloscop to the cl...

djerikos by Associate II
  • 3611 Views
  • 5 replies
  • 5 kudos

Resolved! Stop mode in STM32G0

Dear All,I'm using stm32G0 MCU for battery operated application and I2C,  UART and RTC and GPIO are using I want know What should be peripheral state before going to STOP mode mean "should be deinit before going to stop mode or leave it as it is and ...

vchau.2 by Associate III
  • 2074 Views
  • 3 replies
  • 4 kudos