STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! CORDIC for phase(atan2) not much faster than math.h atan2

I have two functions to calculate the phase via DFT. In both functions, real and imaginary parts are first calculated, and then the phase is determined using different methods.The first function employs the standard atan2f function from the math.h to...

GHrib.1 by Associate III
  • 1374 Views
  • 2 replies
  • 3 kudos

Resolved! flags to use to enable FPU on STM32H5 MCUs

In this document it's stated that STM32H5 devices implements the FPv5 floating-point extensions.From there, how do I know the proper flags to pass to gcc to enable the FPU? -mfpu=fpv5-sp-d16 -mfpu=fpv5-d16other ? 

HPhar.1 by Associate
  • 897 Views
  • 2 replies
  • 0 kudos

STM32F334C8T6,main program is stuck

I wrote an interrupt service function HRTIM1_TIMA_IRQHandler() for PID tuning at a frequency of 200kHZ. Is this frequency selection reasonable, after I enabled this IRQHandler, the main program in main.c no longer works, what is the reason?

LXCCCC by Associate
  • 886 Views
  • 4 replies
  • 1 kudos

RTC Not Running

Hi, I had configured the clock to LSI RC 37KHz using cubemx with AsynchPrediv is 124 and synchPredivdivider is 295 after the RTC initialisation i'm trying to read the time using HAL_RTC_GetTime() but i'm getting the values what i initialised but d...

Resolved! Reading temperature from adc value(Non linear)

Hi,I am using STM32G491RE. I have to read temperature values from ADC. We  used voltage divider circuit to map the voltage values with temperature values it is non linear change between volatge and temperature.I tried below wayconst uint16_t adc_valu...

Resolved! FDCAN is not sending messages in Normal Mode

Good morning everyone,I’m trying to get FDCAN working on a STM32G431 however with very limited success. I’m not able to get a valid output signal on the TX line (measured with an oscilloscope) however, if I put the FDCAN peripheral into External Loop...

can send.png