STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...



while (1) { if (DmaRecHalfBuffCplt == 1) { /* Store values on Play buff */ for (int i = 0; i < 1024; i++) { PlayBuff[2 * i] = (int16_t) SaturaLH((RecBuff[i] >> 8), -32768, 32767); PlayBuff[(2 * i) + 1] = PlayBuff[2 * i]; } HAL_UART_Transmit_DMA(&huar...

Extraction of LSM303dlhc accelerometer data

Hi Sir/Madam,I want to implement a vibration detector using stm32f401vc discovery board which mainly consists of LSM303dlhc mems accelerometer sensor.The problem here is that when I am extracting the data from the sensor ,mostly the data is fluctuati...


while (1){/* USER CODE END WHILE */if (HAL_UART_Receive(&huart2, data, 10, 100) == HAL_OK) { HAL_GPIO_WritePin(GPIOB, GPIO_PIN_3, 1);HAL_Delay(200);HAL_GPIO_WritePin(GPIOB, GPIO_PIN_3, 0);HAL_Delay(200);}/* USER CODE BEGIN 3 */} This is my code to ch...

Abijith by Associate II
  • 4 replies
  • 0 kudos


Hello,I'm a bit confused to how use the VREFBUF on this MCU.I want to use the internal voltage reference (SCALE 0 : 2.5V) for better ADC accuracy.Do I have to connect the VREF+ pin (20) to AVDD (+3.3V) or I've to connect it to a 1uF + 100nF capacitor...

Run-STOP3 test app only works when running debugger

Hi,I have a test app for the U5, which is intended to sleep for a short period of time and wake for a short period time, not unlike the default PCC Sequence you can see in the CubeIDE IOC. It will toggle an output line when entering STOP3 mode and al...

EC.3 by Associate III
  • 5 replies
  • 0 kudos

SPI DMA Receive Index on external Interrupt

Hello, I have configured  SPI Slave Receive only with Circular DMA, and I can receive data fine. My problem is that I want to have the current receive index on the SPI DMA Buffer when I receive an external interrupt I try to use StreamIndex but it sh...

vbesson by Associate III
  • 3 replies
  • 0 kudos

Resolved! Expanding SRAM on STM32H723VGH6

Hi everyone,I'm a beginner, and this might be a basic question for many of you, but I appreciate your help nonetheless.I'm working on a project using the STM32H723VGH6 (due to size and design constraints, I can't use the ZG series) and I want to expa...

屏幕截图 2024-05-27 015513.png Screenshot 2024-05-28 011839.png sirin_0-1716830413695.png
sirin by Associate II
  • 6 replies
  • 4 kudos

stm32 GPIO Configuaration

I am using a pin to Switch on the power supply once the MCU is powered.When powering up the MCU I am getting a Glitch before it turns on the MC GPIO configuaration is given below. For every output I am getting a glich before it SET from RESET   Can a...

meena by Associate III
  • 3 replies
  • 2 kudos

Using BC1.2 in STM32G473CE

Hi,I want to use BC1.2 protocol of STM32G473CE MCU. But STM32G473CE supports USB PD also. So in order to use only BC1.2 can I use only Dp Dm lines of STM32G473CE and leave CC lines un-connectedAlso what is the maximum power negotiation performed by S...

PY.1 by Associate II
  • 1 replies
  • 0 kudos