STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32L152RE 5V tolerant pin and ADC

Hello,I have a STM32L152RE and I use PA1 (Pin type is FT 5v tolerant) as ADC_IN1. Vdd is 3.3V and the voltage on PA1 usually is around 5V and sometimes it drops to 2.5V ( when I need to take the measure). Several comments on various blo...

RStra by Associate III
  • 6 replies
  • 1 kudos

Can CM4 put CM7 core to sleep (or stop or halt)

I am using the template with CM7 as gated and CM4 core boot. This behavior works fine. In my application, CM4 runs on bank1 and CM7 runs on Bank 2. One sector on Bank 2 is dedicated to store application data. So CM4 tries to write to that sector, whi...

JTari.1 by Associate II
  • 0 replies
  • 0 kudos

TIM6 Interrupt and Compiler Optimization

I have a project (for STM32L0) that use TIM6 to generate an Interrupt every 5ms and everything works perfectly both in release and debug when built wih no optimization.Then I built the same project with -Os(optimize for Size) -ffunction-section -fdat...

MVill.6 by Associate II
  • 10 replies
  • 0 kudos

Can I measure PWM duty cycle using DMA?

I am on STM32F401 and I want to measure PWM duty cycle (PWM input) with timer 3 and a DMA channel. I'd like to have the DMA to do several measurements and then calculate the average over it. My configuration is like this:My DMA config is like this:My...

0693W00000QKukTQAT.png 0693W00000QKukdQAD.png 0693W00000QKukiQAD.png
HStee.1 by Associate II
  • 3 replies
  • 0 kudos