STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...


double type calculation

Hello.At the next double type calculation,double a = 0.7; char b = 12; double c;   c = a * b;c is saved to 8.39999 in the register But 0.7*12 is 8.4How can I save 8.4 to the 'c' register?Thanks.

Kim.Andy by Associate III
  • 2 replies
  • 0 kudos

Resolved! My STM32L051K8T6 gets stuck in an infinite loop in HAL_Delay(1000); but I know its a hardware problem, not a software problem. Where should I focus my hardware debugging on?

I have used this same chip on a previous project and managed to toggle an LED on and off using HAL_Delay(1000); function. I copied the same code across to my new project board, uploaded it successfully, toggled the LED on successfully but when I step...

0693W00000FCj26QAD.png 0693W00000FCj2GQAT.png
ARyan.4 by Associate II
  • 5 replies
  • 0 kudos

Resolved! stm32f4 external interrupt problem

Hello,I'm using an stm32f411ce with an lsm6ds3 IMU and I want to trigger a read from the IMU with an EXTI. I've set it all in the code below and activated the interrupt on the IMU. the interrupt is set in PR register but handler is never called.Thank...

EPora.1 by Associate II
  • 17 replies
  • 0 kudos

Resolved! RTC Alarm Register Corruption

We have been using an STM32L476 in a product that schedules periodic wake times. Recently we have discovered a bug where the unit will go to sleep and never wake back up. What we have noticed is after generating another interrupt to wake the unit up ...

STM32L431RCT reads out Zero Value from ADC after EMC/ESD Testing. After a manually disable and enabling adc cycle everything is fine again.

Do you have any ideas what's going on with STM32L431RCT. After ESD Testing ADC of STM32L431RCT reads back 0 Values at all Input Channels. A manually disable and enabling cycle in debugging mode helps. ADC is reading values then correct again.We also ...

MGehr.3 by Associate II
  • 11 replies
  • 0 kudos

Resolved! How does an uninitialized local pointer work in STM32?

I have the following bug in my project and cannot figure out why.In one function I was using an uninitialized pointer variable to receive data from another function. For some reason it works which I think shouldn't. The code is like this:funcA{ m...

zzzzz by Senior
  • 2 replies
  • 0 kudos

Resolved! LED Example program for initial steps with eval board

I hate being stupid, but I'm trying to get a nucelo-stm32LR76RG eval board working. I have the cubeide and cubemx software installed. I also have the associated example programs loaded. The board comes shipped with a program that makes the led blink ...