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

Resolved! STM32F105R8T HAL Busy and missing data buffers.

I'm using STM32F105R8T to send serial buffer commands to an HMI display.MAX485 chip was used for communication. There are pre-defined command buffers and updatable data buffers. Those buffers are sent through a RS485 bus at the baud rate of 9600. The...

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
  • 7140 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
  • 3586 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
  • 546 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...

Resolved! Is it possible to setup a USB-C only power connection (fixed CC resistors) while having the USBPD lib active?

I have set up the USBPD lib on my system to manage USB power delivery messages and set up power contracts in both the source and sink directions. Now that this seems to work well, I also want the system to work with a USB-C only power source (non-PD)...

Lvan .4 by Associate II
  • 1300 Views
  • 2 replies
  • 0 kudos