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

Is it possible to use UART with more than one buffer?

I have no idea why this code is not working. I am sending chunks of a file with UART followed by short instructions of 2 bytes to tell the MCU whether another chunk is coming or to start playing the file.The MCU receives the first chunk without an is...

EYako.1 by Associate III
  • 1976 Views
  • 9 replies
  • 0 kudos

Continously Receiving UART Data and Transferring to DMA without Generating Interrupts With Variable Length Data on the STM32L475RE

I am working on a portion of code that handles some UART messages that come in periodically from an LCD. The reception of a message over UART from this screen will generate a response based on the parsing of the message received.It is part of a large...

EGold.3 by Associate II
  • 3516 Views
  • 9 replies
  • 0 kudos

Resolved! Strange interrupt handler problem on STM32H7

Another day, another bug....I'm trying to use ADC3 with BDMA on H753. Started from some cube-generated code that assigned BDMA channel 0 to ADC3.Allocated memory in SRAM4. Added interrupt handler for BDMA_Channel0 and ADC3.When I start the ADC3, I hi...

Pavel A. by Super User
  • 2706 Views
  • 9 replies
  • 1 kudos

Is an STM32 compatible with TDM8 ? And if yes, with 2 streams of TDM8 in and 2 of TDM8 out ? Or is there any other solution ?

Hello, I'm quite new to STM32 (although I've been looking at it for more than a year) and I'd like to use it for a project that has been going on for somthing like 2 years now. It's a digital audio mixer especially designed for portable use for movie...

VCres.1 by Associate
  • 652 Views
  • 0 replies
  • 0 kudos

STM32L0xx saw tooth current in permanent run mode

Hi,if I never call any wfi / wfe and run my stm32l0xx mcu in permanent run mode, I got a sawtooth shaped consumption current. In normal mode, where I call wfi, this is not a issue, but I'm curious.Any ideas where this comes from?Thanks & best regards...

aritec by Associate III
  • 914 Views
  • 3 replies
  • 0 kudos

Trigger DMA for SPI based on Timer interrupt

Hello,I need to sample an ADC at 20ms using SPI. I setup a timer interrupt to do this, but I would like to fill a double buffer at SPI_RxHalfCplt and RXCplt.My timer seems to be working correctly, however the Rx Half Complete Callback is being Called...

kcire L. by Associate III
  • 1491 Views
  • 3 replies
  • 0 kudos

Data to Store Array

I keep the important information in 32 byte. But every block have 32 byte .There are more than 300 block and every block have 32 bytes of data. So I've 32*300 byte data. How can I keep in the RAM successfully. Sould I Keep with array (uint32_t) or po...

DCtech by Associate II
  • 850 Views
  • 1 replies
  • 0 kudos

PLL startup problem

I'm using STM32F105RBT, and I'm finding that, in certain circumstances, the phase locked loop is failing to become ready.1) Boot (sysclk = HSI @8MHz)2) Set PLL with source=HSI(div2) and multiplier=93) Enable PLL4) Wait for PLL ready (waits forever he...

s_ by Associate III
  • 753 Views
  • 2 replies
  • 0 kudos

STM32L4R9_How to not erase NOR memory at program start

Based on the sample software of FMC_NOR, I am creating a program to store the data received by UART in NOR memory.Operation content:(1) Data reception via UART(2) Write the received data to NOR memory(3) Use the reset switch to switch to the receptio...

YEnom.1 by Associate
  • 614 Views
  • 2 replies
  • 0 kudos

OctoSPI not working on STM32U5

Hello, i am trying to communicate with an MRAM memory (Micron) via octoSPI but i can't manage to make it work! i already looked at the ST code examples and i got the same configuration as the examples but it just doesn't work. Please help!PS: i am us...

SGUIG.1 by Associate II
  • 1144 Views
  • 2 replies
  • 0 kudos