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

new vs malloc - surprising results with IAR

Hello,Recently I started using c++ application with STM32, and I encounter a very strange behavior:It seems that after 1-3 calls to new() operator the new operator call get hang somewhere into assembly. When I try to step into the problematic new cal...

ranran by Senior II
  • 484 Views
  • 1 replies
  • 0 kudos

Using subseconds register on STM32F7 RTC

We have a driver for the RTC which I am trying to enhance with sub-second resolution.I am testing with a tight loop which is repeatedly reading the time. First I am reading the SSR register (which should 'lock' TR and DR?) then the TR, then DR (to 'u...

CHell by Associate II
  • 1693 Views
  • 8 replies
  • 0 kudos

STM32H750 Timers

Hi,In one of my project I am using STM32H750 controller.I want to measure the pulse width which is an input to the controller whose width will be in some nanoseconds so I want to configure the timer in a way that it can support to start the count fro...

psiva.13 by Associate II
  • 661 Views
  • 1 replies
  • 0 kudos

Use MCO for I2S clock(SCK)

Hello​I use STM32L100.I try to use the clock output from the MCO as the I2S clock.​STM32L100 is an I2S slave and outputs an external clock using MCO(24.5MHz).​Can it use without problems?​​Thank you.​

Lixil by Associate
  • 457 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H7 single core, which RAM is good for code?

Dear experts,A customer asks me to copy application from flash to RAM and run in RAM.Not sure if this is justified. If I remember correctly it is not so much on 'F4, but maybe on H7 RAM performs much better? Anyway they pay for this so...I've created...

Pavel A. by Super User
  • 1184 Views
  • 4 replies
  • 0 kudos

weird instruction throughput on STM32F756

I try to measure instruction throughput with the following snippet:float bench(int tries, int repeat) { uint32_t t0, t1, d = 0; unsigned A0, A1, A2, A3, A4, A5, A6, A7, B = 1; A0 = A1 = A2 = A3 = A4 = A5 = A6 = A7 = 0;   for (int i = 0; i < t...

lemaitre by Associate II
  • 735 Views
  • 4 replies
  • 0 kudos

Resolved! Issues with ADC Calibration STM32L031F4

I'm working with an STM32L031F4 and I'm trying to calibrate the ADC to no avail. I'm wondering what it is that I'm missing here. With the code snippet below, I never get out of the while loop and the CALFACT stays at 0 (if I understand correctly, C...

RArch by Associate II
  • 869 Views
  • 4 replies
  • 0 kudos