STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 1340 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
  • 542 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
  • 385 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 Evangelist III
  • 985 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
  • 540 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
  • 679 Views
  • 4 replies
  • 0 kudos

H7 cant write a FMC 16bit word once

if someone can tell me how to write a byte to a FMC memory ?Reading a 16bit word looks correct and I can read the status correctlybut using A0 as register select, this is writing one 16bit word, it seems to write 4 times, A0 is jumping up and down, I...