STM32 MCUs Products

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
  • 492 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
  • 901 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...

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
  • 596 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
  • 1264 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
  • 669 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
  • 1642 Views
  • 6 replies
  • 4 kudos