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

STM32CubeMX not preserving my user code

I'm running v1.26.1 of CubeMX and any code that I add between the /* USER CODE BEGIN.. and /* USER CODE END.. comments gets deleted every time I (re)generate the project. I have the 'Keep User Code when re-generating' option ticked. What am I missi...

p.walker by Associate
  • 745 Views
  • 2 replies
  • 0 kudos

STM32L0 I2C Slave, hotplug Issue

Hello,I'm working on a product where we will use the STM32L71 device containing an I2C Interface for servicing and control. I develop first parts of the firmware on a STM32L53 nucleo board. Since the device must be hot-pluggable, it is not allowed to...

Artur1 by Associate II
  • 1231 Views
  • 3 replies
  • 0 kudos

Question on PWM input mode

I'm trying to set Timer 2 (32 Bits) from Nucleo L432KC to measure input signals up to 1 kHz (for example). However, I'm confused about the selection of the prescaler and counter period. I read in a book:Another relevant condition is that the UEV freq...

xpp07 by Senior
  • 658 Views
  • 2 replies
  • 0 kudos

I2C communication takes too much time

Hello,I've had some trouble using the i2c interface on my Nucleo F722ZE board. I try to achive constant rate data sampling from my MPU6050 IMU. (accelerometer+gyroscope)For this I use the following 1000 Hz timer interrupt routine:void HAL_TIM_PeriodE...

0690X000006CBdnQAG.jpg 0690X000006CBdxQAG.jpg 0690X000006CBdsQAG.jpg 0690X000006CBe2QAG.jpg
KMarci by Associate II
  • 2452 Views
  • 6 replies
  • 0 kudos

+3.3V External Power Supply

Hello, I would like to use an external supply (3.3V) for my nucleo. the user manual tells me that I have to connect PIN 12 (IOREF) to +3.3V and also the PIN 16 to +3.3V. Both pins from CN7. Is this correct?And also GND to external GND. I already remo...

ASieg by Associate
  • 540 Views
  • 0 replies
  • 0 kudos

Enable Amazon Alexa on STM32F7691-DISCO Board

Hi, I recently got the ​STM32F7691-DISCO Board and have tried to follow the you tube video athttps://www.youtube.com/watch?v=u2Zu5G0PHx8From the files download I have two files in the binary folder, X-CUBE-VS4A-LWIP_esp-v1.1.1 and X-CUBE-VS4A-LWIP_et...

YPate by Associate
  • 524 Views
  • 1 replies
  • 0 kudos