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

Resolved! Write Flash memory over virtual Com Port (USB)

Hello, I am developing a dual processor application with a host (STM32F205xx) and a slave (Radio Module SoC). The idea is to update the wireless module's firmware from the PC via the virtual COM port.The firmware is temporarily stored in STM flash me...

Semiory_0-1694441426331.png
Semiory by Associate II
  • 1488 Views
  • 3 replies
  • 1 kudos

Resolved! STM32F411 Discovery board Blink LED program error simulink

I am trying to run the Getting started with stm32f4discovery project in matlab simulink. the code simple wont run. I tried multiple methods and answers however my error is always related to USB connection issues.  "Error while trying to establish USB...

RAMECC interrupt enable register (RAMECC_IER)

I am trying to test code which has been written to deal with RAMECC errors. The MPU is STM32H753 and I am working on a Nucleo-H753ZI board.The first problem was how to simulate a RAMECC error. I found the code at https://github.com/STMicroelectronics...

working.jpg notworking.jpg
KevinG by Associate II
  • 1391 Views
  • 3 replies
  • 0 kudos

Resolved! STM32U585 Cannot switch between SMPS and LDO power supplies

I am using the B-U585I-IOT02A discovery kit with the STM32U585AI chip.Using code generated by STM Cube.Attempting to configure use of the SMPS power supply results in a timeout in the  HAL_PWREx_ConfigSupply() function.In the sequence below, smps_mod...

JKahn.1 by Associate III
  • 3201 Views
  • 5 replies
  • 7 kudos

Resolved! ADC converted value error: bit truncation when using DMA

Hello.I encountered a truncation error issue while working on a grid-connected converter application with the STM32G474MET6 MCU. To manage multiple ADC channels, I opted for DMA to obtain 12-bit ADC converted values. However, I've noticed a bit trunc...

wronskian by Associate II
  • 2316 Views
  • 5 replies
  • 2 kudos

STM32L0 SPI communication with DMA, Slow CS

STM32L0 SPI communication with DMA. The SPI CS line is controlled with software. It appears to stay low for about 72uS when the communication only takes about 4uS. Right before setting the DMA to roll, I set the CS to 0. Nothing else is pending for t...

Dude by Associate III
  • 5758 Views
  • 13 replies
  • 0 kudos

Resolved! TIM4 counter stops when ADC1 DMA less than 3 channels used.

I know this is very weird behavior but it is quite easily reproduceable error. I am running Windows 11 on a laptop.CubeMX version : 6.9.1CubeIDE version : 1.13.1Board I am using is this. Looks like genuine STM32F103C8T6 chip.I could upload USB_DEVICE...

stm32.jpg stm32_setup.png adc.png
KYou.1 by Associate II
  • 1694 Views
  • 5 replies
  • 0 kudos

STM32L412 Internal Flash Write is not working

Hi ,I am preparing flash the binary using the USB in STM32L412.I checked STM32 USB DFU code. It is working only read. I couldn't write in the STMDFU application.I tried to write to flash ,But i am getting HAL_ERROR and read the FLASH SR register show...

Resolved! Flash RDP activate

Hello everyone, I have board and I used STM32G071 MCU on this board. I want to activate RDP Level 1. There is my code:   void SysCodeProtection( void ){FLASH_OBProgramInitTypeDef pOBInit = {0}; HAL_FLASHEx_OBGetConfig( &pOBInit ); if ( pOBInit.RDPLev...

RE11 by Associate II
  • 5876 Views
  • 11 replies
  • 2 kudos