STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Clock cycle behavior as a function of frequency

Hello, On the STM32F746ZG I measure the clock cycle needed to execute a code thanks to a timer which runs at the same frequency as the core clock.However, for the same code, with exactly the same measurements process, the clock cycle needed to execut...

TGA.1 by Associate
  • 848 Views
  • 3 replies
  • 0 kudos

How is wrap-around handled in CCR registers

Apologize in advance for what may be a basic question. I have a background in C programming and other languages mostly at the application layer. I have however, supervised, reviewed, and analyzed embedded C code at lower layers from others. My curren...

RM0440, Rev 7, STM32G474 Reference Manual - Errors

Figure 188, Page 853: The last waveform (HRTIM_REPxR = 2) should be: 1, 0, 2, 1, 0 and not 1, 0, 2, 0.Figure 254, Page 933: For the last two waveforms (ADCxPSC[4:0]=4 ADROM[1:0]=01 and ADCxPSC[4:0]=4 ADROM[1:0]=10), it seems like the waveforms as sho...

SPI does not working as expected

Hi,i am working with STM32U575x, I am trying to implement SPI transmission (using the blocking function - HAL_SPI_Transmit.The problem is that sometimes the function is stuck while waiting for EOT event.someone here, in this fourm suggested to redu...

AA.10 by Associate III
  • 551 Views
  • 1 replies
  • 0 kudos

STM32F769 DWT CYCCNT

I'm using the STM32F769-DISC0 development board and am utilizing the DWT->CYCCNT to calculate cpu load as well as using it as a high speed timer that runs at the clock frequency. When the debugger is plugged in, it functions fine. However, with the d...

VMiki.1 by Associate II
  • 4396 Views
  • 16 replies
  • 0 kudos

STM32F072R8 ADC EOC is not complete

Hello,I am using ADC1 of STM32F072R8 to measure temperature from sensor. The ADC is being used in continuous mode. For some historical reasons I still use standard peripheral library. Here is my code:void Temperature_ADC_Init()   {   GPIO_InitTyp...

ab_nurd by Associate II
  • 658 Views
  • 1 replies
  • 0 kudos

Resolved! How to execute code from CCM Memory? [GCC, LD, Help]

Hello, i'm trying to execute a delay code from CCM memory but the MCU is frezing when enter to 'delay_ms' function. It is the first time that i try this and i don´t know if the linker file, and the startup file modifications are good implemented so i...

0693W00000LzcCuQAJ.png