STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 552 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
  • 1196 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
  • 610 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
  • 1476 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
  • 718 Views
  • 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
  • 452 Views
  • 1 replies
  • 0 kudos

UART in STM32-L432KC

This is regarding the UART1 and UART2. 1. I am trying to learn how UART works by communicating between STM32 and ESP32. I am able to send data from STM32 to ESP32 and it works. However, when I do the same from ESP32 to STM32, for some reason I cannot...

Abijith by Associate II
  • 1922 Views
  • 9 replies
  • 1 kudos