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

DFSDM STM32F413

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...

I2C Slave Address Set Problem

I'm trying to read data from my I2C sensor, the MLX90614 sensor, using a STM32F411CEU6. When I examined the MLX90614 datasheet, I saw that the I2C clock speed should be a maximum of 100kHz and I configured the clock accordingly. However, after the st...

Omerbzkt by Associate II
  • 854 Views
  • 3 replies
  • 0 kudos

UART2 VCP L432KC

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
  • 842 Views
  • 4 replies
  • 0 kudos

STM32H750VBT6 VREFBUF pin

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
  • 1604 Views
  • 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 Senior
  • 798 Views
  • 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
  • 2530 Views
  • 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
  • 962 Views
  • 3 replies
  • 2 kudos