STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 3427 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
  • 526 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
  • 1244 Views
  • 2 replies
  • 0 kudos

STM32 fail to receive data with DMA under RTOS

Hi guys,On STM32H7, try to receive data with UART in DMA normal mode under FreeRTOS, Tx works OK but receive nothing with keli5 (CubeMX setting as reference )I use HAL library,also tried LL library but not working.Already checked DMA is initialized b...

Rchan.1 by Associate
  • 707 Views
  • 2 replies
  • 0 kudos

Clock configuration for STM32L4R9 with USB-FS - SDMMC

Hi,I would ask the community a suggestion for clock configuration.I should use the USB ans Mass Storage Class using the SD card by SDMMC interface as memory. This function is used for 5 to 10% of my device usage, so I would decrease the SYSCLK for po...

0693W00000QLc6mQAD.png
lukin by Associate III
  • 603 Views
  • 1 replies
  • 0 kudos

I have a Lwip problem with SSI module.

The problem with the insert of the SSI tag, it is can insert only 920 characters but I need in 5 times more!If I change the "Lwip_httpd_max_tag_insert_len" It does not give an effect!Could someone tell me what is wrong?

DK.7 by Senior
  • 460 Views
  • 0 replies
  • 0 kudos

STM32F7: ETH TCP checksum offload fails

Hello,ST's and all Ethernet experts, please.STM32F767, Nucleo-144, and custom boardno OS lwIP 2.1.3, IPv4 onlySTM32CubeIDEno ETH interrupts usedApplication: Industrial frontend, streaming "audio" data from SAIs via ethernet,at high data rates, for lo...

LCE by Principal II
  • 4662 Views
  • 29 replies
  • 0 kudos

Hi everyone, I am creating a project via STM32CUBEMX (V.6.4.0) for STM32G070 including AzureRTOS, however, I've encountered an issue using tx_thread_sleep function.

I've tried to create a simple project which includes 2 threads. Each thread toggles two separate pins respectively . To create a 10 ms delay, I am using tx_thread_sleep (TX_TIMER_TICKS_PER_SECOND is 100) . Everything works okay, however, I've noticed...

0693W00000WL0YNQA1.bmp
MR.16 by Associate
  • 1494 Views
  • 2 replies
  • 0 kudos