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

Converting pins to GPIO_EXTI after startup

Hello all, I'm working on a custom PCB using the L072RZT6. I want to convert pins PB6 & PB7 from an I2C assignment to GPIO_EXTI during run time. Is that possible with HAL_I2C_DeInit?Currently, the board goes through the pre-generated startup process ...

D_Bell by Associate
  • 557 Views
  • 1 replies
  • 0 kudos

STM32F469 discovery usb mass storage

hello,  sd card write on f469 discovery is working. and now referring to msc_standalone example (which works alone), usbd_storage_if.c file is matched and usb mass storage selected from MX tool. But i cant see the drive coming. can i know steps have ...

GauravK by Senior
  • 1159 Views
  • 3 replies
  • 0 kudos

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
  • 780 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
  • 752 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
  • 1529 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
  • 748 Views
  • 3 replies
  • 0 kudos