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

Interrupt fires multiple times on EXTI9-5

hi, I'm working on a STM32F303CC. on this mcu I'm using 6 buttons as interrupts. 5 of these buttons are connected to EXTI15-10 and one to EXTI9-5. the buttons on EXTI15-10 are working perfectly fine. although, the button on EXTI9-5 fires an incredibl...

ROtte by Associate
  • 2203 Views
  • 3 replies
  • 1 kudos

PWM Generation CH1 CH1N doesnt work?

Hi, I have STM32F091RCTx and want to send PWM generated signals on 2 PIN's.//... HAL_TIM_PWM_Start_DMA(&htim1, TIM_CHANNEL_1, (uint32_t*)LedData, LED_DATA_LENGTH); //...   void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim) { if (htim ==...

JBond.1 by Senior
  • 1203 Views
  • 2 replies
  • 1 kudos

Resolved! All EXTIs triggered at same time

I configured the EXTIs for 16 inputs from PD0 to PD15, rising and falling edge, IRQ1 for PD0, IRQ2 por PD1, and so on as must be for groups 5-9 and 10-15 IRQ Handler. I debug the program with a breakpoint in each EXTI_IRQ_HANDLER and all of them are ...

What is MSP for?

Posted on April 20, 2016 at 18:24This is a maybe stupid question but I cannot find a good (for me) explaination of how to use them. What the acronym is meant for?I see in the docs'The peripheral initialization is done through HAL_PPP_Init() while th...

stanzanim by Associate III
  • 11405 Views
  • 5 replies
  • 3 kudos

STM32 SPI 16 bit transfer with a 32 bit Slave device

Hello, I had a general inquiry about using SPI. We are trying to use the STM32F446xC as the microcontroller to control a SPI-to-CAN controller (TCAN4550) which does 32 bit transfers. The microcontroller can only perform 8 or 16 bit transfers through ...

Nivant11 by Associate
  • 695 Views
  • 1 replies
  • 0 kudos

STM32H7 Complementary PWM: Issue on CHxN

Hello,I am trying to generate a complementary PWM with a timer in my STM32H723VGTx, I configured channel 1 on timer 1 with the PWM Generation CH1 CH1N mode.I set all the parameters of the base timer and the value for the pulse of PWM, but during the ...

MGian.1 by Associate II
  • 3350 Views
  • 6 replies
  • 0 kudos

Do HRTIM faults respect configured deadtime?

HiAssume that i set up an H-bridge and and control it via the HRTIM block and use the build in deadtime features. I then also enable a couple of faults. The bridges safe state will be to set both lower transistors to be OFF and the two upper once to ...

Detecting Missing Encoder Input

I am using LPTIM1 of an STM32WB55 to read the outputs of a quadrature encoder.If I disconnect either of the two inputs, the timer continues to increment or decrement.Is there any way to stop the counter changing value when one of the in puts is missi...

TWood.4 by Associate III
  • 1226 Views
  • 3 replies
  • 0 kudos