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

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
  • 1204 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
  • 647 Views
  • 0 replies
  • 0 kudos

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
  • 812 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
  • 3311 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
  • 1863 Views
  • 3 replies
  • 4 kudos

DCMI Crop feature

Hi all, I recently started learning about st-controllers and I am stuck in this, any help would be greatly appreciated.I am working with stmf746, I wanted to crop the captured image with DCMI crop feature, I am configuring crop window size and offset...

lglad by Associate
  • 1418 Views
  • 3 replies
  • 1 kudos