STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

EXTI_IRQ performance on external flash

Hello there!I'm working on a custom project, using STM32H750VB with the main app running on an external flash (developed on TrueStudio and HAL 1.7.0). I'm using two EXTI pins to get the data from a RFID reader, using Wiegand 34 protocol. Basically th...

Peaga by Senior
  • 507 Views
  • 3 replies
  • 0 kudos

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
  • 2099 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
  • 1329 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
  • 1920 Views
  • 5 replies
  • 1 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
  • 5739 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
  • 717 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
  • 914 Views
  • 5 replies
  • 0 kudos