STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! two UART DMA with timer interrupt

Hi, allI am trying to receive packet from uart3 and send them to uart2but the results of my trials are:transmit occurs every main cpu clocktransmit occur just oncewhich I thought was:receive packet from uart3 when packet arrived, independentlytransmi...

Frogram by Associate II
  • 1903 Views
  • 5 replies
  • 1 kudos

Need to change interrupt priority for USART DMA RX Circular

I've got some code working from an example for USART RX DMA Circular. I'm to the point where I can receive the UART data but I need to now use a write to a protected (by a binary semaphore) circular buffer from the interrupt context HAL_UARTEx_RxEve...

ATzou.1 by Associate II
  • 4093 Views
  • 11 replies
  • 0 kudos

No while loop shown in tutorials in main.c

Hi,I've seen that in many stm32 tutorials (such as blinking LED and uart tutorials) they make use of a "while (1) " loop located in main.c:  But, in the main.c generated by cubeMX for my stm32l496ag board i have only the following single while loop, ...

0693W00000Dq5C4QAJ.png 0693W00000Dq5KHQAZ.png
CHech.1 by Associate III
  • 596 Views
  • 2 replies
  • 0 kudos

STM32F401VET6 flash partition to store 3 binary files at particular flash addresses. These binary files need to be used for some product applications.

We have STM32F401VET6 in our product development. Currently, our project (makefile) compiles and stores application binary in STM MCU internal flash. We would like to store three other binary/hex files to the STM MCU internal flash as part of the bui...

0693W00000DqGkvQAF.jpg
JSaro.1 by Associate II
  • 1411 Views
  • 9 replies
  • 0 kudos

Retrieving multiple SPI packets from DMA

Hi guys I have set up my STM32 as an SPI full duplex slave device. All SPI communication happens through DMA. The Master device is a Beaglebone Black communicating over linux spidev driver. The problem I am facing now is if the master sends multiple ...

SDas.1 by Associate II
  • 1174 Views
  • 4 replies
  • 0 kudos

Cannot get printf via USART to work on STM32H745

Hello!As the title says, I haven't managed to get the printf function to work on my STM32H7 MCU. I am using the Nucleo-H745ZI-Q with STM32Cube MX and Keil. Here is the code I'm using:#include "stdio.h"   /* USER CODE BEGIN 0 */ #ifdef __GNUC__ #defin...

AnaJade by Associate II
  • 2223 Views
  • 7 replies
  • 0 kudos

How Is "system_stm32xxxx.c" File Included?

I'm having a brain fart and can't figure this out. I'm porting an existing project from the STM32F205 series to the STM32L496 series. So I replaced "system_stmf2xx.c" with "system_stml4xx.c" in my project workspace, but my compiler (IAR) isn't pickin...

jvavra by Associate III
  • 1031 Views
  • 6 replies
  • 0 kudos