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

STM32G474RE NUCLEO board SIMD instruction test

HiI want to test the execution speed of SIMD instruction. My demo as below.16-bit addition, for example.I find the instruction __SADD16() in cmsis_gcc.h. The execution time using __SADD16 is 27us and the time without __SADD16 is 23us.  It seems like ...

0693W00000HnjelQAB.png
fhu.11 by Associate II
  • 1652 Views
  • 6 replies
  • 0 kudos

STM32H750VB HAL_RTC_GetTime() function returns to old value.

Hi, i'm working with RTC and having issue about getting time. I'm calling HAL_RTC_GetTime function with HAL_RTC_GetDate, it's return old value of time. For example time is 00:10:00 and i called gettime function, it's return 00:09:38. I'm getting time...

Eralp by Associate III
  • 4611 Views
  • 8 replies
  • 0 kudos

How to wake up STM32L010 every 100ms?

I am new in st's mcu.I am going to switch my project to STM32L010 (Nucleo-L010RB).In my project, i need to let mcu going to stop mode and wake up it self every 100ms.How do i do it?Is there any code for me to study?

Flin.1 by Associate II
  • 649 Views
  • 3 replies
  • 0 kudos

STM32L151: HAL ADC DMA wait for completion of transfer

Hello Guys, I want to read multiple channels from my adc using DMA.However I want to implement it the following way:while(1){1. Start ADC DMA (scan, discontinous conv.)2. Wait for the completion (the CPU should just wait until the conversion of the m...

Chrizzly by Associate III
  • 956 Views
  • 2 replies
  • 0 kudos

Resolved! I am trying to display the time on a OLED display using the RTC and I can get it to work but I keep getting a warning. I know there is a better way and was hoping someone could enlighten me as to what I should be doing.

Hello I am very new to c programming and embedded design. I know there is a right way to do what I am trying to accomplish. I seem to be doing it the wrong way even though my code still "works" I am getting warnings on a couple lines of code. Line ...

JWire.1 by Associate III
  • 1073 Views
  • 2 replies
  • 1 kudos

Resolved! Why are my uarts not working after rcc clock configuration?

Hi all,I got a strange issue. I'd like to use USART3 or UART5 on my STM32F446 chip. We have the chip on a pcb, so I am not talking about the nucleo board. The issue is when I do the system_clock_config(), the listed uarts does not work. void init() ...

NGros by Associate III
  • 1806 Views
  • 5 replies
  • 0 kudos

Crack at the end of I2S tranmission via DMA on STM32L073

I'm running a STM32L073 to generate a sine wave tone via I2S in normal DMA mode. The amplifier is a MAX98357A. The MODE pin is connected to VDD so only left channel is considered. I2S runs at 48kHz and the uC clock source is internal. The output tone...

JSchu.5 by Associate II
  • 1299 Views
  • 1 replies
  • 0 kudos

How to reduce jitter in SPI (register mode)

Hi all, I am using register mode SPI for communication purposes, clock is 210Mhzinterrupt is for every 4khzinitialized SPI with HAL formatSPI data rate: 35MBpswhen I send data through SPI I can find some jitter inside it. But when I drive the same si...

Roshan by Associate III
  • 1072 Views
  • 4 replies
  • 0 kudos

Resolved! [STM32F412] SPI issue with MAX7219

I am trying to transmit through SPI to a MAX7219 chip on my STM32F412G-Discovery board. The system clock is running at 100 MHz. I am using a level shifter to handle the 3.3V -> 5V voltage changing. I have used this IC on an arduino so I do know it wo...

MB.2 by Associate III
  • 2261 Views
  • 8 replies
  • 1 kudos