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! running code from internal sram

hey there.for a while ive been tryin to copy some codes from flash to internal sram and run it.ive read the datasheet, programming manual and cortex manual and they all confirm that it is possible to run code from sram, however when i copy the codes ...

Kkh.1 by Associate II
  • 2541 Views
  • 12 replies
  • 0 kudos

Auto Delay ADC STM32F3

Hello Community,I'm currently programming a framework for the STM32F3 ADC. However I ran into a problem. I want my ADC to run continuously. Moreover I expect "long" delays between reading the channels. I thought, this is no problem, since the ADC has...

schellek by Associate II
  • 1681 Views
  • 8 replies
  • 0 kudos

STM32 - support for ITM/DWT

Hello,I am interested to use the ITM/DWT over SWD to output trace data and observe structural coverage during test. My debug tool says that the microcontroller must support ITM and DWT. I am using STM32L433CC (LQFP48 package). In RM0394 section 46...

How to properly re-enable UART after an overrun failure?

There is a scenario in my application where a UART FIFO overrun can occur. The application can handle dropped packets, so this is not a concern. The issue is that when an overrun occurs, the UART stops interrupting when new bytes fill the HW FIFO. I...

AIsma by Associate II
  • 2311 Views
  • 5 replies
  • 1 kudos

How to handle the Usart receive with unknow Data length.

i am try to interface the STM32F103C8T6 with GSM & usb to Serial converter (Multi USART). But in GSM AT Comment Response Data Length is Different for Each & every time. I don't know how to handle the UART Receive with unknown data length Pleas...

Sprak.11 by Associate II
  • 1834 Views
  • 4 replies
  • 0 kudos

HAL_ADC_PollForConversion vs HAL_ADC_GetValue

Hello, I see ADC examples that use the following functions:1.HAL_ADC_PollForConversion.2.HAL_ADC_GetValue.Questions:a. What's the difference between both functions ?b. In my application I simply want to get the ADC voltage when a user sends a command...

skon.1 by Senior
  • 7001 Views
  • 4 replies
  • 2 kudos

SPI slave - different behavior without debugger

Hi,I am using STM32L051R8T6 and i have implemented an SPI slave using the HAL libraries. I am using DMA. the master is an FPGA. SPI clock is ~2Mhz. The FPGA initiate 2 read commands for each read from the MCU - 1 for it to prepare the data and 1 to r...

0693W000003BgFlQAK.png 0693W000003BgFvQAK.png
DSass by Associate II
  • 966 Views
  • 6 replies
  • 0 kudos

Resolved! ADC getting stuck while checking for EOC flag

Im trying to write code that will average samples from the ADC of an STM32F01K6. I am starting a conversion and waiting while the conversion takes place by writing a while loop which checks the finish flag ADC1->CR |= ADC_CR_ADSTART; while(((...

deep_rune by Associate III
  • 1129 Views
  • 5 replies
  • 0 kudos

Atollic problem to debug

Hello all,I have been using Atollic and the STM32 for a long time.I just created a new board with an STM32L151CB MCU.When I try to go into debug mode with Atollic, if the MCU is blank, I get this message.If I flash the MCU with STlinkUtility, and the...

0693W000003BkdcQAC.png 0693W000003BkdrQAC.png
CSCOM.1 by Associate
  • 394 Views
  • 0 replies
  • 0 kudos