STM32 MCUs Embedded software

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 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
  • 3 replies
  • 4 kudos

Resolved! How do I configure/program with MDMA?

Hi All,I am struggling with that the maximum DMA buffer size is 64KB. I am currently transferring the data from an ADC to the Buffer using DMA with circular buffering, but I would want the buffer to be around 200KB. I have heard that one can use MDMA...

elso by Associate III
  • 5 replies
  • 0 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
  • 3 replies
  • 1 kudos

Webusb descriptor for stm32f767

Hello, I am trying to add the webusb descriptor to this code snippet to include the landing url but I cannot see a get device descriptor request for the webusb url in the request handling part of the code.__ALIGN_BEGIN uint8_t USBD_FS_BOSDesc[] __ALI...

WIF by Associate II
  • 0 replies
  • 0 kudos

PWM phase shift for dual active bridge

I have a dual active bridge and I am supposed to do leading and lagging phase shift to achieve that. This needs to be a precise shift to the lowest degree of 1. I am using an STM32F429. This is the logic I am using:HAL_TIM_PWM_Start(&htim3, TIM_CHANN...

Gaia by Associate
  • 0 replies
  • 0 kudos

USB CDC works on STM32G431 but not STM32L151

Hi, I am trying to setup USB CDC as virtual COM port on STM32L151. I just enabled it through cubeMX and connected the wires. Windows keep saying device not recognized.I just did the exact same thing with STM32G431. An empty project with just USB CDC ...

HKaze.2 by Associate
  • 2 replies
  • 0 kudos

Resolved! Upgrade from STM32L432KB to STM32L432KC

Hi Everyone,I'm upgrading our firmware from STM32L432kb with 128k flash memory to STM32L432KC with 256k flash memory. both micro controllers are  exactly the same except for the flash memory size difference. To accommodate this change I changed my co...

RTOS Task management "architecture"

Hello everyone.This is more of a general RTOS question regarding the approach of task management. I've got everything pretty much working but im certain there is a better solution than mine. I'm using FreeRTOS with the CMSIS v2 wrapper.Background:The...

XD by Associate II
  • 0 replies
  • 0 kudos