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

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
  • 3971 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
  • 559 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
  • 1351 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
  • 1118 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
  • 2134 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
  • 954 Views
  • 6 replies
  • 0 kudos

STM32H745 FMC acces to external NOR with timing from RM0399 does not work (works only with burst, but not non-burst)

Hallo,I'm using a STM32H745, that shall access an external NOR flash with the timing recommended by ST at the reference manual RM0399 on page 875.  I did exactly reproduce this timing setting, but no access will be generated on the FMC pins.When I ch...

0693W00000Dq5mGQAR.jpg 0693W00000Dq5nEQAR.jpg
dze.1 by Associate II
  • 1015 Views
  • 3 replies
  • 0 kudos