STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

DAC in DMA not working?

dear all,I keep studing the STM32H7 architecture and this time I am trying to control a DAC using DMA which seems an easy task. However, in my case, the output is always at zero. I have used it without DMA and it works, therefore my HW debugging work...

Mdi c by Associate III
  • 414 Views
  • 2 replies
  • 0 kudos

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
  • 372 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
  • 1249 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
  • 501 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
  • 365 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
  • 921 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
  • 503 Views
  • 4 replies
  • 0 kudos