STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F7 CAN BUS Rx Interrupt not triggering

PREMISE: I have experience with other communication protocols but very little with CAN so I am not completely sure how to set the prescaler and other parameters.GOAL: I want to read a sensor (namely the airspeed sensor ASPD-DLVR) through the CAN BUS....

0693W00000GWoG2QAL.png 0693W00000GWoFnQAL.png 0693W00000GWoFiQAL.png
FUs.1 by Associate III
  • 660 Views
  • 1 replies
  • 1 kudos

ADC interrupt never gets called

Hi, i'm struggling with this piece of code here:int main(void){ UART2_Tx_init(); ADC_interrupt_init();     while(1){   }   }   /***********ADC***********/   void ADC_interrupt_init(void){ RCC->AHB1ENR |= (1U<<0); //GPIOA clock enable GPIOA->MOD...

Nick- by Associate II
  • 971 Views
  • 2 replies
  • 0 kudos

Resolved! Compare event of a general purpose timer and DMA request

I am using the nucleo L476rg and I am not sure to correctly understand the notation in the manual: I want a compare event of a timer to send the DMA request but in the DMA selection register is generally reported TIMx_CHx as request sender.Considerin...

Tommino by Senior
  • 749 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F303VC : SPI1 (Master) SPI2 (Slave)

Hello Everyone,I am trying to establish communication between SPI1 and SPI2 on the STM32F303 Discovery board.I have configured SPI1 as Master and SPI2 as Slave. I am receiving 0xFF when a Receive interrupt is fired in SPI2.SPI1 Master module is confi...

0693W00000KbH2cQAF.png
AT.8 by Associate II
  • 1700 Views
  • 8 replies
  • 0 kudos

Resolved! RTC Wakeup does not wakeup system from sleep mode STM32L431?

Hello, I'm using RTC Wakeup to periodically kick WDG while system is in a sleep mode.I have setup RTC wakeup as following:/* RTC init function */ void MX_RTC_Init(void) {   /** Initialize RTC Only */ hrtc.Instance = RTC; hrtc.Init.HourFormat ...

SAkhi.951 by Associate III
  • 2356 Views
  • 3 replies
  • 0 kudos

Resolved! STM32F303RE Tim2 ch2 PWM Mode

Hi everyone, I'm trying to use the Timer2 CH2 PWM Mode 1 to generate a 1 Hz signal with 50% Duty Cycle out of my PA0 pin but i can't get anything. Here's my code:#include"stm32f3xx.h"   void TIM_PWM(void);   int main(void){ TIM_PWM(); while(1){ } }...

Nick- by Associate II
  • 1393 Views
  • 2 replies
  • 0 kudos

Resolved! How get the List file from assembler?

HelloI'm using CubeIDE.I want to get list file which is containing OP code from "Startup_stm32f427zgtx.s" as a output of assembler.I heard that I could use -Wa, -al option here and there on the Webs, but I couldn't get the list file of the assembler....

SSeo.17 by Associate III
  • 1468 Views
  • 2 replies
  • 0 kudos

STM32F3 SPI3 not working

Hey,I'm working with STM32F303RET6.I'm having trouble transmitting data with SPI3 (PB3, PB4, PB5 and PA15).Before I'll post my code here, I want to say that I am also working with SPI2 (PB12, PB13, PB14 and PB15) with the exact same configuration on ...

RLosc.1 by Associate II
  • 1614 Views
  • 5 replies
  • 0 kudos