STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32 problem with UART RX throught DMA

Hello,I am implementing the use of the DMA for receiving data from the UART on a board with an STM32G491 that is constantly receiving data at 19200 baud.The DMA is configured in normal mode, and the receive buffer is currently of 50 bytes.Each time t...

Smark by Associate
  • 65 Views
  • 2 replies
  • 0 kudos

Resolved! TIM3_CH3 on STM32G030

Hello, I try to setup 3 PWM channels on STM32G030K6 MCU, I've selected PA6, PA7 and PB0 as TIM3_CH1, TIM3_CH2 and TIM3_CH3 pins.Code is generated with STM32Cube and seems to work. Channels 1 and 2 can generate PWM signals. But Channel 3 doesn't gener...

AKise by Associate III
  • 96 Views
  • 5 replies
  • 0 kudos

STM32L4R5 FatFs, eMMC and DMA

Hi friends.I met with such a problem: I am implementing data recording to 8Gb eMMC memory using sdmmc. When I implement writing and reading without using DMA, then FatFs works without problems. But when I implement writing and reading using DMA, f_mo...

kayaton by Associate
  • 91 Views
  • 2 replies
  • 0 kudos

Error stm32 when use button

Hello everyone, I use the button to hold the Semaphore in this task, when I press the button the Semaphore is released, but the error I get is that the button is not pressed but the Semaphore is automatically releasedplsss help me, thank so much

noname8888_0-1728615678428.png

Home grown OS task function call failures

I am writing my own context switcher. I have a couple LED blink tasks for testing. It works fine when the tasks don't call any functions. Everything is inline. But when I include some function calls in the tasks and I get a context switch while in on...

JoeJoe by Associate II
  • 116 Views
  • 4 replies
  • 1 kudos