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

I'm following this tutorial: https://www.youtube.com/watch?v=WgsXMVZfoO8&list=PLnMKNibPkDnG9JRe2fbOOpVpWY7E4WbJ-&index=7&ab_channel=STMicroelectronics And my boar cannot conect to mi phone.

The connection green led indicator doesn't twinkle, it is alway on and I can't see the nucleo in the ST BLE Sensor app. I suppose that the problem is with the CPU 2. I was debugging the code and it nevers reaches the function APPD_EnableCPU2( ); beca...

PGarg.1 by Associate II
  • 837 Views
  • 2 replies
  • 0 kudos

"locked out" from Nucleo-L4P5, cannot erase or program

I have a Nucleo-L4P5ZG board and I cannot use it.Flash download in CubeIDE always fails because of an error erasing memory.I then hooked it up to STM32CubeProgrammer, but the problem persists.Independent whether I try to erase an individual sector or...

b.a. by Associate III
  • 599 Views
  • 2 replies
  • 0 kudos

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
  • 794 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
  • 1145 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
  • 836 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
  • 1940 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
  • 2622 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
  • 1565 Views
  • 2 replies
  • 0 kudos