STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Sleep mode with FreeRTOS enabled

I want to be able to make the STM32G474 go to sleep when certain conditions are met.I've created a small project to test the feature. The `app-freertos.c` file is like this:#include "FreeRTOS.h" #include "task.h" #include "main.h" #include "cmsis_os....

xgon by Associate
  • 5641 Views
  • 7 replies
  • 0 kudos

Resolved! HOW TO READ UART FROM PZEM 004T

I need help with using pzem 004t in stm32f405 with uart communication. i have check this source willyvamp/STM32F103C8T6-PZEM004T-DHT11: HAL STM32 (github.com) but still dont get the data form uart. please help

BAl K.1 by Associate III
  • 2701 Views
  • 6 replies
  • 0 kudos

usart DMA interrupt faster than buffer update

Hi All,I use DMA IDLE Idle line and circular mode to receive usart buffer, and process data in rtos,but when I get an Idle event, sometimes RTOS read buffer will get some empty data, but wait a little bit times, the buffer will be updated, so when I ...

0693W00000WLAjYQAX.png 0693W00000WLAnXQAX.png
CTing.1 by Associate II
  • 444 Views
  • 0 replies
  • 0 kudos

usart interrupts vs freertos polling

My application has a low priority usart receive function - meaning that if characters are delayed it's no big deal. I've been using interrupts with a callback receiving one character at at time with a read always outstanding. I process flags and b...